|
6 | 6 | runs-on: ${{ matrix.os }} |
7 | 7 | strategy: |
8 | 8 | 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" |
11 | 18 |
|
12 | 19 | 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 | + |
| 27 | + name: Install Python |
| 28 | + - name: Get submodules |
| 29 | + run: git submodule update --init --recursive |
15 | 30 | - name: Build wheels |
16 | 31 | |
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 | | - |
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