Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Sep 10, 2024
1 parent 09e480f commit 9337166
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install cargo-hack
run: cargo install cargo-hack
- name: Apply clippy lints
run: cargo hack clippy --each-feature --exclude-no-default-features --exclude-features xxhash64,xxhash3
run: cargo hack clippy --each-feature --exclude-no-default-features

# Run tests on some extra platforms
cross:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: cross build --target ${{ matrix.target }}
run: |
cargo install cross
cross build --target ${{ matrix.target }}
cross build --target ${{ matrix.target }} --all-features
# if: matrix.target != 'wasm32-unknown-unknown' && matrix.target != 'wasm32-wasi'
# # WASM support
# - name: cargo build --target ${{ matrix.target }}
Expand Down Expand Up @@ -141,15 +141,13 @@ jobs:
- name: Install Rust
# --no-self-update is necessary because the windows environment cannot self-update rustup.exe.
run: rustup update stable --no-self-update && rustup default stable
- name: Install cargo-hack
run: cargo install cargo-hack
- name: Cache ~/.cargo
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-coverage-dotcargo
- name: Run build
run: cargo hack build --feature-powerset --exclude-no-default-features --exclude-features xxhash64,xxhash3
run: cargo build --all-features

test:
name: test
Expand Down Expand Up @@ -183,7 +181,7 @@ jobs:
path: ~/.cargo
key: ${{ runner.os }}-coverage-dotcargo
- name: Run test
run: cargo hack test --feature-powerset --exclude-no-default-features --exclude-features xxhash64,xxhash3
run: cargo test --all-features

sanitizer:
name: sanitizer
Expand Down

0 comments on commit 9337166

Please sign in to comment.