Skip to content

Commit a27d0f8

Browse files
committed
Use compute credits for macOS PRs
1 parent c76b649 commit a27d0f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cirrus.yml

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

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

0 commit comments

Comments
 (0)