Skip to content

Commit ecf01f4

Browse files
committed
ci: skip arm and noble if no worker is configured
1 parent 80f338c commit ecf01f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cirrus.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ task:
110110

111111
task:
112112
name: 'ARM, unit tests, no functional tests'
113+
# Skip if no ARM worker exists (for a fork)
113114
<< : *GLOBAL_TASK_TEMPLATE
115+
only_if: $NO_ARM != "true"
114116
persistent_worker:
115117
labels:
116118
type: arm64 # Use arm64 worker to sidestep qemu and avoid a slow CI: https://github.com/bitcoin/bitcoin/pull/28087#issuecomment-1649399453
@@ -165,11 +167,13 @@ task:
165167

166168
task:
167169
name: 'ASan + LSan + UBSan + integer, no depends, USDT'
170+
# Skip if no Noble worker exists (for a fork)
168171
enable_bpfcc_script:
169172
# In the image build step, no external environment variables are available,
170173
# so any settings will need to be written to the settings env file:
171174
- sed -i "s|\${CIRRUS_CI}|true|g" ./ci/test/00_setup_env_native_asan.sh
172175
<< : *GLOBAL_TASK_TEMPLATE
176+
only_if: $NO_NOBLE != "true"
173177
persistent_worker:
174178
labels:
175179
type: noble # Must use this specific worker (needed for USDT functional tests)

0 commit comments

Comments
 (0)