-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (38 loc) · 1.04 KB
/
emscripten.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: emscripten-build
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emsdk_ver: ["3.1.45"]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: nxtgm
create-args: >-
microsoft::playwright
python
nodejs
init-shell: bash
################################################################
# setup emsdk
################################################################
- name: "setup emsdk"
shell: bash -el {0}
run: |
./emsdk/setup_emsdk.sh ${{ matrix.emsdk_ver }} ~/emsdk_install
- name: Build via npm
shell: bash -el {0}
run: |
npm run build_wasm
npm run prepare
npm run build