-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Fixes: Build arm64 wheels for macos, more robust build isolatio…
…n for numpy (#69) * more robust min numpy version, arm64 wheel * yaml syntax * skip 32 bit architectures * add missing asterisk
- Loading branch information
Showing
2 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-10.15, windows-latest] | ||
os: [ubuntu-latest, macos-11, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.8' | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -25,16 +25,12 @@ jobs: | |
pip install flake8 pytest | ||
pip install -r requirements.txt | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.3.0 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: "cp37* cp38* cp39*" | ||
CIBW_SKIP: "*musllinux*" | ||
CIBW_BUILD: "cp38* cp39* cp310* cp311*" | ||
CIBW_SKIP: "*-win32 *-manylinux_i686 *-musllinux*" | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -49,7 +45,7 @@ jobs: | |
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.7' | ||
python-version: '3.8' | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters