mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Add web workflow to build Repl with Emscripten
This commit is contained in:
parent
ec8a5643cc
commit
239605b8fa
1 changed files with 19 additions and 0 deletions
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue