From 554f8977f4c638c52b6d08b38f481068bcae2c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wierci=C5=84ski?= Date: Thu, 10 Oct 2024 14:41:34 +0200 Subject: [PATCH] Coin: Build WebAssembly for dynamic linking in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are planning to push WebAssembly dynamic linking out of technical preview. Building this version on CI is natural step. This is minimal build, without tests and examples which will be added in future after testing. Change-Id: I2407121cd029f9640b69175a134c911cf8900f5e Reviewed-by: Morten Johan Sørvig --- coin/platform_configs/cmake_platforms_wasm.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/coin/platform_configs/cmake_platforms_wasm.yaml b/coin/platform_configs/cmake_platforms_wasm.yaml index 846afb3b..1cc5b081 100644 --- a/coin/platform_configs/cmake_platforms_wasm.yaml +++ b/coin/platform_configs/cmake_platforms_wasm.yaml @@ -40,3 +40,17 @@ Configurations: 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include', 'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON' ] +- + Id: 'webassembly-linux-shared' + Template: 'qtci-linux-openSUSE-15.5-x86_64-52' + Target os: 'WebAssembly' + Compiler: 'GCC' + Platform dependency: 'opensuse-15.5-developer-build' + Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM'] + Environment variables: [ + 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', + 'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -no-feature-thread -nomake tests -nomake examples -shared', + 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include', + 'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON' + ] +