File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,26 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v3
2020
21+ - name : Set up rust
22+ uses : dtolnay/rust-toolchain@stable
23+ with :
24+ toolchain : stable
25+
26+ - name : Setup Rust cache
27+ uses : Swatinem/rust-cache@v2
28+ with :
29+ key : ${{ matrix.os }}
30+
31+ - name : Set up QEMU
32+ if : runner.os == 'Linux'
33+ uses : docker/setup-qemu-action@v2
34+ with :
35+ platforms : all
36+
2137 - name : Build wheels
2238 uses : pypa/cibuildwheel@v2.12.1
2339 env :
24- CIBW_ARCHS_LINUX : x86_64
40+ CIBW_ARCHS_LINUX : auto aarch64
2541 CIBW_ARCHS_MACOS : x86_64
2642 CIBW_ARCHS_WINDOWS : AMD64
2743 CIBW_PROJECT_REQUIRES_PYTHON : " >=3.8"
4460 steps :
4561 - uses : actions/checkout@v3
4662
63+ - name : Set up rust
64+ uses : dtolnay/rust-toolchain@stable
65+ with :
66+ toolchain : stable
67+
68+ - name : Setup Rust cache
69+ uses : Swatinem/rust-cache@v2
70+ with :
71+ key : ${{ matrix.os }}
72+
4773 - name : Build wheels
4874 uses : pypa/cibuildwheel@v2.12.1
4975 env :
5581
5682 - name : Fix wheel tags
5783 run : |
58- pip install wheel==0.40
59- wheel tags --platform-tag macosx_12_0_arm64 dist/*-macosx*.whl --remove
84+ python3 -m pip install wheel
85+ python3 -m wheel tags --platform-tag macosx_12_0_arm64 dist/*-macosx*.whl --remove
6086
6187 - uses : actions/upload-artifact@v3
6288 with :
You can’t perform that action at this time.
0 commit comments