Skip to content

Commit

Permalink
Add javascript binding tests (#215)
Browse files Browse the repository at this point in the history
* Add javascript binding tests

* install emsdk

* separate install emsdk and test
  • Loading branch information
hoffmang9 authored May 10, 2021
1 parent 362078b commit df2ca4f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build and Test C++ and Python
name: Build and Test C++, Javascript, and Python

on: [push, pull_request]

jobs:
build_wheels:
name: Build and Test C++ and Python on ${{ matrix.os }}
name: Build and Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -71,3 +71,12 @@ jobs:
- name: Test pure python implementation
run: |
python python-impl/impl-test.py
- name: Install emsdk
uses: mymindstorm/setup-emsdk@v9

- name: Test javascript bindings
run: |
emcc -v
sh emsdk_build.sh
sh js_test.sh

0 comments on commit df2ca4f

Please sign in to comment.