Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit deps licenses; cargo.lock; toolchain #890

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ jobs:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: scripts/clippy.sh

audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: clippy
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: scripts/audit.sh

doc:
runs-on: ubuntu-latest
Expand All @@ -48,7 +59,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 doc
- run: cargo doc

run-wasm32-wasi-tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -91,7 +102,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test
- run: cargo test
env:
RUSTFLAGS: -C target-feature=+neon

Expand All @@ -106,7 +117,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test
- run: cargo test
env:
RUSTFLAGS: -C target-cpu=native -C target-feature=+${{ matrix.target-feature }}

Expand Down Expand Up @@ -170,7 +181,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test
- run: cargo test

run-slow-tests:
runs-on: ubuntu-latest
Expand All @@ -180,7 +191,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test --release --features="slow-tests"
- run: cargo test --release --features="slow-tests"

run-tests-parallel:
runs-on: ubuntu-latest
Expand All @@ -190,7 +201,7 @@ jobs:
with:
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test --features="parallel"
- run: cargo test --features="parallel"

machete:
runs-on: ubuntu-latest
Expand All @@ -204,6 +215,7 @@ jobs:
needs:
- clippy
- format
- audit
- run-tests
- run-avx-tests
- run-neon-tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ target*
flamegraph.svg
perf.data
perf.data.old
Cargo.lock
Loading