Skip to content

Commit

Permalink
Use prebuilt gnullvm target (#3007)
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Apr 23, 2024
1 parent 18498cb commit f850dcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cross.yml
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 f850dcb

Please sign in to comment.