Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Aug 21, 2021
1 parent f4a25e8 commit 4418a41
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-test.yml
Expand Up @@ -245,7 +245,13 @@ jobs:
with:
command: install
args: --git https://github.com/rust-diplomat/diplomat.git --rev 3ac8c3e8e31353a2f3eb02d015eb23a1feb84b4d diplomat-tool

- name: Install emsdk
run: |
cd ~
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
- name: Build
uses: actions-rs/cargo@v1.0.1
with:
Expand All @@ -260,6 +266,11 @@ jobs:
with:
command: make
args: wasm-test-release
- name: Run emscripten test
run: |
. ~/emsdk/emsdk_env.sh
cd ffi/cpp/examples/fixeddecimal_wasm
make test
# Fmt job - runs cargo fmt
fmt:
Expand Down

0 comments on commit 4418a41

Please sign in to comment.