From 8fbd6f521a1375c7c3d62ed157e3c2dbb98f948e Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:20:59 +0000 Subject: [PATCH] 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. --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5dbdc00004e..abcd1affdee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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