-
-
Notifications
You must be signed in to change notification settings - Fork 273
35 lines (35 loc) · 894 Bytes
/
test.yaml
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
name: test
on:
push:
branches:
- main
- master
- bugfix/*
- feature/*
jobs:
bdist:
name: build bdist wheels and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-11, windows-2019]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all
# macOS make is too old
- if: runner.os == 'macOS'
run: brew install make
- name: Build
uses: pypa/cibuildwheel@v2.12.0
env:
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
CIBW_ARCHS_LINUX: auto aarch64
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl