@@ -58,12 +58,12 @@ jobs:
58
58
59
59
if : steps.release_exists.outputs.id != ''
60
60
61
- - name : Commit + Push
62
- id : commit
63
-
64
- with :
65
- default_author : github_actions
66
- message : Bumping version to v${{ steps.which_version.outputs.version }} [skip ci]
61
+ # - name: Commit + Push
62
+ # id: commit
63
+
64
+ # with:
65
+ # default_author: github_actions
66
+ # message: Bumping version to v${{ steps.which_version.outputs.version }} [skip ci]
67
67
68
68
build_macos :
69
69
if : github.repository_owner == 'viamrobotics'
@@ -236,8 +236,43 @@ jobs:
236
236
name : builds-${{ matrix.platform }}
237
237
path : builds/*
238
238
239
+ build_windows_arm :
240
+ if : github.repository_owner == 'viamrobotics'
241
+ needs : [prepare]
242
+ runs-on : windows-latest-arm
243
+ strategy :
244
+ fail-fast : true
245
+ matrix :
246
+ include :
247
+ - target : aarch64-pc-windows-gnullvm
248
+ platform : windows_arm64
249
+ steps :
250
+ - name : Checkout Code
251
+ uses : actions/checkout@v4
252
+ with :
253
+ ref : ${{ needs.prepare.outputs.sha }}
254
+ - name : Setup rust toolchain
255
+ uses : dtolnay/rust-toolchain@stable
256
+ with :
257
+ toolchain : stable
258
+ targets : ${{ matrix.target }}
259
+ - name : Setup build directory
260
+ run : mkdir builds
261
+ - name : Build
262
+ run : |
263
+ cargo build --release --target=${{ matrix.target }}
264
+ - name : Copy
265
+ run : |
266
+ cp target/${{ matrix.target }}/release/viam_rust_utils.dll builds/libviam_rust_utils-${{ matrix.platform }}.dll
267
+ cp target/${{ matrix.target }}/release/libviam_rust_utils.a builds/libviam_rust_utils-${{ matrix.platform }}.lib
268
+ - name : Upload artifacts
269
+ uses : actions/upload-artifact@v4
270
+ with :
271
+ name : builds-${{ matrix.platform }}
272
+ path : builds/*
273
+
239
274
merge :
240
- needs : [build_macos, build_linux, build_windows]
275
+ needs : [build_macos, build_linux, build_windows, build_windows_arm ]
241
276
runs-on : ubuntu-latest
242
277
steps :
243
278
- name : Merge artifacts
0 commit comments