Add web workflow to build Repl with Emscripten

This commit is contained in:
Arseny Kapoulkine 2021-11-21 19:40:09 -08:00
parent ec8a5643cc
commit 239605b8fa

View file

@ -83,3 +83,22 @@ jobs:
with:
name: coverage
path: coverage
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
repository: emscripten-core/emsdk
path: emsdk
- name: emsdk install
run: |
cd emsdk
./emsdk install latest
./emsdk activate latest
- name: make
run: |
source emsdk/emsdk_env.sh
emcmake cmake . -DCMAKE_BUILD_TYPE=Release
make -j2 Luau.Repl.CLI