-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (34 loc) · 957 Bytes
/
contourpy.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
41
42
# See https://github.com/contourpy/contourpy/blob/main/.github/workflows/build_wheels.yml
name: contourpy
on: [workflow_dispatch]
env:
VERSION: 1.1.1
CIBW_BUILD: nogil39-*
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: AMD64
# Tests requires Python 3.10
CIBW_TEST_SKIP: "*"
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
# os: [ubuntu-20.04, windows-2019, macos-12]
steps:
- uses: actions/checkout@v3
with:
repository: 'contourpy/contourpy'
ref: v${{ 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