Skip LLVM sysroot testing for native x86_64-pc-windows-gnu in CI

It is way too slow and cross-compiled x86_64-pc-windows-gnu covers at
least part of the tests.
This commit is contained in:
bjorn3 2023-06-05 17:20:59 +00:00
parent 1797ae5174
commit 8fbd6f521a
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ jobs:
# This is roughly config rust-lang/rust uses for testing
- name: Test with LLVM sysroot
# Skip native x86_64-pc-windows-gnu. It is way too slow and cross-compiled
# x86_64-pc-windows-gnu covers at least part of the tests.
if: matrix.os != 'windows-latest' || matrix.env.TARGET_TRIPLE != 'x86_64-pc-windows-gnu'
env:
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
run: ./y.rs test --sysroot llvm --no-unstable-features