From 4418a419b6b26894b60326f5db0bbcc4e8039b59 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 20 Aug 2021 23:34:58 -0700 Subject: [PATCH] Add test --- .github/workflows/build-test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 104d0d76f2b..d60c3e7e8c8 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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: @@ -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: