mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 21:22:57 +01:00
Set depth of --feature-powerset
on Windows CI (#460)
This commit is contained in:
parent
71b4e55c92
commit
bf2aa3902c
@ -18,6 +18,11 @@ ci-test = " hack --feature-powerset --exclude=actix-rt --exclude=actix-ser
|
|||||||
ci-test-rt = " hack --feature-powerset --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
|
ci-test-rt = " hack --feature-powerset --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
|
||||||
ci-test-server = "hack --feature-powerset --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
|
ci-test-server = "hack --feature-powerset --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
|
||||||
|
|
||||||
|
# tests avoiding io-uring feature on Windows
|
||||||
|
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"
|
||||||
|
ci-test-rt-win = " hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
|
||||||
|
ci-test-server-win = "hack --feature-powerset --depth 2 --exclude-features=io-uring test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
|
||||||
|
|
||||||
# test with io-uring feature
|
# test with io-uring feature
|
||||||
ci-test-rt-linux = " hack --feature-powerset test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
|
ci-test-rt-linux = " hack --feature-powerset test --package=actix-rt --lib --tests --no-fail-fast -- --nocapture"
|
||||||
ci-test-server-linux = "hack --feature-powerset test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
|
ci-test-server-linux = "hack --feature-powerset test --package=actix-server --lib --tests --no-fail-fast -- --nocapture"
|
||||||
|
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -109,13 +109,19 @@ jobs:
|
|||||||
with: { command: ci-check-linux }
|
with: { command: ci-check-linux }
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
if: >
|
if: matrix.target.os == 'macos-latest'
|
||||||
matrix.target.os != 'ubuntu-latest'
|
|
||||||
&& matrix.target.triple != 'x86_64-pc-windows-gnu'
|
|
||||||
run: |
|
run: |
|
||||||
cargo ci-test
|
cargo ci-test
|
||||||
cargo ci-test-rt
|
cargo ci-test-rt
|
||||||
cargo ci-test-server
|
cargo ci-test-server
|
||||||
|
- name: tests
|
||||||
|
if: >
|
||||||
|
matrix.target.os == 'windows-latest'
|
||||||
|
&& matrix.target.triple != 'x86_64-pc-windows-gnu'
|
||||||
|
run: |
|
||||||
|
cargo ci-test-win
|
||||||
|
cargo ci-test-rt-win
|
||||||
|
cargo ci-test-server-win
|
||||||
- name: tests
|
- name: tests
|
||||||
if: matrix.target.os == 'ubuntu-latest'
|
if: matrix.target.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user