TEMP: build all wheels on PRs for testing

This commit is contained in:
Quentin Gliech 2024-06-18 09:32:12 +02:00
parent 210e11e71a
commit d826726705
No known key found for this signature in database
GPG key ID: 22D62B84552719FC

View file

@ -110,15 +110,17 @@ jobs:
- ${{ startsWith(github.ref, 'refs/pull/') }} - ${{ startsWith(github.ref, 'refs/pull/') }}
exclude: exclude:
# Don't build macos wheels on PR CI. # TEMP: build all wheels for testing
- is_pr: true ## Don't build macos wheels on PR CI.
os: "macos-13" #- is_pr: true
# os: "macos-13"
# Don't build aarch64 wheels on mac. # Don't build aarch64 wheels on mac.
- os: "macos-13" - os: "macos-13"
arch: aarch64 arch: aarch64
# Don't build aarch64 wheels on PR CI. # TEMP: build all wheels for testing
- is_pr: true ## Don't build aarch64 wheels on PR CI.
arch: aarch64 #- is_pr: true
# arch: aarch64
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -136,9 +138,10 @@ jobs:
if: matrix.arch == 'aarch64' if: matrix.arch == 'aarch64'
run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV
- name: Only build a single wheel on PR # TEMP: build all wheels for testing
if: startsWith(github.ref, 'refs/pull/') #- name: Only build a single wheel on PR
run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV # if: startsWith(github.ref, 'refs/pull/')
# run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV
- name: Build wheels - name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse run: python -m cibuildwheel --output-dir wheelhouse