forked from starkware-libs/stwo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/device-vec' into device-vec
- Loading branch information
Showing
125 changed files
with
4,728 additions
and
1,776 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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- 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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- 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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 doc | ||
- run: cargo +nightly-2025-01-02 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-01-04 | ||
targets: wasm32-wasi | ||
toolchain: nightly-2025-01-02 | ||
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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test | ||
- run: cargo +nightly-2025-01-02 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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test | ||
- run: cargo +nightly-2025-01-02 test | ||
env: | ||
RUSTFLAGS: -C target-cpu=native -C target-feature=+${{ matrix.target-feature }} | ||
|
||
|
@@ -116,14 +116,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- name: Run benchmark | ||
run: ./scripts/bench.sh -- --output-format bencher | tee output.txt | ||
- name: Download previous benchmark data | ||
uses: actions/cache@v4 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-benchmark | ||
key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark | ||
- name: Store benchmark result | ||
uses: benchmark-action/github-action-benchmark@v1 | ||
with: | ||
|
@@ -142,14 +142,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- name: Run benchmark | ||
run: ./scripts/bench.sh --features="parallel" -- --output-format bencher | tee output.txt | ||
- name: Download previous benchmark data | ||
uses: actions/cache@v4 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-benchmark | ||
key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark | ||
- name: Store benchmark result | ||
uses: benchmark-action/github-action-benchmark@v1 | ||
with: | ||
|
@@ -168,36 +168,42 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test | ||
- run: cargo +nightly-2025-01-02 test | ||
|
||
run-slow-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test --release --features="slow-tests" | ||
- run: cargo +nightly-2025-01-02 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-01-04 | ||
toolchain: nightly-2025-01-02 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2024-01-04 test --features="parallel" | ||
- run: cargo +nightly-2025-01-02 test --features="parallel" | ||
|
||
machete: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2024-01-04 | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Install Machete | ||
run: cargo +nightly-2025-01-02 install --locked cargo-machete | ||
- name: Run Machete (detect unused dependencies) | ||
uses: bnjbvr/cargo-machete@main | ||
run: cargo +nightly-2025-01-02 machete | ||
|
||
all-tests: | ||
runs-on: ubuntu-latest | ||
|
@@ -207,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
Oops, something went wrong.