CI: Add Emscripten build

This commit is contained in:
Charlie Birks 2021-08-14 16:30:37 +01:00 committed by Ozkan Sezer
parent 402b86f2a8
commit b161c9ba44

16
.github/workflows/emscripten.yml vendored Normal file
View File

@ -0,0 +1,16 @@
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
run: emcmake cmake -B build
- name: Build
run: cmake --build build/