-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3861f66
commit 626f7cf
Showing
1 changed file
with
31 additions
and
30 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 |
---|---|---|
|
@@ -80,39 +80,40 @@ jobs: | |
with: | ||
path: wheelhouse/*.whl | ||
|
||
build_wheels_mac: | ||
name: Wheels on Mac | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: pypa/[email protected] | ||
env: | ||
# CIBW_ARCHS_MACOS: auto universal2 | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
CIBW_SKIP: pp* cp36-* *-musllinux_x86_64 *_i686 | ||
CIBW_BEFORE_BUILD: > | ||
brew reinstall gcc && | ||
wget https://mirror.ibcp.fr/pub/gnu/gsl/gsl-2.7.1.tar.gz && | ||
tar -zxvf gsl-2.7.1.tar.gz && | ||
cd gsl-2.7.1 && | ||
./configure && | ||
make && | ||
make install && | ||
cd .. | ||
- name: Verify clean directory | ||
run: git diff --exit-code | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: wheelhouse/*.whl | ||
# build_wheels_mac: | ||
# name: Wheels on Mac | ||
# runs-on: macos-latest | ||
# strategy: | ||
# fail-fast: false | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# submodules: true | ||
# - uses: pypa/[email protected] | ||
# env: | ||
# # CIBW_ARCHS_MACOS: auto universal2 | ||
# CIBW_ARCHS_MACOS: x86_64 arm64 | ||
# CIBW_SKIP: pp* cp36-* *-musllinux_x86_64 *_i686 | ||
# CIBW_BEFORE_BUILD: > | ||
# brew reinstall gcc && | ||
# wget https://mirror.ibcp.fr/pub/gnu/gsl/gsl-2.7.1.tar.gz && | ||
# tar -zxvf gsl-2.7.1.tar.gz && | ||
# cd gsl-2.7.1 && | ||
# ./configure && | ||
# make && | ||
# make install && | ||
# cd .. | ||
# - name: Verify clean directory | ||
# run: git diff --exit-code | ||
# shell: bash | ||
# - uses: actions/upload-artifact@v3 | ||
# with: | ||
# path: wheelhouse/*.whl | ||
|
||
upload_all: | ||
name: Upload if release | ||
needs: [build_wheels_ubuntu, build_wheels_mac, build_sdist] | ||
# needs: [build_wheels_ubuntu, build_wheels_mac, build_sdist] | ||
needs: [build_wheels_ubuntu, build_sdist] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
steps: | ||
|