Skip to content

Commit

Permalink
Change the cpp-linux-arm64 job to run only when merging to develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Oct 16, 2024
1 parent c4a5846 commit 992691c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
needs: cpp-linters
runs-on: [self-hosted, ARM64, Linux]
container: python:3.11
# Run only on master (until we have a GitHub-hosted runner for Linux/ARM64)
if: github.ref == 'refs/heads/master'
# Run only when merging to develop (until we have a GitHub-hosted runner for Linux/ARM64)
if: github.ref == 'refs/heads/develop'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -323,13 +323,13 @@ jobs:
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
|| (
github.ref != 'refs/heads/master'
github.ref != 'refs/heads/develop'
&& contains(needs.*.result, 'skipped')
&& !contains(needs.cpp-linux-arm64.result, 'skipped')
)
||
(
github.ref == 'refs/heads/master'
github.ref == 'refs/heads/develop'
&& contains(needs.*.result, 'skipped')
)
}}
Expand Down

0 comments on commit 992691c

Please sign in to comment.