Skip to content

Commit dfdc2e1

Browse files
authored
Merge pull request numpy#24786 from charris/use-compute-credits
MAINT: Activate ``use-compute-credits`` for Cirrus.
2 parents 2d2d856 + bcf318b commit dfdc2e1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tools/ci/cirrus_arm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ modified_clone: &MODIFIED_CLONE
2222
2323
2424
linux_aarch64_test_task:
25+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
2526
compute_engine_instance:
2627
image_project: cirrus-images
2728
image: family/docker-builder-arm64
@@ -66,6 +67,7 @@ linux_aarch64_test_task:
6667
6768
6869
macos_arm64_test_task:
70+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
6971
depends_on:
7072
- linux_aarch64_test
7173
macos_instance:

tools/ci/cirrus_wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS
1111
######################################################################
1212

1313
linux_aarch64_task:
14+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
1415
compute_engine_instance:
1516
image_project: cirrus-images
1617
image: family/docker-builder-arm64
@@ -52,6 +53,7 @@ linux_aarch64_task:
5253
######################################################################
5354

5455
macosx_arm64_task:
56+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
5557
macos_instance:
5658
image: ghcr.io/cirruslabs/macos-monterey-xcode:14
5759
matrix:
@@ -101,6 +103,7 @@ macosx_arm64_task:
101103
######################################################################
102104

103105
wheels_upload_task:
106+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
104107
# Artifacts don't seem to be persistent from task to task.
105108
# Rather than upload wheels at the end of each cibuildwheel run we do a
106109
# final upload here. This is because a run may be on different OS for

0 commit comments

Comments
 (0)