Skip to content

chore: move overflow to ops #3980

chore: move overflow to ops

chore: move overflow to ops #3980

Workflow file for this run

name: Build and Test
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
nomt_test:
name: NOMT - test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --verbose --workspace --locked
- run: cargo test --verbose --workspace
benchtop_check:
name: NOMT - check benchtop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --verbose --manifest-path=benchtop/Cargo.toml --locked
loom_rw_pass_cell:
name: NOMT - loom rw_pass_cell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: RUSTFLAGS="--cfg loom" cargo test rw_pass_cell --release --workspace
doc:
name: NOMT - doc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --verbose --workspace --document-private-items
fmt:
name: NOMT - fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --all --check
- run: cargo fmt --manifest-path=benchtop/Cargo.toml --check
darwin_check:
name: NOMT - check darwin target
runs-on: ubuntu-latest
env:
# This is a workaround for the blake3 crate.
CARGO_FEATURE_PURE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
# Build only the NOMT crate. Not everything builds cleanly under this configuration.
- run: cargo check --verbose -p nomt --locked --target x86_64-apple-darwin