@@ -156,6 +156,67 @@ jobs:
156
156
name : bindings-win32-i686
157
157
path : packages/*/*.node
158
158
159
+ build-windows-aarch64 :
160
+ if : " !contains(github.event.head_commit.message, 'skip ci')"
161
+ name : stable - windows-aarch64 - node@14
162
+ runs-on : windows-latest
163
+ steps :
164
+ - uses : actions/checkout@v2
165
+
166
+ - name : Setup node
167
+ uses : actions/setup-node@v2-beta
168
+ with :
169
+ node-version : 14
170
+ check-latest : true
171
+
172
+ - name : Cache NPM dependencies
173
+ uses : actions/cache@v1
174
+ with :
175
+ path : node_modules
176
+ key : npm-cache-windows-aarch64-node@lts-${{ hashFiles('yarn.lock') }}
177
+
178
+ - name : Install dependencies
179
+ run : yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
180
+
181
+ - name : Build TypeScript
182
+ run : yarn build:ts
183
+
184
+ - name : Install
185
+ uses : actions-rs/toolchain@v1
186
+ with :
187
+ toolchain : stable
188
+ profile : minimal
189
+ override : true
190
+
191
+ - name : Install aarch64 toolchain
192
+ run : rustup target add aarch64-pc-windows-msvc
193
+
194
+ - name : Generate Cargo.lock
195
+ uses : actions-rs/cargo@v1
196
+ with :
197
+ command : generate-lockfile
198
+
199
+ - name : Cache cargo registry
200
+ uses : actions/cache@v1
201
+ with :
202
+ path : ~/.cargo/registry
203
+ key : stable-windows-aarch64-node@lts-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
204
+
205
+ - name : Cache cargo index
206
+ uses : actions/cache@v1
207
+ with :
208
+ path : ~/.cargo/git
209
+ key : stable-windows-aarch64-node@lts-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
210
+
211
+ - name : Run build
212
+ run : npx lerna exec "yarn build --target aarch64-pc-windows-msvc" --concurrency 1 --stream --no-prefix
213
+
214
+ - name : Upload artifact
215
+ uses : actions/upload-artifact@v2
216
+ with :
217
+ name : bindings-win32-aarch64
218
+ path : packages/*/*.node
219
+
159
220
build-musl :
160
221
if : " !contains(github.event.head_commit.message, 'skip ci')"
161
222
name : stable - linux-musl - node@lts
@@ -718,6 +779,7 @@ jobs:
718
779
- build-windows-i686
719
780
- build-linux-aarch64-musl
720
781
- build-freebsd
782
+ - build-windows-aarch64
721
783
steps :
722
784
- uses : actions/checkout@v2
723
785
0 commit comments