Skip to content

Build and Test Nova #1305

Build and Test Nova

Build and Test Nova #1305

Workflow file for this run

name: Build and Test Nova
on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- dev
- 'feat/**'
- release-candidate
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
with:
repository: lurk-lab/ci-workflows
- uses: ./.github/actions/ci-env
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Check the minroot example compiles under the abomonate feature
run: cargo check --profile dev-ci --features "abomonate" --examples
- name: Check benches compile under the flamegraph feature
run: cargo check --profile dev-ci --features "flamegraph" --benches
- name: Build, with benches & examples
run: cargo build --profile dev-ci --benches --examples
- name: Linux Tests in parallel, with nextest profile ci and cargo profile dev-ci
run: |
cargo nextest run --profile ci --workspace --cargo-profile dev-ci
- name: Run test_pp_digest with the asm feature
run: |
cargo nextest run --profile ci --workspace --cargo-profile dev-ci --features "asm" -E 'test(test_pp_digest)'
check-lurk-compiles:
uses: lurk-lab/ci-workflows/.github/workflows/check-lurk-compiles.yml@main
with:
runner: "buildjet-8vcpu-ubuntu-2204"
packages: "pkg-config libssl-dev protobuf-compiler libprotobuf-dev"
# Rustfmt, clippy, doctests
code-quality:
uses: lurk-lab/ci-workflows/.github/workflows/lints.yml@main
# Checks `cargo build --target wasm32-unknown-unknown`
wasm:
uses: lurk-lab/ci-workflows/.github/workflows/wasm.yml@main
# Checks MSRV specified by `rust-version` in `Cargo.toml`
msrv:
uses: lurk-lab/ci-workflows/.github/workflows/msrv.yml@main
# Check documentation links aren't broken
link-checker:
uses: lurk-lab/ci-workflows/.github/workflows/links-check.yml@main
with:
fail-fast: true
# Lint dependencies for licensing and auditing issues as per https://github.com/lurk-lab/arecibo/blob/main/deny.toml
licenses-audits:
uses: lurk-lab/ci-workflows/.github/workflows/licenses-audits.yml@main