Browse Source

CI: Add Emscripten build

Charlie Birks 3 years ago
parent
commit
b161c9ba44
1 changed files with 16 additions and 0 deletions
  1. 16 0
      .github/workflows/emscripten.yml

+ 16 - 0
.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/