Add setup ceremony encryption and decryption tools #846
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: WASM | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -Dwarnings | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Rust (${{ matrix.rust }}) | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: Install WASM | |
run: | | |
rustup target add wasm32-unknown-unknown --toolchain stable | |
cargo install wasm-bindgen-cli | |
cargo update -p wasm-bindgen | |
- name: Run WASM tests | |
run: | | |
cd phase1-wasm | |
cargo test --release --target wasm32-unknown-unknown --no-default-features --features wasm |