Add Javascript to CI (export template, release).

This commit is contained in:
Fabio Alessandrelli 2020-03-08 02:13:59 +01:00
parent aa8c825855
commit 0f78113529
1 changed files with 15 additions and 0 deletions

View File

@ -117,6 +117,16 @@ matrix:
packages:
- *linux_deps
- name: Javascript export template (release, emscripten latest)
stage: build
env: PLATFORM=javascript TOOLS=no TARGET=release CACHE_NAME=${PLATFORM}-emcc-latest EXTRA_ARGS="module_glslang_enabled=no"
os: linux
compiler: clang
addons:
apt:
packages:
- *linux_deps
before_install:
- eval "${MATRIX_EVAL}"
- if [ "$STATIC_CHECKS" = "yes" ]; then
@ -135,6 +145,11 @@ install:
java -version;
misc/travis/android-tools-linux.sh;
fi
- if [ "$PLATFORM" = "javascript" ]; then
git clone --depth 1 "https://github.com/emscripten-core/emsdk.git";
./emsdk/emsdk install latest;
./emsdk/emsdk activate latest;
fi
before_script:
- if [ "$PLATFORM" = "android" ]; then