Skip to content

Commit

Permalink
Use compute credits for macOS PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Nov 15, 2022
1 parent 32d3faf commit 6ffe461
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

compute_credits_template: &CREDITS_TEMPLATE
# https://cirrus-ci.org/pricing/#compute-credits
# Only use credits for pull requests to the main repo
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 @@ -128,6 +133,7 @@ task:
brew_script:
- brew install automake libtool gcc
<< : *MERGE_BASE
<< : *CREDITS_TEMPLATE
test_script:
- ./ci/cirrus.sh
<< : *CAT_LOGS
Expand Down

0 comments on commit 6ffe461

Please sign in to comment.