Skip to content

Commit

Permalink
Try25
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaurenti committed Nov 10, 2023
1 parent 3861f66 commit 626f7cf
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 626f7cf

Please sign in to comment.