Run tests with LLVM sysroot in CI
This commit is contained in:
parent
76900705e8
commit
aeac484d18
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user