Skip to content

Commit 80da410

Browse files
committed
Run tests with LLVM sysroot in CI
1 parent 7690070 commit 80da410

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ jobs:
9393
- name: Prepare dependencies
9494
run: ./y.rs prepare
9595

96-
- name: Build without unstable features
97-
env:
98-
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
99-
# This is the config rust-lang/rust uses for builds
100-
run: ./y.rs build --no-unstable-features
101-
10296
- name: Build
10397
run: ./y.rs build --sysroot none
10498

@@ -107,6 +101,12 @@ jobs:
107101
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
108102
run: ./y.rs test
109103

104+
# This is roughly config rust-lang/rust uses for testing
105+
- name: Test with LLVM sysroot
106+
env:
107+
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
108+
run: ./y.rs test --sysroot llvm --no-unstable-features
109+
110110

111111
# This job doesn't use cg_clif in any way. It checks that all cg_clif tests work with cg_llvm too.
112112
test_llvm:

0 commit comments

Comments
 (0)