Skip to content

Improvements to error handling and naming (#309) #3

Improvements to error handling and naming (#309)

Improvements to error handling and naming (#309) #3

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)'
<<<<<<< HEAD

Check failure on line 41 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
check-lurk-compiles:
uses: lurk-lab/ci-workflows/.github/workflows/check-lurk-compiles.yml@main
with:
runner: "buildjet-8vcpu-ubuntu-2204"
||||||| parent of 37871d04 (Miscellaneous improvements (details in commit messages) (#308))
build-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Wasm build
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: build
args: --target wasm32-unknown-unknown
=======
build-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Wasm build
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --target wasm32-unknown-unknown
>>>>>>> 37871d04 (Miscellaneous improvements (details in commit messages) (#308))
# Wasm build, rustfmt, clippy, doctests, and MSRV
code-quality:
uses: lurk-lab/ci-workflows/.github/workflows/lints.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