Skip to content

Buildsystem update

Buildsystem update #78

Workflow file for this run

name: WASM Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{matrix.os-type}}
strategy:
matrix:
os-type: [windows-latest]
configuration: [Debug, Release]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Get Emscripten
run: ./tools/setup_emscripten_win.bat
- name: Build WASM
run: ./tools/build_wasm_win.bat ${{matrix.configuration}}
- name: Update Package
if: ${{ matrix.configuration == 'Release' }}
run: |
npm install
- name: Run Test
if: ${{ matrix.configuration == 'Release' }}
run: |
$env:TEST_CONFIG="${{matrix.configuration}}"
npm run test