-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skip non-native builds when not publishing a release
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,9 +100,9 @@ jobs: | |
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Build aarch64? | ||
- name: Build aarch64 and armv7l? | ||
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' | ||
run: echo "BUILD_ARCH=aarch64 ${{ env.BUILD_ARCH }}" >> $GITHUB_ENV | ||
run: echo "BUILD_ARCH=aarch64 armv7l ${{ env.BUILD_ARCH }}" >> $GITHUB_ENV | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
@@ -111,7 +111,7 @@ jobs: | |
- name: Build binary wheels with cibuildwheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: aarch64 native armv7l | ||
CIBW_ARCHS_LINUX: ${{ env.BUILD_ARCH }} | ||
CIBW_SKIP: cp36* pp* *ppc64le *s390x | ||
|
||
- name: Move cross-compiled wheels to dist folder | ||
|