From 2b5feb3bbee61acea48a54f41c2e2d1cdf49f243 Mon Sep 17 00:00:00 2001 From: Abel Carreras Date: Thu, 7 Nov 2024 10:28:38 +0100 Subject: [PATCH] add compatibility with simpson scipy function --- .github/workflows/python-publish.yml | 29 +++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bf65581..5fc2c47 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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