Commit 9ace5912 authored by Mehdi Sabwat's avatar Mehdi Sabwat Committed by Hugo Beauzée-Luyssen
Browse files

ci : add wasm32-emscripten job

parent d47a0f27
......@@ -20,6 +20,7 @@ variables:
VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android:20210730131708
VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-focal:20210611174203
VLC_RASPBIAN_IMAGE: registry.videolan.org/vlc-debian-raspbian:20200213203125
VLC_WASM_EMSCRIPTEN: registry.videolan.org/vlc-debian-wasm-emscripten:20210601090557
.variables-debian: &variables-debian
HOST_ARCH: x86_64
......@@ -102,6 +103,11 @@ variables:
ANDROID_ARCH: x86_64
TRIPLET: x86_64-linux-android
.variables-emscripten-wasm32: &variables-emscripten-wasm32
HOST_ARCH: wasm32
TRIPLET: $HOST_ARCH-unknown-emscripten
EMSDK_VERSION: 2.0.23
# Common rules
.base-template:
stage: build
......@@ -457,6 +463,24 @@ android-x86_64:
extends: .android-common
variables: *variables-android-x86_64
#
# Webassembly
#
wasm32-emscripten-build :
extends: .docker-template
variables: *variables-emscripten-wasm32
image:
name: $VLC_WASM_EMSCRIPTEN
script:
- source $EMSCRIPTEN_SDK/emsdk_env.sh
- |
if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then
./extras/package/wasm-emscripten/build.sh --with-prebuilt-contribs
else
./extras/package/wasm-emscripten/build.sh --gen-contrib-archive
fi
#
# VLC Documentation
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment