mirror of https://github.com/rust-lang/rust.git
Use `cargo build --tests` in CI
This commit is contained in:
parent
464edbed05
commit
2f7f1393c9
|
@ -50,7 +50,7 @@ jobs:
|
||||||
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
|
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --features deny-warnings,internal
|
run: cargo build --tests --features deny-warnings,internal
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --features deny-warnings,internal
|
run: cargo test --features deny-warnings,internal
|
||||||
|
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
echo "$SYSROOT/bin" >> $GITHUB_PATH
|
echo "$SYSROOT/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --features deny-warnings,internal
|
run: cargo build --tests --features deny-warnings,internal
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
Loading…
Reference in New Issue