mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 01:36:32 +08:00
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 <morten.sorvig@qt.io>
57 lines
2.8 KiB
YAML
57 lines
2.8 KiB
YAML
Version: 2
|
|
Configurations:
|
|
-
|
|
Id: 'webassembly-linux-thread-asyncify'
|
|
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
|
Target os: 'WebAssembly'
|
|
Compiler: 'GCC'
|
|
Platform dependency: 'opensuse-15.5-developer-build'
|
|
Features: ['Sccache', 'DoNotRunTests', 'UseConfigure']
|
|
Environment variables: [
|
|
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
|
"TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread \
|
|
-DQT_QMAKE_DEVICE_OPTIONS=\"QT_EMSCRIPTEN_ASYNCIFY=1\""
|
|
]
|
|
-
|
|
Id: 'webassembly-windows'
|
|
Template: 'qtci-windows-10_22H2-x86_64-52'
|
|
Target os: 'WebAssembly'
|
|
Compiler: 'Mingw'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'windows-10_22h2-mingw13'
|
|
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Environment variables: [
|
|
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
|
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
|
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples',
|
|
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
|
]
|
|
-
|
|
Id: 'webassembly-linux-thread'
|
|
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 -nomake examples -feature-thread',
|
|
'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'
|
|
]
|
|
|