Skip to content

Commit 20ccb59

Browse files
chore(ci): bump Rust/maturin build jobs to 8cpu runners
Cargo and maturin parallelize compilation across crates in the dependency graph, so these jobs benefit from more cores. Bumps wheel builds, rust-ci, code-quality, and publish jobs from 4cpu to 8cpu. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 48a0f30 commit 20ccb59

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

.github/workflows/code-quality.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
code-quality:
2727
name: Code Quality
2828
timeout-minutes: 15
29-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
29+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
3030

3131
steps:
3232
- name: Checkout repository

.github/workflows/publish-rust-library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
publish:
1919
name: Check and publish
20-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
20+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
2121

2222
steps:
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

.github/workflows/python-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defaults:
2626

2727
jobs:
2828
build-wheels:
29-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
29+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
3030
steps:
3131
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3232
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
@@ -135,7 +135,7 @@ jobs:
135135
python -m pytest -n 4 -m "not hypothesis"
136136
137137
build-wheels-free-threaded:
138-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
138+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
139139
steps:
140140
- uses: actions/checkout@v6
141141
- uses: actions/setup-python@v6

.github/workflows/python-ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ jobs:
133133
# Note: fromJSON converts JSON string to array since GH Actions doesn't support array literals in expressions
134134
branch: ${{ github.event_name == 'schedule' && fromJSON('["main", "support/v1.x"]') || fromJSON(format('["{0}"]', inputs.branch)) }}
135135
platform:
136-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
136+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
137137
target: x86_64
138138
manylinux: auto
139-
# - runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
139+
# - runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
140140
# target: x86
141-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
141+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
142142
target: aarch64
143143
manylinux: 2_28
144-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
144+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
145145
target: armv7
146146
manylinux: 2_28
147147
steps:
@@ -190,13 +190,13 @@ jobs:
190190
matrix:
191191
branch: ${{ github.event_name == 'schedule' && fromJSON('["main", "support/v1.x"]') || fromJSON(format('["{0}"]', inputs.branch)) }}
192192
platform:
193-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
193+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
194194
target: x86_64
195-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
195+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
196196
target: x86
197-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
197+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
198198
target: aarch64
199-
- runner: "runs-on=${{ github.run_id }}/runner=4cpu-linux-x64"
199+
- runner: "runs-on=${{ github.run_id }}/runner=8cpu-linux-x64"
200200
target: armv7
201201
steps:
202202
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

.github/workflows/python-upstream.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ defaults:
3030
jobs:
3131
build:
3232
name: upstream-dev
33-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
33+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
3434
continue-on-error: true
3535
if: ${{
3636
(contains(github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request')
@@ -248,7 +248,7 @@ jobs:
248248

249249
xarray-backends:
250250
name: xarray-tests-upstream
251-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
251+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
252252
if: ${{
253253
(contains(github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request')
254254
|| github.event_name == 'workflow_dispatch'

.github/workflows/rust-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
os: ["runs-on=${{ github.run_id }}/runner=4cpu-linux-x64", ubuntu-24.04-arm, macos-15-intel, macos-latest]
47+
os: ["runs-on=${{ github.run_id }}/runner=8cpu-linux-x64", ubuntu-24.04-arm, macos-15-intel, macos-latest]
4848

4949
steps:
5050
- name: Checkout repository
@@ -189,7 +189,7 @@ jobs:
189189
wasm-build:
190190
name: WASM Build
191191
timeout-minutes: 15
192-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
192+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
193193
defaults:
194194
run:
195195
working-directory: ./

.github/workflows/rust-upstream.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
jobs:
3131
zarrs:
3232
name: zarrs-upstream
33-
runs-on: runs-on=${{ github.run_id }}/runner=4cpu-linux-x64
33+
runs-on: runs-on=${{ github.run_id }}/runner=8cpu-linux-x64
3434
continue-on-error: true
3535
if: ${{
3636
(contains(github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request')

0 commit comments

Comments
 (0)