2021-12-07 05:20:09 +04:00
|
|
|
name: Build (Emscripten)
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
emscripten:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: mymindstorm/setup-emsdk@v10
|
|
|
|
with:
|
|
|
|
version: 2.0.27
|
|
|
|
- name: Configure CMake
|
2022-07-19 07:48:31 +04:00
|
|
|
run: emcmake cmake -B build
|
2021-12-07 05:20:09 +04:00
|
|
|
- name: Build
|
2022-07-19 07:48:31 +04:00
|
|
|
run: cmake --build build/
|