File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ jobs:
267
267
- x86_64-pc-windows-msvc
268
268
- i686-pc-windows-msvc
269
269
manifest : ['psm/Cargo.toml', 'Cargo.toml']
270
+ xwin_version : ["0.1.6"]
270
271
timeout-minutes : 10
271
272
steps :
272
273
- uses : actions/checkout@v2
@@ -275,18 +276,18 @@ jobs:
275
276
with :
276
277
toolchain : stable
277
278
profile : minimal
279
+ target : ${{ matrix.rust_target }}
278
280
- name : Add toolchain shims
279
281
run : |
280
282
set -eux
281
283
sudo ln -s clang-12 /usr/bin/clang-cl
282
284
sudo ln -s llvm-ar-12 /usr/bin/llvm-lib
283
285
sudo ln -s lld-link-12 /usr/bin/lld-link
284
286
- name : Install Windows SDK
285
- env :
286
- xwin_version : " 0.1.6"
287
287
run : |
288
288
set -eux
289
- xwin_prefix="xwin-${xwin_version}-x86_64-unknown-linux-musl"
289
+ xwin_version=${{ matrix.xwin_version }}
290
+ xwin_prefix="xwin-$xwin_version-x86_64-unknown-linux-musl"
290
291
291
292
# Install xwin to cargo/bin via github release. Note you could also just use `cargo install xwin`.
292
293
curl --fail -L https://github.com/Jake-Shadle/xwin/releases/download/$xwin_version/$xwin_prefix.tar.gz | tar -xzv -C /home/runner/.cargo/bin --strip-components=1 $xwin_prefix/xwin
@@ -308,7 +309,6 @@ jobs:
308
309
RUSTFLAGS : " -Lnative=/tmp/xwin/crt/lib/x86_64 -Lnative=/tmp/xwin/sdk/lib/um/x86_64 -Lnative=/tmp/xwin/sdk/lib/ucrt/x86_64"
309
310
run : |
310
311
set -eux
311
- rustup target add ${{ matrix.rust_target }}
312
312
cargo build --target ${{ matrix.rust_target }} --manifest-path ${{ matrix.manifest }}
313
313
314
314
wasm-test :
You can’t perform that action at this time.
0 commit comments