Skip to content

Commit

Permalink
ci: skip arm if no worker is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Jun 21, 2024
1 parent 95b97e5 commit da7d534
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ env: # Global defaults
# by installing qemu-user-static, which works out of the box with
# podman or docker. Background: https://stackoverflow.com/a/72890225/313633
#
# Alternatively arm tasks can be skipped by setting NO_ARM=1 as a custom env
# variable in Cirrus.
#
# The above machine types are matched to each task by their label. Refer to the
# Cirrus CI docs for more details.
#
Expand Down Expand Up @@ -126,7 +129,9 @@ task:

task:
name: 'ARM, unit tests, no functional tests'
# Skip if no ARM worker exists (for a fork)
<< : *GLOBAL_TASK_TEMPLATE
skip: $NO_ARM == "true"
persistent_worker:
labels:
type: arm64 # Use arm64 worker to sidestep qemu and avoid a slow CI: https://github.com/bitcoin/bitcoin/pull/28087#issuecomment-1649399453
Expand Down

0 comments on commit da7d534

Please sign in to comment.