-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update channel and change group_by to chunk_by
- Loading branch information
1 parent
6e9da20
commit f111623
Showing
8 changed files
with
28 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: rustfmt | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2024-03-10 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/rust_fmt.sh --check | ||
|
||
|
@@ -38,7 +38,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: clippy | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2024-03-10 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/clippy.sh | ||
|
||
|
@@ -48,7 +48,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2024-03-10 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: ./scripts/test_avx.sh | ||
|
||
|
@@ -58,9 +58,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2024-03-10 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test | ||
- run: cargo +nightly-2024-03-10 test | ||
|
||
udeps: | ||
runs-on: ubuntu-latest | ||
|
@@ -69,7 +69,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
name: "Rust Toolchain Setup" | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2024-03-10 | ||
- uses: Swatinem/rust-cache@v2 | ||
id: "cache-cargo" | ||
- if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }} | ||
|
@@ -78,19 +78,18 @@ jobs: | |
wget -O - -c https://github.com/est31/cargo-udeps/releases/download/v0.1.35/cargo-udeps-v0.1.35-x86_64-unknown-linux-gnu.tar.gz | tar -xz | ||
cargo-udeps-*/cargo-udeps udeps | ||
env: | ||
RUSTUP_TOOLCHAIN: nightly-2024-01-04 | ||
|
||
RUSTUP_TOOLCHAIN: nightly-2024-03-10 | ||
|
||
all-tests: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- clippy | ||
- format | ||
- run-tests | ||
- run-avx-tests | ||
- udeps | ||
- clippy | ||
- format | ||
- run-tests | ||
- run-avx-tests | ||
- udeps | ||
steps: | ||
- name: Decide whether all the needed jobs succeeded or failed | ||
uses: re-actors/[email protected] | ||
with: | ||
jobs: ${{ toJSON(needs) }} | ||
- name: Decide whether all the needed jobs succeeded or failed | ||
uses: re-actors/[email protected] | ||
with: | ||
jobs: ${{ toJSON(needs) }} |
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-01-04" | ||
channel = "nightly-2024-03-10" |
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-01-04 clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \ | ||
cargo +nightly-2024-03-10 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-01-04 fmt --all -- "$@" | ||
cargo +nightly-2024-03-10 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-01-04 test "$@" | ||
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo +nightly-2024-03-10 test "$@" |
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