diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 5d46e7197cf03..89c8fece51a34 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -32,21 +32,24 @@ - 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 ' build-and-test:' ' build-and-test-daily:' {source} sd 'on:\n push:' 'on:' {source} + sd 'runs-on: ubuntu-latest' 'runs-on: [self-hosted, linux, X64]' {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} - dest: .github/workflows/build-and-test-daily.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 ' build-and-test:' ' build-and-test-daily-arm64:' {source} + sd 'on:\n push:' 'on:' {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:\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