chore(PocketIC): PocketIC library build on Windows #4
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
name: 'PocketIC library build on Windows' | |
on: | |
pull_request: | |
paths: | |
- packages/pocket-ic/** | |
# runs for the same workflow are cancelled on PRs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
pocket_ic_library_build_windows: | |
name: 'PocketIC library build on Windows' | |
runs-on: windows-2022 | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Setup Rust and Cargo' | |
uses: moonrepo/[email protected] | |
- name: 'cargo clippy' | |
run: | | |
cargo clippy --locked --all-features -p pocket-ic -p pocket-ic-test-canister --all-targets -- -D warnings -D clippy::all -D clippy::mem_forget -C debug-assertions=off | |
- name: 'cargo build' | |
shell: pwsh | |
run: | | |
cargo build --release --locked -p pocket-ic | |
cargo build --release --locked -p pocket-ic --target wasm32-unknown-unknown |