We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faeef64 commit 2823194Copy full SHA for 2823194
.github/workflows/cmake-emscripten.yml
@@ -0,0 +1,32 @@
1
+name: Emscripten
2
+
3
+on: [push]
4
5
+concurrency:
6
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7
+ cancel-in-progress: true
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ type: [Debug, Release]
16
17
+ env:
18
+ BUILD_TYPE: ${{ matrix.type }}
19
+ BUILD_PATH: ${{ github.workspace }}/build/web/${{ matrix.type }}
20
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - uses: mymindstorm/setup-emsdk@v10
24
25
+ - name: Test Emscripten
26
+ run: emcc -v
27
28
+ - name: Configure CMake
29
+ run: emcmake cmake -B ${{ env.BUILD_PATH }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
30
31
+ - name: Build
32
+ run: cmake --build ${{ env.BUILD_PATH }} --config ${{ env.BUILD_TYPE }}
0 commit comments