Skip to content

Commit

Permalink
Update cibuildwheel to v2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed Aug 26, 2023
1 parent 164acc8 commit e19e684
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: python3 dev/updatelib.py

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_ARCHS_LINUX: ${{ env.CIBW_ARCHS_LINUX }}
CIBW_ARCHS_MACOS: ${{ env.CIBW_ARCHS_MACOS }}
Expand All @@ -37,7 +37,7 @@ jobs:
path: ./wheelhouse/*.whl

build_with_qemu:
if: github.ref == 'refs/heads/release'
#if: github.ref == 'refs/heads/release'
name: Build ${{ matrix.build }} wheels for ${{ matrix.arch }}
#needs: build_native
strategy:
Expand All @@ -57,7 +57,7 @@ jobs:
run: python3 dev/updatelib.py

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_ARCHS_MACOS: ${{ env.CIBW_ARCHS_MACOS }}
Expand Down
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ stages:
python dev/updatelib.py
python -m pip install --upgrade cibuildwheel==1.12.0
CIBW_BUILD="cp35-*" cibuildwheel --platform linux --output-dir wheelhouse .
python -m pip install --upgrade cibuildwheel==2.12.0
python -m pip install --upgrade cibuildwheel==2.15.0
cibuildwheel --platform linux --output-dir wheelhouse .
displayName: Build wheels
- task: PublishBuildArtifacts@1
Expand All @@ -49,7 +49,7 @@ stages:
python dev/updatelib.py
# python -m pip install --upgrade cibuildwheel==1.12.0
# CIBW_BUILD="cp35-*" cibuildwheel --platform macos --output-dir wheelhouse .
python -m pip install --upgrade cibuildwheel==2.12.0
python -m pip install --upgrade cibuildwheel==2.15.0
cibuildwheel --platform macos --output-dir wheelhouse .
displayName: Build wheels
- task: PublishBuildArtifacts@1
Expand All @@ -63,7 +63,7 @@ stages:
python dev/updatelib.py
python -m pip install --upgrade cibuildwheel==1.12.0
CIBW_BUILD="cp35-*" cibuildwheel --platform windows --output-dir wheelhouse .
python -m pip install --upgrade cibuildwheel==2.12.0
python -m pip install --upgrade cibuildwheel==2.15.0
cibuildwheel --platform windows --output-dir wheelhouse .
displayName: Build wheels
- task: PublishBuildArtifacts@1
Expand Down Expand Up @@ -94,6 +94,9 @@ stages:
aarch64 cp311:
CIBW_BUILD: cp311-*
CIBW_ARCHS_LINUX: aarch64
aarch64 cp312:
CIBW_BUILD: cp312-*
CIBW_ARCHS_LINUX: aarch64
ppc64le cp36:
CIBW_BUILD: cp36-*
CIBW_ARCHS_LINUX: ppc64le
Expand All @@ -112,6 +115,9 @@ stages:
ppc64le cp311:
CIBW_BUILD: cp311-*
CIBW_ARCHS_LINUX: ppc64le
ppc64le cp312:
CIBW_BUILD: cp312-*
CIBW_ARCHS_LINUX: ppc64le
variables:
CIBW_TEST_REQUIRES: --index-url https://pypi.ampl.com --extra-index-url https://pypi.org/simple ampl_module_base
steps:
Expand All @@ -121,7 +127,7 @@ stages:
- bash: |
set -ex
python dev/updatelib.py
python -m pip install --upgrade cibuildwheel==2.12.0
python -m pip install --upgrade cibuildwheel==2.15.0
cibuildwheel --platform linux --output-dir wheelhouse .
displayName: Build wheels
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit e19e684

Please sign in to comment.