File tree 1 file changed +29
-3
lines changed
1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,26 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v3
20
20
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
+
21
37
- name : Build wheels
22
38
23
39
env :
24
- CIBW_ARCHS_LINUX : x86_64
40
+ CIBW_ARCHS_LINUX : auto aarch64
25
41
CIBW_ARCHS_MACOS : x86_64
26
42
CIBW_ARCHS_WINDOWS : AMD64
27
43
CIBW_PROJECT_REQUIRES_PYTHON : " >=3.8"
44
60
steps :
45
61
- uses : actions/checkout@v3
46
62
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
+
47
73
- name : Build wheels
48
74
49
75
env :
55
81
56
82
- name : Fix wheel tags
57
83
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
60
86
61
87
- uses : actions/upload-artifact@v3
62
88
with :
You can’t perform that action at this time.
0 commit comments