Skip to content

Commit 5eccb5f

Browse files
authored
ci: use native arm github runners (#1303)
1 parent 64ca5ed commit 5eccb5f

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [macos-latest, ubuntu-latest, windows-latest]
13+
os: [macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest]
1414
env:
1515
SCCACHE_VERSION: 0.2.13
1616
GITHUB_WORKSPACE: "${{github.workspace}}"
@@ -28,11 +28,6 @@ jobs:
2828
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2929
run: >-
3030
echo LIBCST_NO_LOCAL_SCHEME=1 >> $GITHUB_ENV
31-
- name: Set up QEMU
32-
if: runner.os == 'Linux'
33-
uses: docker/setup-qemu-action@v3
34-
with:
35-
platforms: all
3631
- name: Build wheels
3732
uses: pypa/cibuildwheel@v2.23.0
3833
- uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,7 @@ skip = [
9595
]
9696

9797
[tool.cibuildwheel.linux]
98-
archs = ["auto", "aarch64"]
99-
environment-pass = ["LIBCST_NO_LOCAL_SCHEME", "GITHUB_WORKSPACE"]
10098
before-all = "yum install -y libatomic; curl https://sh.rustup.rs -sSf | env -u CARGO_HOME sh -s -- --default-toolchain stable --profile minimal -y"
101-
before-build = [
102-
"rm -rf native/target",
103-
"ln -s /host/${GITHUB_WORKSPACE}/native/target native/target",
104-
"[ -d /host/${GITHUB_WORKSPACE}/native/target ] || mkdir /host/${GITHUB_WORKSPACE}/native/target",
105-
]
10699

107100
[tool.cibuildwheel.macos]
108101
before-all = "rustup target add aarch64-apple-darwin x86_64-apple-darwin"

0 commit comments

Comments
 (0)