Trigger Actions for PR #9 (test) #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WebAssembly | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
jobs: | |
compile-esmscripten: | |
name: Compile for WebAssembly | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Get OpenSSL | |
run: | | |
sudo apt update | |
sudo apt install cmake libssl-dev | |
- name: Set up emscripten | |
uses: mymindstorm/setup-emsdk@v11 | |
- name: Verify | |
run: emcc -v | |
- name: Generate CMake files | |
run: emcmake cmake -S . -B ./build | |
- name: Compile | |
run: cmake --build ./build -j 16 --target mo_simulator_wasm |