Skip to content

Commit

Permalink
js-binding: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vhavlena committed Jan 5, 2025
1 parent 19a8b18 commit 7b2cd1e
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/js-binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ on:
# run:
# working-directory: src/api/js

env:
EM_VERSION: 3.1.73
# env:
# EM_VERSION: 3.1.73

permissions:
contents: read # to fetch code (actions/checkout)
# permissions:
# contents: read # to fetch code (actions/checkout)

jobs:
ubuntu-build:
Expand Down Expand Up @@ -57,13 +57,11 @@ jobs:
emcmake cmake -DCMAKE_BUILD_TYPE=Release -DMATA_BUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF ..
emmake make install

- name: Setup emscripten
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.73
actions-cache-folder: 'emsdk-cache'
# - name: Setup emscripten
# uses: mymindstorm/setup-emsdk@v14
# with:
# version: 3.1.73
# actions-cache-folder: 'emsdk-cache'

- name: Compile JS Binding for Z3-Noodler
run: |
Expand All @@ -74,6 +72,11 @@ jobs:
npm run build:ts
npm run build:wasm
- name: Test JS Binding
run: |
cd src/api/js
npm test
# - name: Build wasm
# run: |
# emsdk install ${EM_VERSION}
Expand Down

0 comments on commit 7b2cd1e

Please sign in to comment.