[vlc-commits] [Git][videolan/vlc][master] extras: ci: allow wasm-shared building

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed May 13 09:09:03 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5b2c3d63 by Khalid Masum at 2026-05-13T08:13:11+00:00
extras: ci: allow wasm-shared building

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -651,7 +651,7 @@ android-x86_64:
 # Webassembly
 #
 
-wasm32-emscripten-build :
+.wasm32-emscripten-common :
     extends: .base-template
     variables: *variables-emscripten-wasm32
     image:
@@ -667,8 +667,17 @@ wasm32-emscripten-build :
             if [ "${CI_COMMIT_BRANCH}" = "${CI_DEFAULT_BRANCH}" -a "${CI_PROJECT_PATH}" = "videolan/vlc" ]; then
                 EXTRA_BUILD_FLAGS="${EXTRA_BUILD_FLAGS} --gen-contrib-archive"
             fi
+            if [[ $CI_JOB_NAME == *"shared"* ]]; then
+                EXTRA_BUILD_FLAGS="${EXTRA_BUILD_FLAGS} --enable-shared"
+            fi
             ./extras/package/wasm-emscripten/build.sh $EXTRA_BUILD_FLAGS
 
+wasm32-emscripten-build :
+    extends: .wasm32-emscripten-common
+
+wasm32-emscripten-build-shared :
+    extends: .wasm32-emscripten-common
+
 #
 # VLC Documentation
 #



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5b2c3d633684ad1388399169e3986ab06a367f94

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5b2c3d633684ad1388399169e3986ab06a367f94
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list