Skip to content

Commit 5cf89ab

Browse files
committed
Use prebuilt gnullvm target
1 parent 0a74479 commit 5cf89ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cross.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Add toolchain target
4040
run: rustup target add ${{ matrix.target }}
41-
if: contains(matrix.target, 'gnullvm') == false
41+
if: contains(matrix.target, 'gnullvm') == false || startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'
4242

4343
- name: Add nightly toolchain with rust-src
4444
run: |
@@ -83,10 +83,10 @@ jobs:
8383
}
8484
if: contains(matrix.target, 'gnullvm') == false
8585

86-
- name: Test with build-std
86+
- name: Test gnullvm
8787
shell: pwsh
8888
run: |
89-
cargo test --no-run --target ${{ matrix.target }} -Z build-std -p test_win32
89+
cargo test --no-run --target ${{ matrix.target }} -p test_win32
9090
if (-Not (Resolve-Path "target/*/debug/deps/test_win32-*.exe" | Test-Path)) {
9191
throw "Failed to find test_win32 executable."
9292
}

0 commit comments

Comments
 (0)