forked from astropy/halotools
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (30 loc) · 1.06 KB
/
Copy pathwheels.yaml
File metadata and controls
37 lines (30 loc) · 1.06 KB
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 wheels
on:
workflow_dispatch:
release:
types:
- published
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-13, macos-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# Used to host cibuildwheel
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.10.0
- name: Build wheels
# uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: pip install numpy>=2 Cython extension-helpers
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.11"
CIBW_SKIP: pp*
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl