Skip to content

Commit 9259f44

Browse files
committed
Don't cargo check cap-std-workspace when async-std isn't buildable.
1 parent 43df9b7 commit 9259f44

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ jobs:
6868
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --release -vv --target=x86_64-unknown-netbsd
6969
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --release -vv --target=i686-unknown-linux-gnu
7070
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --release -vv --target=i686-unknown-linux-musl
71-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=x86_64-pc-windows-msvc
72-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=x86_64-pc-windows-gnu
73-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=i686-pc-windows-msvc
74-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=i686-pc-windows-gnu
75-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=x86_64-fuchsia
76-
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --release -vv --target=wasm32-unknown-emscripten
71+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-pc-windows-msvc
72+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-pc-windows-gnu
73+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=i686-pc-windows-msvc
74+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=i686-pc-windows-gnu
75+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-fuchsia
76+
- run: cargo check --workspace --bins --examples --tests --features=fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=wasm32-unknown-emscripten
7777

7878
check_cross_nightly:
7979
name: Check Cross-Compilation on Rust nightly
@@ -118,12 +118,12 @@ jobs:
118118
- run: cargo check --workspace --all-targets --all-features --release -vv --target=x86_64-unknown-netbsd
119119
- run: cargo check --workspace --all-targets --all-features --release -vv --target=i686-unknown-linux-gnu
120120
- run: cargo check --workspace --all-targets --all-features --release -vv --target=i686-unknown-linux-musl
121-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=x86_64-pc-windows-msvc
122-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=x86_64-pc-windows-gnu
123-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=i686-pc-windows-msvc
124-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=i686-pc-windows-gnu
125-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=x86_64-fuchsia
126-
- run: cargo check --workspace --all-targets --all-features --exclude=cap-async-std --release -vv --target=wasm32-unknown-emscripten
121+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-pc-windows-msvc
122+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-pc-windows-gnu
123+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=i686-pc-windows-msvc
124+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=i686-pc-windows-gnu
125+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=x86_64-fuchsia
126+
- run: cargo check --workspace --all-targets --features nightly,fs_utf8 --exclude=cap-async-std --exclude=cap-std-workspace --release -vv --target=wasm32-unknown-emscripten
127127

128128
test:
129129
name: Test

0 commit comments

Comments
 (0)