Skip to content

Commit

Permalink
TEMP: build all wheels on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Jun 18, 2024
1 parent 0c3121f commit 4d42620
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ jobs:
- ${{ startsWith(github.ref, 'refs/pull/') }}

exclude:
# Don't build macos wheels on PR CI.
- is_pr: true
os: "macos-12"
# TEMP: commented out for testing
# # Don't build macos wheels on PR CI.
# - is_pr: true
# os: "macos-12"
# Don't build aarch64 wheels on mac.
- os: "macos-12"
arch: aarch64
Expand Down Expand Up @@ -142,9 +143,10 @@ jobs:
if: matrix.arch == 'aarch64'
run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV

- name: Only build a single wheel on PR
if: startsWith(github.ref, 'refs/pull/')
run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV
# TEMP: commented out for testing
# - name: Only build a single wheel on PR
# if: startsWith(github.ref, 'refs/pull/')
# run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit 4d42620

Please sign in to comment.