-
Notifications
You must be signed in to change notification settings - Fork 11
33 lines (28 loc) · 980 Bytes
/
cibuildwheel.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
name: Build and upload to PyPI
on:
pull_request:
release:
types:
- published
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14]
steps:
- uses: actions/checkout@v4
- name: Test against oldest supported numpy version
shell: bash
run: |
wget https://github.com/indygreg/python-build-standalone/releases/download/20240726/cpython-3.12.4+20240726-aarch64-apple-darwin-install_only_stripped.tar.gz
tar -xzvf cpython-3.12.4+20240726-aarch64-apple-darwin-install_only_stripped.tar.gz
./python/bin/pip install nlsam pytest
./python/bin/pytest --pyargs nlsam --verbose
tar -czvf nlsam_mac_arm64.tar.gz ./python
- uses: actions/upload-artifact@v4
with:
name: cibw-nlsam_${{ matrix.os }}
path: ./*.tar.gz