Skip to content

Add setup ceremony encryption and decryption tools #846

Add setup ceremony encryption and decryption tools

Add setup ceremony encryption and decryption tools #846

Workflow file for this run

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