skip feature checks on mingw

This commit is contained in:
Rob Ede 2021-09-01 23:46:27 +01:00
parent 2c547c43e1
commit 8e4f252ef3
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,7 @@ lint = "clippy --workspace --all-features --tests --examples --bins -- -Dclippy:
ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture" ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture"
# just check the library (without dev deps) # 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 = "hack --workspace --feature-powerset --exclude-features io-uring check"
ci-check-lib-linux = "hack --workspace --feature-powerset check" ci-check-lib-linux = "hack --workspace --feature-powerset check"

View File

@ -76,13 +76,19 @@ jobs:
args: cargo-hack args: cargo-hack
- name: check lib - 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 uses: actions-rs/cargo@v1
with: { command: ci-check-lib } with: { command: ci-check-lib }
- name: check lib - name: check lib
if: matrix.target.os == 'ubuntu-latest' if: matrix.target.os == 'ubuntu-latest'
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: { command: ci-check-lib-linux } 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 - name: check full
# TODO: compile OpenSSL and run tests on MinGW # TODO: compile OpenSSL and run tests on MinGW