diff options
| -rw-r--r-- | .github/workflows/main.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed562d6ebe4..5dbdc00004e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,12 +93,6 @@ jobs: - name: Prepare dependencies run: ./y.rs prepare - - name: Build without unstable features - env: - TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }} - # This is the config rust-lang/rust uses for builds - run: ./y.rs build --no-unstable-features - - name: Build run: ./y.rs build --sysroot none @@ -107,6 +101,15 @@ jobs: TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }} run: ./y.rs test + - name: Install LLVM standard library + run: rustup target add ${{ matrix.env.TARGET_TRIPLE }} + + # This is roughly config rust-lang/rust uses for testing + - name: Test with LLVM sysroot + env: + TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }} + run: ./y.rs test --sysroot llvm --no-unstable-features + # This job doesn't use cg_clif in any way. It checks that all cg_clif tests work with cg_llvm too. test_llvm: |
