Skip to content

Commit bf2aa39

Browse files
authored
Set depth of --feature-powerset on Windows CI (#460)
1 parent 71b4e55 commit bf2aa39

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ ci-test = " hack --feature-powerset --exclude=actix-rt --exclude=actix-ser
1818
ci-test-rt = " hack --feature-powerset --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
1919
ci-test-server = "hack --feature-powerset --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
2020

21+
# tests avoiding io-uring feature on Windows
22+
ci-test-win = " hack --feature-powerset --depth 2 --exclude=actix-rt --exclude=actix-server --exclude-features=io-uring test --workspace --lib --tests --no-fail-fast -- --nocapture"
23+
ci-test-rt-win = " hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
24+
ci-test-server-win = "hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
25+
2126
# test with io-uring feature
2227
ci-test-rt-linux = " hack --feature-powerset test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
2328
ci-test-server-linux = "hack --feature-powerset test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,19 @@ jobs:
109109
with: { command: ci-check-linux }
110110

111111
- name: tests
112-
if: >
113-
matrix.target.os != 'ubuntu-latest'
114-
&& matrix.target.triple != 'x86_64-pc-windows-gnu'
112+
if: matrix.target.os == 'macos-latest'
115113
run: |
116114
cargo ci-test
117115
cargo ci-test-rt
118116
cargo ci-test-server
117+
- name: tests
118+
if: >
119+
matrix.target.os == 'windows-latest'
120+
&& matrix.target.triple != 'x86_64-pc-windows-gnu'
121+
run: |
122+
cargo ci-test-win
123+
cargo ci-test-rt-win
124+
cargo ci-test-server-win
119125
- name: tests
120126
if: matrix.target.os == 'ubuntu-latest'
121127
run: |

0 commit comments

Comments
 (0)