From 098d14727731f448a7e2b40ca9ceb64c1e9c8889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 7 Jun 2024 13:04:21 +0300 Subject: [PATCH] ci(sync-files): split build-and-test to daily and on push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 5b60a371abd93..5d46e7197cf03 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -33,30 +33,10 @@ files: - source: .github/workflows/build-and-test.yaml pre-commands: | + sd 'name: build-and-test' 'name: build-and-test-daily' {source} + sd 'on:\n push:' 'on:' {source} + sd ' build-and-test:' ' build-and-test-daily:' {source} sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source} - - sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source} - sd -- \ - " include:" \ - " container-suffix: - - \"\" - - -cuda - include:" {source} - - source: .github/workflows/build-and-test-differential-self-hosted.yaml - pre-commands: | - sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source} - - sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source} - sd -- \ - " include:" \ - " container-suffix: - - \"\" - - -cuda - include:" {source} - - source: .github/workflows/build-and-test-self-hosted.yaml - pre-commands: | - sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source} - sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source} sd -- \ " include:" \ @@ -64,6 +44,9 @@ - \"\" - -cuda include:" {source} + dest: .github/workflows/build-and-test-daily.yaml + - source: .github/workflows/build-and-test.yaml + dest: .github/workflows/build-and-test-daily-arm64.yaml - source: .github/workflows/check-build-depends.yaml - source: .github/workflows/clang-tidy-pr-comments.yaml - source: .github/workflows/clang-tidy-pr-comments-manually.yaml