-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (38 loc) · 1.11 KB
/
build_arm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build ARM
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# - os: ubuntu-latest
# cibw_archs: "native"
- os: ubuntu-latest
cibw_archs: "aarch64"
# - os: windows-latest
# cibw_archs: "native ARM64"
# - os: macos-latest
# cibw_archs: "native arm64"
steps:
- name: Set up QEMU
if: matrix.cibw_archs == 'aarch64'
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: actions/checkout@v3
- uses: actions/[email protected]
name: Install Python
- name: Get submodules
run: git submodule update --init --recursive
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.cibw_archs }}
CIBW_SKIP: "pp*"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl