File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 2
2
linker = " aarch64-linux-musl-gcc"
3
3
rustflags = [" -C" , " target-feature=-crt-static" ]
4
4
[target .x86_64-pc-windows-msvc ]
5
- rustflags = [" -C" , " target-feature=+crt-static" ]
6
- [target .armv7-unknown-linux-gnueabihf ]
7
- linker = " arm-linux-gnueabihf-gcc"
5
+ rustflags = [" -C" , " target-feature=+crt-static" ]
Original file line number Diff line number Diff line change 92
92
yarn build --target aarch64-unknown-linux-gnu
93
93
- host : ubuntu-latest
94
94
target : armv7-unknown-linux-gnueabihf
95
- build : yarn build --target armv7-unknown-linux-gnueabihf
95
+ setup : |
96
+ sudo apt-get update
97
+ sudo apt-get install gcc-arm-linux-gnueabihf -y
98
+ build : |
99
+ yarn build --target armv7-unknown-linux-gnueabihf
96
100
- host : ubuntu-latest
97
101
target : aarch64-linux-android
98
102
build : yarn build --target aarch64-linux-android
@@ -156,10 +160,6 @@ jobs:
156
160
with :
157
161
node-version : 22
158
162
cache : yarn
159
- - name : Setup Zig
160
- uses : goto-bus-stop/setup-zig@v2
161
- with :
162
- version : 0.11.0
163
163
- name : Install NASM
164
164
if : runner.os == 'Windows'
165
165
run : choco install nasm
@@ -179,6 +179,10 @@ jobs:
179
179
.cargo-cache
180
180
target/
181
181
key : ${{ matrix.settings.target }}-cargo-${{ matrix.settings.host }}
182
+ - uses : goto-bus-stop/setup-zig@v2
183
+ if : ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }}
184
+ with :
185
+ version : 0.14.0
182
186
- name : Setup toolchain
183
187
run : ${{ matrix.settings.setup }}
184
188
if : ${{ matrix.settings.setup }}
You can’t perform that action at this time.
0 commit comments