Skip to content

Commit d9c4d83

Browse files
perf(ci): add tmpfs to wheel build runners
Mount /home/runner and /var/lib/docker in RAM for the maturin wheel builds. Uses r7 (memory-optimized) instances to handle the memory pressure from tmpfs + Rust compilation. Co-authored-by: Claude <noreply@anthropic.com>
1 parent a6c983c commit d9c4d83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.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=16cpu-linux-x64/extras=s3-cache
29+
runs-on: runs-on=${{ github.run_id }}/runner=16cpu-linux-x64/extras=s3-cache+tmpfs/family=r7
3030
steps:
3131
- uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2
3232
with:
@@ -139,7 +139,7 @@ jobs:
139139
python -m pytest -n 4 -m "not hypothesis"
140140
141141
build-wheels-free-threaded:
142-
runs-on: runs-on=${{ github.run_id }}/runner=16cpu-linux-x64/extras=s3-cache
142+
runs-on: runs-on=${{ github.run_id }}/runner=16cpu-linux-x64/extras=s3-cache+tmpfs/family=r7
143143
steps:
144144
- uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2
145145
with:

0 commit comments

Comments
 (0)