Skip to content

Commit

Permalink
Use compute credits for macOS jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Nov 17, 2022
1 parent c0ae48c commit a8494b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ env:
# Compile and run the tests
EXAMPLES: yes

# https://cirrus-ci.org/pricing/#compute-credits
# Only use credits for pull requests to the main repo
credits_snippet: &CREDITS
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin-core/secp256k1' && $CIRRUS_PR != ""

cat_logs_snippet: &CAT_LOGS
always:
cat_tests_log_script:
Expand Down Expand Up @@ -132,6 +137,7 @@ task:
test_script:
- ./ci/cirrus.sh
<< : *CAT_LOGS
<< : *CREDITS

task:
name: "s390x (big-endian): Linux (Debian stable, QEMU)"
Expand Down

0 comments on commit a8494b0

Please sign in to comment.