Skip to content

Update deploy-wasm-emscripten.yml #102

Update deploy-wasm-emscripten.yml

Update deploy-wasm-emscripten.yml #102

name: Build Emscripten
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Emscripten
uses: mymindstorm/setup-emsdk@v11
with:
version: 3.1.60
- name: Configure CMake
run: emcmake cmake -B ${{ github.workspace }}/build -DSL_BUILD_WAI=OFF -DSL_BUILD_WITH_OPENSSL=OFF -DSL_DOWNLOAD_DATA=OFF
- name: Build
run: cmake --build ${{ github.workspace }}/build --target app-demo -j $(nproc)