Skip to content

Commit a8494b0

Browse files
committed
Use compute credits for macOS jobs
1 parent c0ae48c commit a8494b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cirrus.yml

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ env:
2626
# Compile and run the tests
2727
EXAMPLES: yes
2828

29+
# https://cirrus-ci.org/pricing/#compute-credits
30+
# Only use credits for pull requests to the main repo
31+
credits_snippet: &CREDITS
32+
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin-core/secp256k1' && $CIRRUS_PR != ""
33+
2934
cat_logs_snippet: &CAT_LOGS
3035
always:
3136
cat_tests_log_script:
@@ -132,6 +137,7 @@ task:
132137
test_script:
133138
- ./ci/cirrus.sh
134139
<< : *CAT_LOGS
140+
<< : *CREDITS
135141

136142
task:
137143
name: "s390x (big-endian): Linux (Debian stable, QEMU)"

0 commit comments

Comments
 (0)