Commit b161c9ba44b17e2873b4497b5f18553861d25ac6

Charlie Birks 2021-08-14T16:30:37

CI: Add Emscripten build

diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml
new file mode 100644
index 0000000..633c391
--- /dev/null
+++ b/.github/workflows/emscripten.yml
@@ -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/