Remove Std Dependence & Check Serialized Output In Serde Tests #57
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] | |
name: Dusk CI | |
jobs: | |
code_analysis: | |
name: Code Analysis | |
uses: dusk-network/.github/.github/workflows/code-analysis.yml@main | |
with: | |
clippy_default: false | |
clippy_args: --release --features=rkyv-impl,rkyv/size_16 -- -D warnings | |
dusk_analysis: | |
name: Dusk Analyzer | |
uses: dusk-network/.github/.github/workflows/dusk-analysis.yml@main | |
check_no_std: | |
name: check no_std | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: cargo check --no-default-features --target thumbv6m-none-eabi | |
test_std: | |
name: Nightly std tests | |
uses: dusk-network/.github/.github/workflows/run-tests.yml@main | |
with: | |
test_flags: --features=rkyv-impl,rkyv/size_16,serde | |
test_parallel: | |
name: Nightly std tests parallel | |
uses: dusk-network/.github/.github/workflows/run-tests.yml@main | |
with: | |
test_flags: --features=parallel,rkyv-impl,rkyv/size_16,serde | |
compiles_to_wasm_with_serde: | |
name: Compiles to wasm with serde enabled | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: rustup target add wasm32-unknown-unknown | |
- run: cargo b --release --no-default-features --features serde --target wasm32-unknown-unknown |