mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +08:00
All targets should have ID. This way it's easier to refer to needed
target
Change-Id: I0af8399c3a4c436ab1e778ab4396c65ccd3a373b
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 92ae8eb4ca)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
45 lines
2.2 KiB
YAML
45 lines
2.2 KiB
YAML
Version: 2
|
|
Configurations:
|
|
-
|
|
Id: 'webassembly-linux-thread-asyncify'
|
|
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
|
Target os: 'WebAssembly'
|
|
Compiler: 'GCC'
|
|
Platform dependency: 'opensuse-15.4-developer-build'
|
|
Features: ['Sccache', 'DisableTests']
|
|
Environment variables: [
|
|
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
|
'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_thread=ON -DQT_QMAKE_DEVICE_OPTIONS="QT_EMSCRIPTEN_ASYNCIFY=1"',
|
|
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
|
-
|
|
Id: 'webassembly-windows'
|
|
Template: 'qtci-windows-10_22H2-x86_64-50'
|
|
Target os: 'WebAssembly'
|
|
Compiler: 'Mingw'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'windows-10_22h2-mingw11'
|
|
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
|
Environment variables: [
|
|
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW1120}}\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}}',
|
|
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
|
'CONAN_PROFILE=coin/conan/profiles/ci-windows-webassembly-x86_64-clang',
|
|
]
|
|
-
|
|
Id: 'webassembly-macos-thread'
|
|
Template: 'qtci-macos-12-x86_64-105'
|
|
Target os: 'WebAssembly'
|
|
Compiler: 'Clang'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
|
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',
|
|
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
|
]
|