Remove Std Dependence & Check Serialized Output In Serde Tests #1267
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: build | |
jobs: | |
analyze: | |
name: Code Analysis | |
uses: dusk-network/.github/.github/workflows/code-analysis.yml@main | |
with: | |
clippy_default: false | |
clippy_args: -- -D warnings | |
dusk_analyzer: | |
name: Dusk Analyzer | |
uses: dusk-network/.github/.github/workflows/dusk-analysis.yml@main | |
test: | |
name: Make test | |
strategy: | |
matrix: | |
target: [ | |
x86_64-unknown-linux-gnu, | |
x86_64-apple-darwin, | |
aarch64-apple-darwin, | |
] | |
include: | |
- target: x86_64-unknown-linux-gnu | |
os: ubuntu-latest | |
- target: x86_64-apple-darwin | |
os: macos-latest-large | |
- target: aarch64-apple-darwin | |
os: macos-latest-xlarge | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- name: Run `make test` | |
run: make test | |
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 | |
working-directory: piecrust-uplink |