Skip to content

Commit 4003d45

Browse files
authored
Update build_arm.yml
1 parent bccdde3 commit 4003d45

File tree

1 file changed

+27
-37
lines changed

1 file changed

+27
-37
lines changed

.github/workflows/build_arm.yml

Lines changed: 27 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,34 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
# macos-13 is an intel runner, macos-14 is apple silicon
10-
os: [macos-14]
9+
include:
10+
# - os: ubuntu-latest
11+
# cibw_archs: "native"
12+
- os: ubuntu-latest
13+
cibw_archs: "aarch64"
14+
# - os: windows-latest
15+
# cibw_archs: "native ARM64"
16+
# - os: macos-latest
17+
# cibw_archs: "native arm64"
1118

1219
steps:
13-
- uses: actions/checkout@v4
14-
20+
- name: Set up QEMU
21+
if: matrix.cibw_archs == 'aarch64'
22+
uses: docker/setup-qemu-action@v2
23+
with:
24+
platforms: arm64
25+
- uses: actions/checkout@v3
26+
- uses: actions/[email protected]
27+
name: Install Python
28+
- name: Get submodules
29+
run: git submodule update --init --recursive
1530
- name: Build wheels
1631
uses: pypa/[email protected]
17-
# jobs:
18-
# build_wheels:
19-
# name: Build wheels on ${{ matrix.os }}
20-
# runs-on: ${{ matrix.os }}
21-
# strategy:
22-
# matrix:
23-
# include:
24-
# # - os: ubuntu-latest
25-
# # cibw_archs: "native"
26-
# - os: ubuntu-latest
27-
# cibw_archs: "aarch64"
28-
# # - os: windows-latest
29-
# # cibw_archs: "native ARM64"
30-
# # - os: macos-latest
31-
# # cibw_archs: "native arm64"
32-
33-
# steps:
34-
# - name: Set up QEMU
35-
# if: matrix.cibw_archs == 'aarch64'
36-
# uses: docker/setup-qemu-action@v2
37-
# with:
38-
# platforms: arm64
39-
# - uses: actions/checkout@v3
40-
# - name: Build wheels
41-
# uses: pypa/[email protected]
42-
# env:
43-
# CIBW_ARCHS: ${{ matrix.cibw_archs }}
44-
# CIBW_SKIP: "pp*"
45-
# CIBW_TEST_REQUIRES: pytest
46-
# CIBW_TEST_COMMAND: pytest {package}
47-
# - uses: actions/upload-artifact@v3
48-
# with:
49-
# path: ./wheelhouse/*.whl
32+
env:
33+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
34+
CIBW_SKIP: "pp*"
35+
CIBW_TEST_REQUIRES: pytest
36+
CIBW_TEST_COMMAND: pytest {package}
37+
- uses: actions/upload-artifact@v3
38+
with:
39+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)