Skip to content

Commit

Permalink
add compatibility with simpson scipy function
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Nov 7, 2024
1 parent a4a9d3c commit 2b5feb3
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,37 @@ jobs:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: [ test_code ]
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/test_wheels'
if: github.ref == 'refs/heads/master'
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macos-13]
os: [ ubuntu-latest, windows-2019, macos-13 ]
#os: [macos-10.15, windows-2019]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v3

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.17.0

- name: Build wheels
uses: pypa/cibuildwheel@v2.4.0
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: pip install numpy==1.19.5
CIBW_BEFORE_BUILD: pip install numpy==1.19.5 setuptools
CIBW_BUILD: cp38-*

- name: Build wheels
uses: pypa/cibuildwheel@v2.4.0
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: pip install numpy==1.21.6 setuptools
CIBW_BUILD: cp310-* cp311-*
CIBW_ARCHS_MACOS: x86_64 universal2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: pip install numpy==1.21.6
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*
CIBW_BEFORE_BUILD: pip install numpy setuptools
CIBW_BUILD: cp311-*
CIBW_ARCHS_MACOS: x86_64 universal2

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2b5feb3

Please sign in to comment.