Skip to content
Merged
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
39 changes: 33 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down Expand Up @@ -58,7 +60,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down Expand Up @@ -86,7 +88,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -112,7 +114,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -134,7 +136,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down Expand Up @@ -170,7 +172,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -188,6 +190,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -214,6 +218,8 @@ jobs:
# Outer xtask uses Bunny through warp-core; the inner producer
# still authenticates the exact Rust/Cargo 1.90 identities.
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: dtolnay/rust-toolchain@1.90.0
with:
components: clippy
Expand Down Expand Up @@ -244,6 +250,8 @@ jobs:
# Outer xtask uses Bunny through warp-core; the inner producer
# still authenticates the exact Rust/Cargo 1.90 identities.
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: dtolnay/rust-toolchain@1.90.0
with:
components: clippy
Expand Down Expand Up @@ -272,7 +280,7 @@ jobs:
targets: wasm32-unknown-unknown
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -290,6 +298,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -306,6 +315,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down Expand Up @@ -378,6 +389,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
targets: x86_64-unknown-linux-musl
- name: Install musl tools
run: sudo apt-get update && sudo apt-get install -y musl-tools
Expand All @@ -398,6 +410,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -416,6 +430,7 @@ jobs:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
targets: x86_64-unknown-linux-musl
- name: Install musl tools
run: sudo apt-get update && sudo apt-get install -y musl-tools
Expand All @@ -434,6 +449,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Check workspace rust-version declarations
shell: bash
run: |
Expand All @@ -459,6 +476,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -484,6 +503,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down Expand Up @@ -553,6 +574,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: actions/setup-node@v4
with:
node-version: "20"
Expand All @@ -567,6 +590,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand All @@ -584,6 +609,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: rustdoc warnings gate (warp-core)
run: RUSTDOCFLAGS="-D warnings" cargo doc -p warp-core --no-deps
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/det-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Run parity tests (linux)
run: |
cargo test -p echo-scene-port test_float_parity_with_js -- --nocapture 2>&1 | tee det-linux.log
Expand Down Expand Up @@ -110,6 +112,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Run parity tests (macos)
run: |
cargo test -p echo-scene-port test_float_parity_with_js -- --nocapture 2>&1 | tee det-macos.log
Expand Down Expand Up @@ -183,6 +187,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Run codec tests
run: |
cargo test -p echo-scene-codec --lib cbor::tests -- --nocapture 2>&1 | tee sec-tests.log
Expand All @@ -205,6 +211,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Run benchmarks
run: |
cargo bench -p warp-benches --bench materialization_hotpath -- --output-format bencher | tee perf.log
Expand Down Expand Up @@ -241,6 +249,7 @@ jobs:
- name: Install runtime and outer build-driver toolchain
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
targets: wasm32-unknown-unknown
- name: Install authenticated provider target
run: rustup target add wasm32-unknown-unknown --toolchain 1.90.0
Expand Down Expand Up @@ -294,6 +303,8 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Setup Rust for portable promotion
uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- name: Download candidate 1
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/determinism.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dind-cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
submodules: false

- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
submodules: false
- uses: dtolnay/rust-toolchain@1.96.0
with:
components: rustfmt, clippy
- uses: actions/cache@v4
with:
path: |
Expand Down
Loading