Skip to content

Commit

Permalink
ci(sync-files): split build-and-test to daily and on push
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Jun 7, 2024
1 parent 565589c commit 098d147
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,20 @@
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:" \
" container-suffix:
- \"\"
- -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
Expand Down

0 comments on commit 098d147

Please sign in to comment.