Skip to content

Restructure the code for easier apps integration #262

Restructure the code for easier apps integration

Restructure the code for easier apps integration #262

Workflow file for this run

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