forked from colesbury/nogil-wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 907 Bytes
/
kiwisolver.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
40
name: kiwisolver
on: [workflow_dispatch]
env:
VERSION: 1.4.4
CIBW_BUILD: nogil39-*
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: universal2
CIBW_ARCHS_WINDOWS: AMD64
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: python -m pytest {package}/py/tests -v
# Do not link against VC2014_1 on Windows
KIWI_DISABLE_FH4: 1
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-12]
steps:
- uses: actions/checkout@v3
with:
repository: 'nucleic/kiwi'
ref: ${{ env.VERSION }}
- name: Build wheels
uses: colesbury/cibuildwheel@nogil
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
upload_wheel:
needs: [build_wheels]
uses: ./.github/workflows/upload-wheel.yml
secrets: inherit