Skip to content

Commit 1c5f786

Browse files
committed
Update workflows/main.yml
1 parent 7b6f9e7 commit 1c5f786

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ jobs:
2626
python --version
2727
python test.py
2828
29+
- name: Set up QEMU
30+
if: runner.os == 'Linux'
31+
uses: docker/setup-qemu-action@v2
32+
with:
33+
platforms: all
34+
35+
- name: Build wheels
36+
uses: pypa/cibuildwheel@v2.6.1
37+
env:
38+
CIBW_BUILD: "cp39-*"
39+
CIBW_ARCHS_LINUX: auto, aarch64
40+
2941
build_sdist:
3042
name: Build source distribution
3143
runs-on: ubuntu-latest
@@ -47,19 +59,6 @@ jobs:
4759
# alternatively, to publish when a GitHub Release is created, use the following rule:
4860
# if: github.event_name == 'release' && github.event.action == 'published'
4961
steps:
50-
- name: Set up QEMU
51-
if: runner.os == 'Linux'
52-
uses: docker/setup-qemu-action@v2
53-
with:
54-
platforms: all
55-
56-
- name: Build wheels
57-
uses: pypa/cibuildwheel@v2.6.1
58-
env:
59-
CIBW_BUILD: "cp39-*"
60-
CIBW_ARCHS_LINUX: auto, aarch64
61-
62-
6362
- uses: actions/upload-artifact@v2
6463
with:
6564
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)