86
86
sudo apt-get update
87
87
sudo apt-get install g++-multilib
88
88
if : matrix.build == 'linux32'
89
- - run : cargo test ${{ matrix.no_run }}
90
- - run : cargo test ${{ matrix.no_run }} --features parallel
91
- - run : cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }}
92
- - run : cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --features parallel
93
- - run : cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --release
89
+ - run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
90
+ - run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
91
+ - run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --features parallel
94
92
95
93
check-tvos :
96
94
name : Test aarch64-apple-tvos
@@ -104,11 +102,9 @@ jobs:
104
102
rustup component add rust-src --toolchain nightly
105
103
rustup default nightly
106
104
shell : bash
107
- - run : cargo test -Z build-std=std --no-run --target aarch64-apple-tvos
108
- - run : cargo test -Z build-std=std --no-run --features parallel --target aarch64-apple-tvos
109
- - run : cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos
110
- - run : cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos --features parallel
111
- - run : cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos --release
105
+ - run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos
106
+ - run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --release
107
+ - run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --features parallel
112
108
113
109
cuda :
114
110
name : Test CUDA support
@@ -126,7 +122,7 @@ jobs:
126
122
- name : Test 'cudart' feature
127
123
shell : bash
128
124
run : |
129
- PATH="/usr/local/cuda/bin:$PATH" cargo test --manifest-path cc-test/Cargo.toml --features test_cuda
125
+ PATH="/usr/local/cuda/bin:$PATH" cargo test --manifest-path dev-tools/ cc-test/Cargo.toml --features test_cuda
130
126
131
127
msrv :
132
128
name : MSRV
@@ -147,8 +143,8 @@ jobs:
147
143
run : cargo +nightly update -Zminimal-versions
148
144
- name : Cache downloaded crates since 1.53 is really slow in fetching
149
145
uses : Swatinem/rust-cache@v2
150
- - run : cargo check --lib
151
- - run : cargo check --lib --all-features
146
+ - run : cargo check --lib -p cc
147
+ - run : cargo check --lib -p cc - -all-features
152
148
153
149
clippy :
154
150
name : Clippy
0 commit comments