@@ -123,9 +123,13 @@ jobs:
123123 settings :
124124 - host : macos-13
125125 target : x86_64-apple-darwin
126+ setup : |-
127+ rustup target add aarch64-apple-darwin
126128 build : |
127129 pnpm nx run-many --target=build-native -- --target=x86_64-apple-darwin
128130 - host : windows-latest
131+ setup : |-
132+ rustup target add aarch64-pc-windows-msvc
129133 build : pnpm nx run-many --target=build-native -- --target=x86_64-pc-windows-msvc
130134 target : x86_64-pc-windows-msvc
131135 # Windows 32bit (not needed)
@@ -141,6 +145,7 @@ jobs:
141145 npm i -g pnpm@9.8.0 --force &&
142146 pnpm --version &&
143147 pnpm install --frozen-lockfile &&
148+ rustup target add aarch64-unknown-linux-gnu &&
144149 pnpm nx run-many --verbose --target=build-native -- --target=x86_64-unknown-linux-gnu
145150 - host : ubuntu-latest
146151 target : x86_64-unknown-linux-musl
@@ -150,9 +155,12 @@ jobs:
150155 npm i -g pnpm@9.8.0 --force &&
151156 pnpm --version &&
152157 pnpm install --frozen-lockfile &&
158+ rustup target add x86_64-unknown-linux-musl &&
153159 pnpm nx run-many --verbose --target=build-native -- --target=x86_64-unknown-linux-musl
154160 - host : macos-13
155161 target : aarch64-apple-darwin
162+ setup : |-
163+ rustup target add aarch64-apple-darwin
156164 build : |
157165 sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
158166 export CC=$(xcrun -f clang);
@@ -168,12 +176,14 @@ jobs:
168176 npm i -g pnpm@9.8.0 --force &&
169177 pnpm --version &&
170178 pnpm install --frozen-lockfile &&
179+ rustup target add aarch64-unknown-linux-gnu &&
171180 pnpm nx run-many --verbose --target=build-native -- --target=aarch64-unknown-linux-gnu
172181 - host : ubuntu-latest
173182 target : armv7-unknown-linux-gnueabihf
174183 setup : |
175184 sudo apt-get update
176185 sudo apt-get install gcc-arm-linux-gnueabihf -y
186+ rustup target add armv7-unknown-linux-gnueabihf
177187 build : |
178188 CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=/usr/bin/arm-linux-gnueabihf-gcc pnpm nx run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
179189 # Android (not needed)
@@ -197,6 +207,8 @@ jobs:
197207 pnpm nx run-many --verbose --target=build-native -- --target=aarch64-unknown-linux-musl
198208 - host : windows-latest
199209 target : aarch64-pc-windows-msvc
210+ setup : |-
211+ rustup target add aarch64-pc-windows-msvc
200212 build : pnpm nx run-many --target=build-native -- --target=aarch64-pc-windows-msvc
201213 name : stable - ${{ matrix.settings.target }} - node@18
202214 runs-on : ${{ matrix.settings.host }}
0 commit comments