diff --git a/.cargo/config.toml b/.cargo/config.toml index a89a92b6..629fbf09 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,6 +5,7 @@ lint = "clippy --workspace --all-features --tests --examples --bins -- -Dclippy: ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture" # just check the library (without dev deps) +ci-check-min = "hack --workspace --no-default-features" ci-check-lib = "hack --workspace --feature-powerset --exclude-features io-uring check" ci-check-lib-linux = "hack --workspace --feature-powerset check" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c28e6dd..ca4686cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,13 +76,19 @@ jobs: args: cargo-hack - name: check lib - if: matrix.target.os != 'ubuntu-latest' + if: > + matrix.target.os != 'ubuntu-latest' + && matrix.target.triple != 'x86_64-pc-windows-gnu' uses: actions-rs/cargo@v1 with: { command: ci-check-lib } - name: check lib if: matrix.target.os == 'ubuntu-latest' uses: actions-rs/cargo@v1 with: { command: ci-check-lib-linux } + - name: check lib + if: matrix.target.triple != 'x86_64-pc-windows-gnu' + uses: actions-rs/cargo@v1 + with: { command: ci-check-min } - name: check full # TODO: compile OpenSSL and run tests on MinGW