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: