-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1.01 KB
/
wheels.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
name: Build and test all wheels
on:
push:
branches:
master
jobs:
build_wheels:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
runs-on: ${{ matrix.os }}
name: build and test wheels on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_PRERELEASE_PYTHONS: False
CIBW_SKIP: "cp36* cp313-* pp*"
CIBW_BUILD_FRONTEND: "build"
CIBW_BEFORE_BUILD: pip install numpy>=1.14 pybind11>=2.2
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest -v {project}"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "AMD64"
- name: upload wheel artifacts temporarily
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
retention-days: 1