Skip to content

Commit

Permalink
Use prebuilt gnullvm target
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Apr 20, 2024
1 parent 0a74479 commit 5cf89ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

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

- name: Add nightly toolchain with rust-src
run: |
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
}
if: contains(matrix.target, 'gnullvm') == false

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

0 comments on commit 5cf89ab

Please sign in to comment.