Add crate documentation #269
Workflow file for this run
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
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
name: CI | |
jobs: | |
code_analysis: | |
name: Code Analysis | |
uses: dusk-network/.github/.github/workflows/code-analysis.yml@main | |
dusk_analyzer: | |
name: Dusk Analyzer | |
uses: dusk-network/.github/.github/workflows/dusk-analysis.yml@main | |
build_benches: | |
name: Build Benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo bench --no-run | |
test_std: | |
name: Stable toolchain tests | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: cargo b --release | |
- run: rustup target add wasm32-unknown-unknown | |
- run: cd contract && cargo b --target wasm32-unknown-unknown --release | |
- run: cargo t --release | |
test_no_std: | |
name: Stable toolchain no_std tests | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: cargo b --release | |
- run: rustup target add wasm32-unknown-unknown | |
- run: cd contract && cargo b --target wasm32-unknown-unknown --release | |
- run: cargo t --release --no-default-features |