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 21, 2024
1 parent 0a74479 commit 1849aae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
run: rustup target add ${{ matrix.target }}
if: contains(matrix.target, 'gnullvm') == false

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

- name: Install gcc-mingw-w64-x86-64
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 1849aae

Please sign in to comment.