diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 5b60a371abd93..b75321596a90e 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -32,38 +32,25 @@ - repository: autowarefoundation/autoware_common files: - source: .github/workflows/build-and-test.yaml + dest: .github/workflows/build-and-test-daily.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 'runs-on: ubuntu-latest' 'runs-on: [self-hosted, linux, X64]' {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 + sd -- ' include:' ' container-suffix:\n - ""\n - -cuda\n include:' {source} + - source: .github/workflows/build-and-test.yaml + dest: .github/workflows/build-and-test-daily-arm64.yaml pre-commands: | + sd 'name: build-and-test' 'name: build-and-test-daily-arm64' {source} + sd 'on:\n push:' 'on:' {source} + sd ' build-and-test:' ' build-and-test-daily-arm64:' {source} + sd 'runs-on: ubuntu-latest' 'runs-on: [self-hosted, linux, ARM64]' {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} + sd -- ' include:' ' container-suffix:\n - ""\n - -cuda\n include:' {source} - source: .github/workflows/check-build-depends.yaml - source: .github/workflows/clang-tidy-pr-comments.yaml - source: .github/workflows/clang-tidy-pr-comments-manually.yaml