-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
172cd35
commit f24cde6
Showing
7 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: rustfmt | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/rust_fmt.sh --check | ||
|
||
|
@@ -36,7 +36,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: clippy | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/clippy.sh | ||
|
||
|
@@ -46,25 +46,25 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 doc | ||
- run: cargo +nightly-2024-12-17 doc | ||
|
||
run-wasm32-wasi-tests: | ||
run-wasm32-wasip1-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
targets: wasm32-wasi | ||
toolchain: nightly-2024-12-17 | ||
targets: wasm32-wasip1 | ||
- uses: taiki-e/install-action@v2 | ||
with: | ||
tool: wasmtime | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --target wasm32-wasi | ||
- run: cargo test --target wasm32-wasip1 | ||
env: | ||
CARGO_TARGET_WASM32_WASI_RUNNER: "wasmtime run --" | ||
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --" | ||
RUSTFLAGS: -C target-feature=+simd128 | ||
|
||
run-wasm32-unknown-tests: | ||
|
@@ -73,7 +73,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
targets: wasm32-unknown-unknown | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: jetli/[email protected] | ||
|
@@ -89,9 +89,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 test | ||
- run: cargo +nightly-2024-12-17 test | ||
env: | ||
RUSTFLAGS: -C target-feature=+neon | ||
|
||
|
@@ -104,9 +104,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 test | ||
- run: cargo +nightly-2024-12-17 test | ||
env: | ||
RUSTFLAGS: -C target-cpu=native -C target-feature=+${{ matrix.target-feature }} | ||
|
||
|
@@ -116,7 +116,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- name: Run benchmark | ||
run: ./scripts/bench.sh -- --output-format bencher | tee output.txt | ||
- name: Download previous benchmark data | ||
|
@@ -142,7 +142,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- name: Run benchmark | ||
run: ./scripts/bench.sh --features="parallel" -- --output-format bencher | tee output.txt | ||
- name: Download previous benchmark data | ||
|
@@ -168,29 +168,29 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 test | ||
- run: cargo +nightly-2024-12-17 test | ||
|
||
run-slow-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 test --release --features="slow-tests" | ||
- run: cargo +nightly-2024-12-17 test --release --features="slow-tests" | ||
|
||
run-tests-parallel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-11-06 | ||
toolchain: nightly-2024-12-17 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-11-06 test --features="parallel" | ||
- run: cargo +nightly-2024-12-17 test --features="parallel" | ||
|
||
machete: | ||
runs-on: ubuntu-latest | ||
|
@@ -201,9 +201,9 @@ jobs: | |
toolchain: nightly-2024-01-04 | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Install Machete | ||
run: cargo +nightly-2024-11-06 install --locked cargo-machete | ||
run: cargo +nightly-2024-12-17 install --locked cargo-machete | ||
- name: Run Machete (detect unused dependencies) | ||
run: cargo +nightly-2024-11-06 machete | ||
run: cargo +nightly-2024-12-17 machete | ||
|
||
all-tests: | ||
runs-on: ubuntu-latest | ||
|
@@ -213,7 +213,7 @@ jobs: | |
- run-tests | ||
- run-avx-tests | ||
- run-neon-tests | ||
- run-wasm32-wasi-tests | ||
- run-wasm32-wasip1-tests | ||
- run-slow-tests | ||
- run-tests-parallel | ||
- machete | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[toolchain] | ||
channel = "nightly-2024-11-06" | ||
channel = "nightly-2024-12-17" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
cargo +nightly-2024-11-06 clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \ | ||
cargo +nightly-2024-12-17 clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \ | ||
-D nonstandard-style -D rust-2018-idioms -D unused |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cargo +nightly-2024-11-06 fmt --all -- "$@" | ||
cargo +nightly-2024-12-17 fmt --all -- "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
# Can be used as a drop in replacement for `cargo test` with avx512f flag on. | ||
# For example, `./scripts/test_avx.sh` will run all tests(not only avx). | ||
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo +nightly-2024-11-06 test "$@" | ||
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo +nightly-2024-12-17 test "$@" |