Use compute credits for macOS jobs

This commit is contained in:
Pieter Wuille 2022-11-15 13:30:12 -05:00
parent c0ae48c995
commit a8494b02bf
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,11 @@ env:
# Compile and run the tests # Compile and run the tests
EXAMPLES: yes 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 cat_logs_snippet: &CAT_LOGS
always: always:
cat_tests_log_script: cat_tests_log_script:
@ -132,6 +137,7 @@ task:
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
<< : *CREDITS
task: task:
name: "s390x (big-endian): Linux (Debian stable, QEMU)" name: "s390x (big-endian): Linux (Debian stable, QEMU)"