mirror of
https://github.com/element-hq/synapse
synced 2024-10-04 11:22:41 +00:00
TEMP: build all wheels on PRs for testing
This commit is contained in:
parent
210e11e71a
commit
d826726705
1 changed files with 12 additions and 9 deletions
21
.github/workflows/release-artifacts.yml
vendored
21
.github/workflows/release-artifacts.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue