mirror of
git://code.qt.io/qt/qt5.git
synced 2026-09-04 16:27:38 +08:00
Compare commits
139 Commits
v6.12.0-beta4
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ad4448629 | |||
| 81c7c49f23 | |||
| 6683a395e8 | |||
| 6920b96315 | |||
| e96543ec42 | |||
| eaa6423f36 | |||
| 33df950977 | |||
| cb8860d23a | |||
| 6b51154f65 | |||
| b03667a922 | |||
| 7fdc3c2e63 | |||
| 790d69eff5 | |||
| df694084d7 | |||
| 51aab48f53 | |||
| 0e12d8a718 | |||
| 204528c5bd | |||
| 2b92278152 | |||
| 333b23bd43 | |||
| 9ed1386484 | |||
| 1a8bf86bf7 | |||
| 49c5952b0c | |||
| 092792a1f4 | |||
| 295083dd9b | |||
| 8732522eea | |||
| aea8ccd137 | |||
| d4992d4da4 | |||
| e9ce684743 | |||
| c899623a25 | |||
| 3ed07a35b3 | |||
| dd170ab8a4 | |||
| f86d819c55 | |||
| 906b43060f | |||
| 78e1c81b1e | |||
| ab868d79a0 | |||
| 6326e57a40 | |||
| a60717f3fa | |||
| 065d6d06d9 | |||
| fec1887c6e | |||
| cdadd80b87 | |||
| 8804b39aa5 | |||
| 3ea33c05bf | |||
| f0a6bdb87e | |||
| a20ee395b0 | |||
| f408aa690a | |||
| 0979c63ba8 | |||
| 80f542aa53 | |||
| 4d6a473bed | |||
| 4bb35ed3bb | |||
| 65104d023e | |||
| 20c9b61cf6 | |||
| b49f3297b8 | |||
| 81f3a57d3b | |||
| 6f4085c84d | |||
| 14aeaae7de | |||
| b679f634ea | |||
| 9136724f2e | |||
| 44aa931e29 | |||
| dd13fa7b41 | |||
| d4fc6f01a9 | |||
| c425276693 | |||
| 654c9c2b03 | |||
| 8e218fec47 | |||
| 444670374a | |||
| 02df2a107d | |||
| 42370c3e0b | |||
| 34e6afee88 | |||
| eb6aff6f96 | |||
| 5a7814e918 | |||
| 41b759dba7 | |||
| 9969af72b5 | |||
| 4549003489 | |||
| d059dc0446 | |||
| cb7d1367be | |||
| 862c3df5bf | |||
| e37b588b62 | |||
| 28c27e1256 | |||
| 129c6abe37 | |||
| b5af653382 | |||
| ed632de606 | |||
| 8f3e7cd7eb | |||
| e84b449ab5 | |||
| fc6d6d66cc | |||
| 341fe4e602 | |||
| 42039d0819 | |||
| b7a2e3ba1c | |||
| 9b7e7d5852 | |||
| 99c69904b8 | |||
| adcff73e24 | |||
| 609c6903c7 | |||
| 156feaa139 | |||
| f898c700d3 | |||
| 7c5594ea08 | |||
| bb7ae5f3dc | |||
| 75db654544 | |||
| 2882b5615b | |||
| 87c2d0b629 | |||
| adc52dde71 | |||
| 3f495a95ee | |||
| 6282a3fd8a | |||
| 01ed52ad4c | |||
| 5e9c31fe74 | |||
| 6cecda38fa | |||
| 75a537b6d5 | |||
| c0e391423d | |||
| 4f97b4bea8 | |||
| a377574e66 | |||
| 74d1e3a4c8 | |||
| 526a09e46a | |||
| b002b0fde9 | |||
| 640b9c2ea2 | |||
| 3275891741 | |||
| 6a6f4fa55e | |||
| d6315c6f58 | |||
| b684ef99a6 | |||
| ce75c3c977 | |||
| 5d41389310 | |||
| b3e3927f22 | |||
| 50086ff8f3 | |||
| c22a682b4f | |||
| 6ead7af28d | |||
| 2b6e156008 | |||
| 00177db989 | |||
| 23c201ac4e | |||
| 41986ce213 | |||
| 596f204006 | |||
| a10af2c0e8 | |||
| cc750dc924 | |||
| 4826d56e8d | |||
| d6ac43b433 | |||
| 8d4971fd6e | |||
| d43a68e9b4 | |||
| 393b7adc1f | |||
| 38e3864f3e | |||
| 4df5cb5b02 | |||
| f505ed1baf | |||
| ec2e17e25d | |||
| 36efc0bfb0 | |||
| f0ab3c330f | |||
| 9448447668 |
+1
-10
@@ -45,7 +45,7 @@
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
depends = qtdeclarative qttools
|
||||
recommends = qtmultimedia qtshadertools qttasktree qtwebengine
|
||||
recommends = qtmultimedia qtshadertools qttasktree
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = dev
|
||||
@@ -139,17 +139,8 @@
|
||||
url = ../qtwebchannel.git
|
||||
branch = dev
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = dev
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = dev
|
||||
|
||||
@@ -181,6 +181,7 @@ function(qt_ir_clone_one_submodule submodule_name)
|
||||
set(oneValueArgs
|
||||
ALTERNATES
|
||||
BASE_URL
|
||||
DEPTH
|
||||
WORKING_DIRECTORY
|
||||
)
|
||||
set(multiValueArgs "")
|
||||
@@ -263,6 +264,9 @@ function(qt_ir_clone_one_submodule submodule_name)
|
||||
else()
|
||||
list(APPEND clone_args --no-checkout)
|
||||
endif()
|
||||
if(arg_DEPTH)
|
||||
list(APPEND clone_args --depth "${arg_DEPTH}")
|
||||
endif()
|
||||
list(APPEND clone_args ${progress_args})
|
||||
qt_ir_execute_process_and_log_and_handle_error(
|
||||
COMMAND_ARGS git clone ${clone_args} "${mirror_or_original_url}" "${submodule_path}"
|
||||
@@ -324,7 +328,7 @@ function(qt_ir_get_already_initialized_submodules prefix
|
||||
)
|
||||
|
||||
qt_ir_parse_git_config_file_contents("${prefix}"
|
||||
READ_GIT_CONFIG
|
||||
READ_GIT_CONFIG_LOCAL
|
||||
PARENT_REPO_BASE_GIT_PATH "${parent_repo_base_git_path}"
|
||||
WORKING_DIRECTORY "${working_directory}"
|
||||
)
|
||||
@@ -1063,6 +1067,7 @@ function(qt_ir_handle_init_submodules prefix)
|
||||
set(oneValueArgs
|
||||
ALTERNATES
|
||||
BASE_URL
|
||||
DEPTH
|
||||
PARENT_REPO_BASE_GIT_PATH
|
||||
WORKING_DIRECTORY
|
||||
)
|
||||
@@ -1123,6 +1128,7 @@ function(qt_ir_handle_init_submodules prefix)
|
||||
qt_ir_clone_one_submodule(${submodule_name}
|
||||
ALTERNATES ${arg_ALTERNATES}
|
||||
BASE_URL ${arg_BASE_URL}
|
||||
DEPTH "${arg_DEPTH}"
|
||||
WORKING_DIRECTORY "${working_directory}"
|
||||
${branch_flag}
|
||||
${fetch_flag}
|
||||
@@ -1163,6 +1169,7 @@ function(qt_ir_handle_init_submodules prefix)
|
||||
SUBMODULES "all"
|
||||
|
||||
BASE_URL "${base_url}"
|
||||
DEPTH "${arg_DEPTH}"
|
||||
PARENT_REPO_BASE_GIT_PATH "${submodule_base_git_path}"
|
||||
WORKING_DIRECTORY "${working_directory}/${submodule_name}"
|
||||
|
||||
|
||||
@@ -122,6 +122,16 @@ Options:
|
||||
|
||||
Note that this negates the disk usage benefits gained from the use
|
||||
of `--alternates'.
|
||||
|
||||
--depth <n>
|
||||
Creates a shallow clone with a history truncated to <n> commits for
|
||||
each submodule that is cloned, by passing `--depth <n>' to `git
|
||||
clone'. This also applies recursively to submodules of submodules
|
||||
(e.g. qtwebengine's third-party dependencies).
|
||||
|
||||
This option only affects submodules that are freshly cloned; it has
|
||||
no effect on already-cloned submodules that are merely updated or
|
||||
fetched.
|
||||
--mirror <url-base>
|
||||
Uses <url-base> as the base URL for submodule git mirrors.
|
||||
|
||||
|
||||
@@ -142,6 +142,7 @@ function(qt_ir_get_args_from_optfile_configure_filtered optfile_path out_var)
|
||||
qt_ir_get_top_level_submodules(include_submodules exclude_submodules)
|
||||
if(NOT include_submodules AND arg_ALREADY_INITIALIZED)
|
||||
string(REPLACE "," ";" include_submodules "${submodules}")
|
||||
list(FILTER include_submodules EXCLUDE REGEX "^$")
|
||||
endif()
|
||||
|
||||
# qtrepotools is always implicitly cloned, but it doesn't actually
|
||||
@@ -311,6 +312,7 @@ function(qt_ir_run_after_args_parsed top_level_src_path out_var_exit_reason)
|
||||
# Get some additional options to pass down.
|
||||
qt_ir_get_option_as_existing_absolute_path(alternates alternates)
|
||||
qt_ir_get_option_as_cmake_flag_option(branch "CHECKOUT_BRANCH" checkout_branch_option)
|
||||
qt_ir_get_option_value(depth depth)
|
||||
|
||||
# The prefix for the cmake-style 'dictionary' that will be used by various functions.
|
||||
set(prefix "ir_top")
|
||||
@@ -320,6 +322,7 @@ function(qt_ir_run_after_args_parsed top_level_src_path out_var_exit_reason)
|
||||
ALTERNATES "${alternates}"
|
||||
ALREADY_INITIALIZED_SUBMODULES "${already_initialized_submodules}"
|
||||
BASE_URL "${base_url}"
|
||||
DEPTH "${depth}"
|
||||
PARENT_REPO_BASE_GIT_PATH "${qt5_repo_name}"
|
||||
PROCESS_SUBMODULES_FROM_COMMAND_LINE
|
||||
WORKING_DIRECTORY "${working_directory}"
|
||||
|
||||
@@ -16,6 +16,7 @@ macro(qt_ir_set_known_command_line_options)
|
||||
qt_ir_commandline_option(codereview-username TYPE string)
|
||||
qt_ir_commandline_option(codereview-https TYPE boolean)
|
||||
qt_ir_commandline_option(copy-objects TYPE boolean)
|
||||
qt_ir_commandline_option(depth TYPE string)
|
||||
qt_ir_commandline_option(fetch TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(force SHORT_NAME f TYPE boolean)
|
||||
qt_ir_commandline_option(force-hooks TYPE boolean)
|
||||
|
||||
@@ -60,7 +60,7 @@ endfunction()
|
||||
# Populates $out_module_list with all subdirectories that have a CMakeLists.txt file
|
||||
function(qt_internal_find_modules out_module_list)
|
||||
set(module_list "")
|
||||
file(GLOB directories LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *)
|
||||
file(GLOB directories LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" qt* tqtc-*)
|
||||
foreach(directory IN LISTS directories)
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${directory}"
|
||||
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${directory}/CMakeLists.txt")
|
||||
@@ -1386,7 +1386,7 @@ function(qt_internal_foreach_repo_run)
|
||||
|
||||
set(color_supported FALSE)
|
||||
set(output_goes_where "")
|
||||
if(NOT tty_exit_CODE AND tty_name)
|
||||
if(NOT tty_exit_code AND tty_name)
|
||||
set(color_supported TRUE)
|
||||
set(output_goes_where "OUTPUT_FILE" "${tty_name}")
|
||||
endif()
|
||||
|
||||
@@ -30,3 +30,6 @@ enable_if:
|
||||
- condition: property
|
||||
property: target.os
|
||||
equals_value: Linux
|
||||
- condition: property
|
||||
property: target.osVersion
|
||||
not_equals_value: HarmonyOS_ANY
|
||||
|
||||
@@ -16,6 +16,13 @@ instructions:
|
||||
variableName: CONFIGURE_ENV_PREFIX
|
||||
variableValue: "{{.Env.ENV_PREFIX}}"
|
||||
|
||||
# Re-fetch the qlitehtml repository in the Coin git mirror, otherwise the
|
||||
# RunCMake.InitRepository test might fail trying to checkout a newer sha1 than what is
|
||||
# available in the Coin git mirror.
|
||||
- type: UpdateRepo
|
||||
gitRemote: code.qt.io
|
||||
repos: [playground/qlitehtml.git]
|
||||
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.CONFIGURE_ENV_PREFIX}} cmake {{.SourceDir}}/tests/manual/RunCMake"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'opensuse-15.6-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Id: 'opensuse-16.0-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
|
||||
@@ -3,6 +3,7 @@ Include: [
|
||||
cmake_platforms_qemu.yaml,
|
||||
cmake_platforms_qemu_qnx.yaml,
|
||||
cmake_platforms_target_android.yaml,
|
||||
cmake_platforms_target_harmonyos.yaml,
|
||||
cmake_platforms_wasm.yaml,
|
||||
macos.yaml
|
||||
]
|
||||
@@ -58,11 +59,11 @@ Configurations:
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -no-feature-liburing -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DINPUT_tiff=qt -DINPUT_webp=qt',
|
||||
'VCPKG_HOST_TRIPLET=arm64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-linux-qt',
|
||||
]
|
||||
@@ -130,24 +131,11 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
-
|
||||
Id: 'opensuse-15.6-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
-
|
||||
Id: 'opensuse-16.0-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
@@ -185,7 +173,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'Packaging', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
@@ -227,6 +215,26 @@ Configurations:
|
||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-arm64ec'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-72'
|
||||
Compiler: 'MSVC2026'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'ARM64EC', 'TargetBuildOnly', 'DoNotRunTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24H2-msvc2026'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64ec-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_FEATURE_qdoc=OFF -DFEATURE_qtwebengine_build=OFF -DFEATURE_qtpdf_build=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-arm64ec-tests'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['TestOnly', 'InsignificantTests']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2026-arm64ec'
|
||||
-
|
||||
Id: 'windows-11_23h2-arm64-msvc2022'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
@@ -245,7 +253,7 @@ Configurations:
|
||||
Id: 'windows-11_23h2-arm64-msvc2026'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Features: ['Sccache', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
@@ -257,11 +265,11 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-arm64'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
@@ -282,7 +290,7 @@ Configurations:
|
||||
Compiler: 'MSVC2026'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
@@ -298,22 +306,31 @@ Configurations:
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11-x86_64-arm64-tests'
|
||||
Id: 'windows-11-x86_64-arm64-native-tests'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'BuildTestsInTest', 'UseToolchainFromTargetDir']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2022-arm64'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
||||
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
||||
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
||||
'VCPKG_HOST_TRIPLET=arm64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11-x86_64-msvc2026-arm64-tests'
|
||||
Id: 'windows-11-x86_64-arm64-tests-msvc2026'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Features: ['TestOnly']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2026-arm64'
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
@@ -330,10 +347,10 @@ Configurations:
|
||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -no-feature-liburing -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DINPUT_tiff=qt -DINPUT_webp=qt',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
@@ -341,7 +358,7 @@ Configurations:
|
||||
Id: 'rhel-10.0'
|
||||
Template: 'qtci-linux-RHEL-10.0-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM', 'DoNotAbortTestingOnFirstFailure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
@@ -350,7 +367,7 @@ Configurations:
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
-
|
||||
Id: 'ios-universal'
|
||||
Id: 'ios-device'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
@@ -359,7 +376,35 @@ Configurations:
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphoneos',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'ios-arm64-simulator'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphonesimulator',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="arm64"',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'ios-x86_64-simulator'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphonesimulator',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64"',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
@@ -375,8 +420,8 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -no-warnings-are-errors -nomake examples -nomake tests -platform macx-visionos-clang',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24h2-mingw13'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Id: 'windows-11_24h2-mingw15'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
@@ -389,7 +434,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-llvm'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
@@ -401,8 +446,8 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Id: 'windows-11_24H2-mingw15-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
|
||||
@@ -419,7 +464,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.11_dev',
|
||||
'DEBIAN_RULES_REF=6.12_dev',
|
||||
'COIN_TARGET_DIST=tqtc-jammy',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=jammy-arm64-sbuild',
|
||||
@@ -432,7 +477,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.11_dev',
|
||||
'DEBIAN_RULES_REF=6.12_dev',
|
||||
'COIN_TARGET_DIST=tqtc-jammy',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=jammy-amd64-sbuild',
|
||||
@@ -445,7 +490,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.11_gles',
|
||||
'DEBIAN_RULES_REF=6.12_gles',
|
||||
'COIN_TARGET_DIST=tqtc-bookworm',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=bookworm-arm64-sbuild',
|
||||
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-4.3.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -31,7 +31,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-4.3.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -50,7 +50,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-4.3.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
|
||||
@@ -12,8 +12,8 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.30.5/bin',
|
||||
'QNX_TEST_ENV=TMPDIR=/data/var/tmp LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'QT_CMAKE_DIR=/opt/cmake-4.3.2/bin',
|
||||
'QNX_TEST_ENV=TMPDIR=/data/var/tmp HOME=/data/home/root FONTCONFIG_FILE=/data/var/etc/fontconfig/fonts.conf LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_SYSTEM_VERSION=710 -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'QNX_QEMU={{.Env.QNX_710_QEMU}}',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
@@ -63,8 +63,8 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_800}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.30.5/bin',
|
||||
'QNX_TEST_ENV=TMPDIR=/data/var/tmp LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'QT_CMAKE_DIR=/opt/cmake-4.3.2/bin',
|
||||
'QNX_TEST_ENV=TMPDIR=/data/var/tmp HOME=/data/home/root FONTCONFIG_FILE=/data/var/etc/fontconfig/fonts.conf LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_SYSTEM_VERSION=802 -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'QNX_QEMU={{.Env.QNX_800_QEMU}}',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_2_VSB',
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_3_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
@@ -26,8 +26,8 @@ Configurations:
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/nxp_imx8_1_0_7_0_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'WIND_CC_SYSROOT=/opt/nxp_imx8_1_0_7_1_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target'
|
||||
]
|
||||
-
|
||||
|
||||
@@ -8,10 +8,10 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'vxworks-imx6-buildtest'
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly']
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_2_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/fsl_imx6_2_0_6_2_VSB/usr/lib/common;/opt/fsl_imx6_2_0_6_2_VSB/usr/root/llvm/bin;/opt/fsl_imx6_2_0_6_2_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_3_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/fsl_imx6_2_0_6_3_VSB/usr/lib/common;/opt/fsl_imx6_2_0_6_3_VSB/usr/root/llvm/bin;/opt/fsl_imx6_2_0_6_3_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
@@ -25,7 +25,7 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'vxworks-x86_64-buildtest'
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly']
|
||||
Features: ['VMSize16', 'UseConfigure', 'BuildTestsInTest', 'TestOnly', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/itl_generic_skylake_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/itl_generic_skylake_VSB/usr/lib/common;/opt/itl_generic_skylake_VSB/usr/root/llvm/bin;/opt/itl_generic_skylake_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
|
||||
@@ -3,7 +3,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-minimal-static-test'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++20 -no-feature-sql-psql'
|
||||
|
||||
@@ -13,7 +13,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-minimal-static'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
||||
@@ -27,7 +27,20 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'macos-minimal-static'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'
|
||||
|
||||
-
|
||||
Id: "ios-minimal-static"
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang'
|
||||
]
|
||||
|
||||
@@ -17,12 +17,12 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'android-armv7-on-windows'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
@@ -63,9 +63,9 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_USE_ANDROID_MODERN_BUNDLE only in one
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_ANDROID_GRADLE_MULTI_MODULE only in one
|
||||
# configuration, to ensure builds without this option work too.
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_ANDROID_GRADLE_MULTI_MODULE=ON',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_36'
|
||||
]
|
||||
@@ -82,9 +82,9 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_USE_ANDROID_MODERN_BUNDLE only in one
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_ANDROID_GRADLE_MULTI_MODULE only in one
|
||||
# configuration, to ensure builds without this option work too.
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_ANDROID_GRADLE_MULTI_MODULE=ON',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_37'
|
||||
]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'harmonyos-20-arm64-on-ubuntu-24.04-x64'
|
||||
Id: 'harmonyos-23-arm64-on-linux'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
@@ -11,12 +11,13 @@ Configurations:
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'Packaging', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -nomake examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT}} -DOHOS_ABI=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT}} -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}'
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR=/opt/harmonyos/command-line-tools/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-20-arm64-on-ubuntu-24.04-x64-developer-build'
|
||||
Id: 'harmonyos-23-arm64-on-linux-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
@@ -25,8 +26,25 @@ Configurations:
|
||||
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT}} -DOHOS_ABI=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -make examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT}} -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}'
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR=/opt/harmonyos/command-line-tools/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-macos'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -make examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT}} -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR=/opt/harmonyos/command-line-tools/bin/hvigorw'
|
||||
]
|
||||
|
||||
@@ -2,19 +2,6 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['DoNotRunTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
"TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread \
|
||||
-feature-exceptions -DQT_QMAKE_DEVICE_OPTIONS=\"QT_EMSCRIPTEN_ASYNCIFY=1\"",
|
||||
'HEADLESS_CHROME_FOR_TESTING=true'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
@@ -28,11 +15,11 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-windows'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Features: ['Packaging','DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
@@ -43,10 +30,10 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Platform dependency: 'opensuse-16.0-developer-build'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
@@ -54,34 +41,8 @@ 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-thread-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-16.0-developer-build'
|
||||
Features: ['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.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['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'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-shared-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: "ios-tests-on-macos"
|
||||
Template: 'qtci-macos-15-arm-104'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang'
|
||||
]
|
||||
@@ -9,7 +9,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-universal-on-arm64'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
@@ -41,9 +41,8 @@ Configurations:
|
||||
Id: 'macos-26-x86_64-tests'
|
||||
Template: 'qtci-macos-26-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging', 'DoNotAbortTestingOnFirstFailure']
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
||||
|
||||
# And arm64
|
||||
|
||||
@@ -81,6 +80,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'QTBASE_EXAMPLES_CMAKE_ARGS=-DQT_BUILD_EXAMPLES_AS_EXTERNAL=ON',
|
||||
]
|
||||
-
|
||||
Id: 'macos-arm64-developer-build'
|
||||
@@ -126,4 +126,3 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-26-arm64-developer-build'
|
||||
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-9.6',
|
||||
'windows-11_24h2-mingw13'
|
||||
'windows-11_24h2-mingw15'
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
'android-15-x86_64-on-linux',
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-9.6',
|
||||
'windows-11_24h2-mingw13'
|
||||
'windows-11_24h2-mingw15'
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
'android-15-x86_64-on-linux',
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-developer-build-cxx23'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++23'
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-24.04-x64-developer-build"
|
||||
],
|
||||
cmake_platforms_target_harmonyos.yaml: [
|
||||
"harmonyos-23-arm64-on-linux-developer-build"
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux-developer-build'
|
||||
-Features: ['DoNotRunTests']
|
||||
@@ -0,0 +1,15 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-24.04-x64"
|
||||
],
|
||||
cmake_platforms_target_harmonyos.yaml: [
|
||||
"harmonyos-23-arm64-on-linux"
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux'
|
||||
-Features: ['DoNotRunTests']
|
||||
@@ -0,0 +1,24 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ios-arm64-simulator"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ios-26-simulator-tests'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Platform dependency: 'ios-arm64-simulator'
|
||||
Features: ['TestOnly', 'Insignificant', 'DoNotAbortTestingOnFirstFailure']
|
||||
Environment variables: [
|
||||
'APPLE_SIMULATOR_DEVICE_TYPE=com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M4-8GB',
|
||||
]
|
||||
Overrides:
|
||||
-
|
||||
Id: 'ios-arm64-simulator'
|
||||
-Features: ['DisableTests']
|
||||
+Features: ['DoNotRunTests']
|
||||
@@ -0,0 +1,14 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'ubuntu-22.04'
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ubuntu-22.04-Axivion'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'VMSize16', 'RunAsPlatformDependency', 'PysideAxivion']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
@@ -1,18 +1,18 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'windows-11_24h2-mingw13'
|
||||
'windows-11_24h2-mingw15'
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-windows'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Features: ['DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
|
||||
@@ -2,11 +2,14 @@ Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04"
|
||||
'ubuntu-22.04'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ubuntu-22.04'
|
||||
Features: ['Axivion', 'DisableTests', 'UseConfigure', 'VMSize16']
|
||||
Id: 'ubuntu-22.04-Axivion'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'VMSize16', 'TestOnly']
|
||||
Environment variables: ['AXIVION_ANALYSIS=1']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ubuntu-24.04-lcov'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'lcov', 'VMSize8', 'DisableTests']
|
||||
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
]
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-unity-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests'] # note: we cannot build debug builds due to our llvm binaries
|
||||
Configure arguments: '-force-debug-info -nomake examples -qt-zlib' # disabled example builds: qmake builds fail with C1041
|
||||
|
||||
@@ -3,7 +3,7 @@ Configurations: []
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'windows-11_24H2-msvc2022-developer-build',
|
||||
'windows-11_24H2-mingw13-developer-build',
|
||||
'windows-11_24H2-mingw15-developer-build',
|
||||
'windows-11_24H2-llvm'
|
||||
]
|
||||
]
|
||||
@@ -13,7 +13,7 @@ Overrides:
|
||||
Id: 'windows-11_24H2-msvc2022-developer-build'
|
||||
Configure arguments: '-qtnamespace TestNamespace -debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
-
|
||||
Id: 'windows-11_24H2-mingw13-developer-build'
|
||||
Id: 'windows-11_24H2-mingw15-developer-build'
|
||||
Configure arguments: '-qtnamespace TestNamespace -developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
|
||||
-
|
||||
Id: 'windows-11_24H2-llvm'
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
"ubuntu-22.04-developer-build-x11-tests",
|
||||
"ubuntu-24.04-x64",
|
||||
"windows-11_24H2-msvc2022-developer-build",
|
||||
"ios-universal",
|
||||
"ios-device",
|
||||
"documentation-warnings",
|
||||
],
|
||||
macos.yaml: [
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
@@ -28,7 +28,7 @@ Configurations:
|
||||
Environment variables: []
|
||||
# without tests
|
||||
-
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
@@ -36,7 +36,7 @@ Configurations:
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
# oldest Qt version
|
||||
-
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||
Configure arguments: ''
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_harmonyos.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
linux_android_tests_multi_abi.yaml,
|
||||
wasm_qtbase_tests.yaml,
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-csharp'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesCsharp']
|
||||
|
||||
@@ -10,7 +10,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-java'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
@@ -11,7 +11,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-python'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
@@ -9,7 +9,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-rust'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
|
||||
@@ -9,7 +9,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-swift'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
||||
|
||||
@@ -12,21 +12,21 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-rust'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
|
||||
-
|
||||
Id: 'windows-quick-bridges-python'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
-
|
||||
Id: 'windows-quick-bridges-java'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
@@ -2,7 +2,6 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
wasm_qtdeclarative_tests.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
|
||||
@@ -13,6 +13,6 @@ Configurations:
|
||||
Features: ['TestOnly']
|
||||
-
|
||||
Id: 'qtgp-on-windows-24h2'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['TestOnly']
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -7,13 +7,13 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-developer-build",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.6-developer-build",
|
||||
"ubuntu-24.04-x64",
|
||||
"opensuse-16.0-developer-build",
|
||||
"sles-15_sp6-static",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-9.6",
|
||||
"windows-11_24h2-mingw13",
|
||||
"windows-11_24H2-mingw13-developer-build",
|
||||
"windows-11_24h2-mingw15",
|
||||
"windows-11_24H2-mingw15-developer-build",
|
||||
"windows-11_24H2-llvm",
|
||||
"windows-11_24H2-msvc2022",
|
||||
"windows-11_23h2-arm64-msvc2022"
|
||||
@@ -46,7 +46,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-4.3.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
|
||||
@@ -9,13 +9,12 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-developer-build",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.6-developer-build",
|
||||
"opensuse-16.0-developer-build",
|
||||
"sles-15_sp6-static",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-9.6",
|
||||
"windows-11_24h2-mingw13",
|
||||
"windows-11_24H2-mingw13-developer-build",
|
||||
"windows-11_24h2-mingw15",
|
||||
"windows-11_24H2-mingw15-developer-build",
|
||||
"windows-11_24H2-llvm",
|
||||
"windows-11_24H2-msvc2022",
|
||||
"windows-11_23h2-arm64-msvc2022"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml
|
||||
address_sanitizer_platforms.yaml,
|
||||
offline_documentation.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -46,7 +46,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-quick-bridges'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||
Configure arguments: >
|
||||
|
||||
@@ -4,7 +4,6 @@ Include: [
|
||||
"macos-universal-on-arm64",
|
||||
],
|
||||
cmake_platforms.yaml: [
|
||||
"opensuse-15.6-developer-build",
|
||||
"opensuse-16.0-developer-build",
|
||||
]
|
||||
]
|
||||
@@ -293,7 +292,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-static-quicklite'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||
Configure arguments: >
|
||||
@@ -562,141 +561,6 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'wasm-quick-minimal'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CMAKE_ARGS=
|
||||
-DCMAKE_CXX_FLAGS="-flto"
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-flto"',
|
||||
'TARGET_CONFIGURE_ARGS=
|
||||
-release
|
||||
-platform wasm-emscripten
|
||||
-nomake examples
|
||||
-nomake tests
|
||||
-feature-thread
|
||||
-optimize-size
|
||||
-static
|
||||
-ltcg
|
||||
-feature-c++20
|
||||
-disable-deprecated-up-to 0x070000
|
||||
-no-feature-sql
|
||||
-no-feature-xml
|
||||
-no-feature-printsupport
|
||||
-no-feature-dbus
|
||||
-no-feature-vnc
|
||||
-no-feature-future
|
||||
-no-feature-concurrent
|
||||
-no-feature-process
|
||||
-no-feature-processenvironment
|
||||
-no-feature-multiprocess
|
||||
-no-feature-sharedmemory
|
||||
-no-feature-permissions
|
||||
-no-feature-udpsocket
|
||||
-no-feature-localserver
|
||||
-no-feature-picture
|
||||
-no-feature-pdf
|
||||
-no-feature-accessibility
|
||||
-no-feature-clipboard
|
||||
-no-feature-draganddrop
|
||||
-no-feature-image_heuristic_mask
|
||||
-no-feature-imageformat_bmp
|
||||
-no-feature-imageformat_ppm
|
||||
-no-feature-imageformat_xbm
|
||||
-no-feature-cssparser
|
||||
-no-feature-action
|
||||
-no-feature-whatsthis
|
||||
-no-feature-vkgen
|
||||
-no-feature-backtrace
|
||||
-no-feature-stack_clash_protection
|
||||
-no-feature-mimetype
|
||||
-no-feature-textmarkdownreader
|
||||
-no-feature-textodfwriter
|
||||
-no-feature-testlib
|
||||
-no-feature-texthtmlparser
|
||||
-no-feature-textmarkdownwriter
|
||||
-no-feature-imageio-text-loading
|
||||
-no-feature-image_text
|
||||
-no-feature-proxymodel
|
||||
-no-feature-filesystemmodel
|
||||
-no-feature-wheelevent
|
||||
-no-feature-tabletevent
|
||||
-no-feature-icu
|
||||
-no-feature-systemtrayicon
|
||||
-no-feature-raster-64bit
|
||||
-no-feature-raster-fp
|
||||
-no-feature-undostack
|
||||
-no-feature-undogroup
|
||||
-no-feature-undocommand
|
||||
-no-feature-sctp
|
||||
-no-feature-dtls
|
||||
-no-feature-networkproxy
|
||||
-no-feature-getifaddrs
|
||||
-no-feature-ipv6ifname
|
||||
-no-feature-libresolv
|
||||
-no-feature-libproxy
|
||||
-no-feature-networkinterface
|
||||
-no-feature-networkdiskcache
|
||||
-no-feature-topleveldomain
|
||||
-no-feature-gssapi
|
||||
-no-feature-sha3-fast
|
||||
-no-feature-systemsemaphore
|
||||
-no-feature-gestures
|
||||
-no-feature-jalalicalendar
|
||||
-no-feature-hijricalendar
|
||||
-no-feature-islamiccivilcalendar
|
||||
-no-feature-timezone
|
||||
-no-feature-timezone_tzdb
|
||||
-no-feature-im
|
||||
-no-feature-graphicsframecapture
|
||||
-no-feature-library
|
||||
-no-feature-filesystemwatcher
|
||||
-no-feature-gif
|
||||
-no-feature-ico
|
||||
-no-feature-sessionmanager
|
||||
-no-feature-emojisegmenter
|
||||
-no-feature-egl
|
||||
-no-feature-metal
|
||||
-no-feature-vulkan
|
||||
-no-feature-openvg
|
||||
-no-feature-wasm-simd128
|
||||
-no-feature-wasm-exceptions
|
||||
-no-feature-wasm-jspi
|
||||
-no-feature-harfbuzz',
|
||||
'NON_QTBASE_CMAKE_ARGS=
|
||||
-DFEATURE_qml_network=off
|
||||
-DFEATURE_qml_ssl=off
|
||||
-DFEATURE_qml_jit=off
|
||||
-DFEATURE_qml_debug=off
|
||||
-DFEATURE_qml_preview=off
|
||||
-DFEATURE_qml_xml_http_request=off
|
||||
-DFEATURE_qml_locale=off
|
||||
-DFEATURE_qml_worker_script=off
|
||||
-DFEATURE_qml_xmllistmodel=off
|
||||
-DFEATURE_quick_canvas=off
|
||||
-DFEATURE_quick_designer=off
|
||||
-DFEATURE_quick_flipable=off
|
||||
-DFEATURE_quick_gridview=off
|
||||
-DFEATURE_quick_tableview=off
|
||||
-DFEATURE_quick_treeview=off
|
||||
-DFEATURE_quick_particles=off
|
||||
-DFEATURE_quick_pathview=off
|
||||
-DFEATURE_quick_sprite=off
|
||||
-DFEATURE_quick_draganddrop=off
|
||||
-DFEATURE_quick_pixmap_cache_threaded_download=off
|
||||
-DFEATURE_qml_table_model=off
|
||||
-DFEATURE_qml_tree_model=off
|
||||
-DFEATURE_quicktemplates2_hover=off
|
||||
-DFEATURE_quicktemplates2_multitouch=off
|
||||
-DFEATURE_quicktemplates2_calendar=off
|
||||
-DFEATURE_qdoc=off',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
-
|
||||
Id: 'wasm-quick-minimal-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -3,7 +3,7 @@ Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"documentation-warnings",
|
||||
"rhel-9.6",
|
||||
'windows-11_24h2-mingw13',
|
||||
'windows-11_24h2-mingw15',
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64'
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'ubuntu-22.04',
|
||||
'ubuntu-22.04-x11-tests',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-x64-x11-tests',
|
||||
'rhel-9.6',
|
||||
'rhel-10.0',
|
||||
'windows-11_24H2-msvc2022',
|
||||
'windows-11_24H2-msvc2026',
|
||||
'windows-11_24h2-mingw15',
|
||||
'windows-11_24H2-llvm'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64',
|
||||
'macos-14-x86_64-tests',
|
||||
'macos-15-x86_64-tests',
|
||||
'macos-26-x86_64-tests',
|
||||
'macos-14-arm64-tests',
|
||||
'macos-15-arm64-tests',
|
||||
'macos-26-arm64-tests'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -5,11 +5,21 @@ Include: [
|
||||
'ubuntu-22.04-x11-tests',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-x64-x11-tests',
|
||||
'windows-11_24H2-msvc2022'
|
||||
'rhel-9.6',
|
||||
'rhel-10.0',
|
||||
'windows-11_24H2-msvc2022',
|
||||
'windows-11_24H2-msvc2026',
|
||||
'windows-11_24h2-mingw15',
|
||||
'windows-11_24H2-llvm'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-arm64-developer-build',
|
||||
'macos-14-arm64-developer-build-tests'
|
||||
'macos-universal-on-arm64',
|
||||
'macos-14-x86_64-tests',
|
||||
'macos-15-x86_64-tests',
|
||||
'macos-26-x86_64-tests',
|
||||
'macos-14-arm64-tests',
|
||||
'macos-15-arm64-tests',
|
||||
'macos-26-arm64-tests'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,15 +2,8 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify-new'
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
|
||||
@@ -2,15 +2,8 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify-new'
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
|
||||
@@ -63,3 +63,9 @@ https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
|
||||
* Modify 'Windows Software Development Kit' from Add or remove programs
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
############################################################
|
||||
|
||||
Visual Studio 2026 and build tools were later updated to 17.14.33 in VS installer.
|
||||
This updated (Latest) MSVC components to:
|
||||
- MSVC v14.44.35211.0
|
||||
- Windows 11 SDK (10.0.26100.7705)
|
||||
.NET SDK was added
|
||||
|
||||
@@ -78,18 +78,25 @@ function InstallNdk() {
|
||||
ndkTargetFile="/tmp/$ndkFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
ndkTargetDir="$targetFolder/$ndkVersion"
|
||||
sudo mkdir -p "$ndkTargetDir"
|
||||
|
||||
DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
|
||||
echo "Unzipping Android NDK to '$targetFolder'"
|
||||
echo "Unzipping Android NDK to '$ndkTargetDir'"
|
||||
# Get the package base directory name as string
|
||||
zipBase=$(sudo zipinfo -1 "$ndkTargetFile" 2>/dev/null | awk '!seen {sub("/.*",""); print; seen=1}')
|
||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
|
||||
sudo unzip -q "$ndkTargetFile" -d "$ndkTargetDir"
|
||||
rm "$ndkTargetFile"
|
||||
androidNdkRoot="${targetFolder}/${zipBase}"
|
||||
androidNdkRoot="${ndkTargetDir}/${zipBase}"
|
||||
}
|
||||
|
||||
InstallNdk $ndkVersionLatest $ndkSha1Latest
|
||||
SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$androidNdkRoot"
|
||||
|
||||
# To be used by vcpkg
|
||||
SetEnvVar "ANDROID_NDK_HOME" "$androidNdkRoot"
|
||||
export ANDROID_NDK_HOME="$androidNdkRoot"
|
||||
|
||||
if [ "$ndkVersionPreview" != "$ndkVersionLatest" ]; then
|
||||
InstallNdk $ndkVersionPreview $ndkSha1Preview
|
||||
SetEnvVar "ANDROID_NDK_ROOT_PREVIEW" "$androidNdkRoot"
|
||||
@@ -105,10 +112,6 @@ if [ "$ndkVersionNightly2" != "$ndkVersionLatest" ]; then
|
||||
SetEnvVar "ANDROID_NDK_ROOT_NIGHTLY2" "$androidNdkRoot"
|
||||
fi
|
||||
|
||||
# To be used by vcpkg
|
||||
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersionLatest"
|
||||
export ANDROID_NDK_HOME="$targetFolder/android-ndk-$ndkVersionLatest"
|
||||
|
||||
echo "Changing ownership of Android files."
|
||||
if uname -a |grep -q "el7"; then
|
||||
sudo chown -R qt:wheel "$targetFolder"
|
||||
|
||||
@@ -252,7 +252,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-StrictIterators": {
|
||||
"_active": true
|
||||
"_active": false
|
||||
},
|
||||
"Qt-TemporaryIterator": {
|
||||
"_active": true
|
||||
|
||||
@@ -11,13 +11,26 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.30"
|
||||
version="3.30.5"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
|
||||
SHA1="61b339cac5f110d5ed2934f66a26c2e991945e01"
|
||||
majorminorversion="4.3"
|
||||
version="4.3.2"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
SHA1="736c0722ed8393b3eb74fd573f6c9c245770206a"
|
||||
arch="x86_64"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
SHA1="a173eb910c808f561422feb45fe1fe57c3e346fa"
|
||||
arch="aarch64"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-$arch.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-$arch.tar.gz"
|
||||
targetFolder="/opt/cmake-$version"
|
||||
appPrefix="cmake-$version-linux-x86_64"
|
||||
appPrefix="cmake-$version-linux-$arch"
|
||||
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -e
|
||||
|
||||
OS_STATE_DIR="/var/lib/qtciid"
|
||||
OS_STATE_FILE="$OS_STATE_DIR/os-version"
|
||||
|
||||
get_os_id() {
|
||||
if [[ -r /etc/os-release ]]; then
|
||||
# shellcheck disable=SC1091
|
||||
. /etc/os-release
|
||||
# os-release contains ID of the distro (e.g. 'ubuntu')
|
||||
# VERSION e.g. '24.04.1 LTS (Noble Numbat)'
|
||||
if [[ -n "${ID:-}" && -n "${VERSION:-}" ]]; then
|
||||
echo "${ID}:${VERSION}"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "unknown:unknown"
|
||||
return 1
|
||||
}
|
||||
|
||||
record_os_version() {
|
||||
local os_id
|
||||
|
||||
os_id="$(get_os_id)"
|
||||
|
||||
if [[ "$os_id" == "unknown:unknown" ]]; then
|
||||
echo "ERROR: Unable to determine OS version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo mkdir -p "$OS_STATE_DIR"
|
||||
echo "$os_id" | sudo tee "$OS_STATE_FILE" > /dev/null
|
||||
|
||||
echo "OS version: $os_id"
|
||||
}
|
||||
|
||||
verify_os_version_unchanged() {
|
||||
if [[ ! -f "$OS_STATE_FILE" ]]; then
|
||||
echo "ERROR: OS version state file missing: $OS_STATE_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local start_version current_version
|
||||
|
||||
start_version="$(cat "$OS_STATE_FILE")"
|
||||
current_version="$(get_os_id)"
|
||||
|
||||
if [[ "$current_version" == "unknown:unknown" ]]; then
|
||||
echo "ERROR: Unable to determine current OS version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$start_version" != "$current_version" ]]; then
|
||||
echo "ERROR: OS version changed during provisioning!"
|
||||
echo " Start version : $start_version"
|
||||
echo " End version : $current_version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "OS version unchanged ($current_version)"
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
diffutils
|
||||
make
|
||||
nasm
|
||||
yasm
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
diffutils
|
||||
libva-devel
|
||||
make
|
||||
nasm
|
||||
yasm
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
diffutils
|
||||
make
|
||||
nasm
|
||||
yasm
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
diffutils
|
||||
libva-dev
|
||||
make
|
||||
nasm
|
||||
yasm
|
||||
|
||||
Regular → Executable
+100
-13
@@ -9,18 +9,105 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SourceEnvVars.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SourceEnvVars.sh"
|
||||
|
||||
echo "Caching Gradle distribution and dependencies"
|
||||
gradleCacheFileName="gradle_9.3.1_linux_cache_v2.tar.gz"
|
||||
gradleCacheUrl="http://ci-files01-hki.ci.qt.io/input/gradle/$gradleCacheFileName"
|
||||
gradleCacheSha1="e88989d55f68e978442e567e4707a6093c829af6"
|
||||
gradleCacheFile="/tmp/$gradleCacheFileName"
|
||||
DownloadURL "$gradleCacheUrl" "$gradleCacheUrl" "$gradleCacheSha1" "$gradleCacheFile"
|
||||
mkdir -p "$HOME/.gradle"
|
||||
tar -xzf "$gradleCacheFile" -C "$HOME/.gradle" --strip-components=1
|
||||
rm "$gradleCacheFile"
|
||||
echo "Caching Gradle distributions and dependencies"
|
||||
|
||||
gradle_project_source="${BASH_SOURCE%/*}/../shared/gradle/project"
|
||||
cp -r "$gradle_project_source" /tmp/gradle_project
|
||||
cd /tmp/gradle_project
|
||||
chmod +x gradlew
|
||||
sh gradlew build
|
||||
gradleDistributionMirror="http://ci-files01-hki.ci.qt.io/input/gradle"
|
||||
gradleInitScript="init.d/nexus-mirror.gradle"
|
||||
|
||||
# Route every Gradle repository through the internal Nexus mirror.
|
||||
mkdir -p "$HOME/.gradle/init.d"
|
||||
cp "${BASH_SOURCE%/*}/../shared/gradle/$gradleInitScript" "$HOME/.gradle/$gradleInitScript"
|
||||
|
||||
# Returns the hash of the Gradle binary distribution for a given Gradle version.
|
||||
# Gradle calculates the hash as base36(md5(distributionUrl)).
|
||||
gradleDistributionHash () {
|
||||
version="$1"
|
||||
propertiesFile="$gradle_project_source/gradle/wrapper/gradle-wrapper.properties"
|
||||
|
||||
# 1. Read the project's distributionUrl.
|
||||
distributionUrl=$(grep '^distributionUrl=' "$propertiesFile")
|
||||
distributionUrl=${distributionUrl#distributionUrl=}
|
||||
# 2. Unescape the Java-properties (e.g. '\:').
|
||||
distributionUrl=${distributionUrl//\\:/:}
|
||||
# 3. Swap in the requested version while maintaining the distribution URL.
|
||||
distributionUrl=${distributionUrl/gradle-[0-9.]*-bin.zip/gradle-$version-bin.zip}
|
||||
|
||||
if command -v md5sum >/dev/null 2>&1; then
|
||||
md5Hex=$(printf '%s' "$distributionUrl" | md5sum | awk '{print $1}')
|
||||
else
|
||||
md5Hex=$(printf '%s' "$distributionUrl" | md5)
|
||||
fi
|
||||
|
||||
# Convert the md5 to base36: read it as a number, then repeatedly take the
|
||||
# next digit (number % 36) and divide by 36, prepending each digit's character.
|
||||
number=$(printf 'ibase=16; %s\n' "$(printf '%s' "$md5Hex" | tr 'a-f' 'A-F')" | bc)
|
||||
hash=""
|
||||
alphabet="0123456789abcdefghijklmnopqrstuvwxyz"
|
||||
while [ "$number" != "0" ]; do
|
||||
digit=$(printf '%s %% 36\n' "$number" | bc)
|
||||
number=$(printf '%s / 36\n' "$number" | bc)
|
||||
hash="${alphabet:$digit:1}$hash"
|
||||
done
|
||||
printf '%s' "$hash"
|
||||
}
|
||||
|
||||
# Seed a Gradle distribution binary into ~/.gradle from the internal mirror.
|
||||
seedGradleDistribution () {
|
||||
version="$1"
|
||||
sha="$2"
|
||||
|
||||
distributionDir="$HOME/.gradle/wrapper/dists/gradle-${version}-bin/$(gradleDistributionHash "$version")"
|
||||
if [ -e "$distributionDir/gradle-${version}-bin.zip.ok" ]; then
|
||||
return 0
|
||||
fi
|
||||
mkdir -p "$distributionDir"
|
||||
zip="$distributionDir/gradle-${version}-bin.zip"
|
||||
url="$gradleDistributionMirror/gradle-${version}-bin.zip"
|
||||
DownloadURL "$url" "$url" "$sha" "$zip"
|
||||
unzip -q -o "$zip" -d "$distributionDir"
|
||||
rm -f "$zip"
|
||||
touch "$distributionDir/gradle-${version}-bin.zip.ok"
|
||||
}
|
||||
|
||||
# Populate ~/.gradle/caches by priming the shared project for each Gradle and AGP profile.
|
||||
cacheGradleProfile () {
|
||||
echo "Caching Gradle profile $*"
|
||||
tmp="$(mktemp -d)"
|
||||
project="$tmp/project"
|
||||
cp -r "$gradle_project_source" "$project"
|
||||
|
||||
props="$project/gradle/wrapper/gradle-wrapper.properties"
|
||||
for kv in "$@"; do
|
||||
case "$kv" in
|
||||
gradle=*)
|
||||
sed "s#gradle-[0-9.]*-bin.zip#gradle-${kv#*=}-bin.zip#" "$props" > "$props.tmp"
|
||||
mv "$props.tmp" "$props"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
toml="$project/gradle/libs.versions.toml"
|
||||
for kv in "$@"; do
|
||||
case "$kv" in
|
||||
gradle=*) ;;
|
||||
*)
|
||||
key="${kv%%=*}"
|
||||
val="${kv#*=}"
|
||||
sed "/^\[versions\]/,/^\[/ s/^$key = .*/$key = \"$val\"/" "$toml" > "$toml.tmp"
|
||||
mv "$toml.tmp" "$toml"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
sh "$project/gradlew" --project-dir "$project" build
|
||||
rm -rf "$tmp"
|
||||
}
|
||||
|
||||
# Cache both the current and the previous versions to avoid issues during bumps.
|
||||
seedGradleDistribution 9.3.1 "b266d5ff6b90eada6dc3b20cb090e3731302e553a27c5d3e4df1f0d76beaff06"
|
||||
cacheGradleProfile gradle=9.3.1 agp=9.0.0
|
||||
seedGradleDistribution 9.5.1 "bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f"
|
||||
cacheGradleProfile gradle=9.5.1 agp=9.2.1
|
||||
|
||||
echo "Cached Gradle distributions and dependencies under $HOME/.gradle."
|
||||
|
||||
@@ -21,13 +21,12 @@ prefix="${2:-$default_prefix}"
|
||||
pkgconfig_path="$PKG_CONFIG_PATH"
|
||||
|
||||
install_ff_nvcodec_headers() {
|
||||
local nv_codec_version="11.1.5.3" # use 11.x.x.x to ensure compatibility with 470 nvidia drivers; might be upated to 12.0
|
||||
local nv_codec_url_public="https://github.com/FFmpeg/nv-codec-headers/archive/refs/tags/n$nv_codec_version.zip"
|
||||
local nv_codec_url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/nv-codec-headers/nv-codec-headers-$nv_codec_version.zip"
|
||||
local nv_codec_sha1="78715d521de102362e553dc92577bbe81905a321"
|
||||
#nv_codec_sha1="4f30539f8dd31945da4c3da32e66022f9ca59c08" // 12.0
|
||||
local nv_codec_version="12.0.16.1" # use 11.x.x.x to ensure compatibility with 520 nvidia drivers
|
||||
local nv_codec_url_public="https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.0.16.1/nv-codec-headers-$nv_codec_version.tar.gz"
|
||||
local nv_codec_url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/nv-codec-headers/nv-codec-headers-$nv_codec_version.tar.gz"
|
||||
local nv_codec_sha1="df7239777af15af5d7e563d2af0deff874c3b770"
|
||||
local target_dir="$HOME"
|
||||
local nv_codec_dir="$target_dir/nv-codec-headers-n$nv_codec_version"
|
||||
local nv_codec_dir="$target_dir/nv-codec-headers-$nv_codec_version"
|
||||
|
||||
if [ ! -d "$nv_codec_dir" ]; then
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
|
||||
@@ -17,8 +17,8 @@ APPNAME="CiNetworkTest"
|
||||
EXECPATH="${ROOT}/${APPNAME}/bin"
|
||||
EXEC="${EXECPATH}/${APPNAME}"
|
||||
URL="https://ci-files01-hki.ci.qt.io/input/networktestapp"
|
||||
TARBALL="CiNetworkTest-rhel-linux-x86_64-v1.1.tgz"
|
||||
sha256="3a23593f163ca2452546d20d56cabc81fed03c930d6d96334a22827da5a6840a"
|
||||
TARBALL="CiNetworkTest-rhel-linux-x86_64-v1.2.tgz"
|
||||
sha256="2be05baebf48ff29ebcd06a0761b2a3d92ae5a66f78d0cd953513d8271eb7f83"
|
||||
SOURCE="$URL/$TARBALL"
|
||||
InstallFromCompressedFileFromURL "$SOURCE" "" "$sha256" "$ROOT" "$PREFIX"
|
||||
|
||||
|
||||
@@ -43,11 +43,19 @@ if [ ! -d "$targetFolder" ]; then
|
||||
fi
|
||||
|
||||
# QNX SDP
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20240417.tar.xz"
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20260828.tar.xz"
|
||||
targetFile="qnx710.tar.xz"
|
||||
sha1="cd2d35004fb2798089e29d9e1226691426632da0"
|
||||
sha1="c37e6f3a49a259d450b601843a9af2818b6feb96"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
|
||||
|
||||
# IANA timezone database overlay. Packaged separately from the SDP so it can be
|
||||
# bumped without rebuilding the SDP tarball. Archive root is usr/ so the same
|
||||
# archive suits both the 7.1 and 8.0 SDP layouts.
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/zoneinfo-2026a-usr.tar.xz"
|
||||
targetFile="zoneinfo.tar.xz"
|
||||
sha1="02deef2df3513d191ee3bb3a13fd61a814d7161a"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetPath/target/qnx7"
|
||||
|
||||
sudo cp "$aarch64le_toolchain" "$targetPath"
|
||||
sudo cp "$armv7le_toolchain" "$targetPath"
|
||||
sudo cp "$x8664_toolchain" "$targetPath"
|
||||
|
||||
@@ -43,31 +43,34 @@ if [ ! -d "$targetFolder" ]; then
|
||||
fi
|
||||
|
||||
# QNX SDP
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx800-windows-linux-20260410.tar.xz"
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx800-windows-linux-20260828.tar.xz"
|
||||
targetFile="qnx800.tar.xz"
|
||||
sha1="a3fdcd98e12bc5054d00f18e4088af26288fd020"
|
||||
sha1="f44b66d91625ab33e367cfb62a2950a041607caa"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
|
||||
|
||||
# IANA timezone database overlay. Packaged separately from the SDP so it can be
|
||||
# bumped without rebuilding the SDP tarball. Archive root is qnx800/target/qnx/
|
||||
# so it overlays onto $targetFolder (/opt/) directly.
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/zoneinfo-2026a.tar.xz"
|
||||
# bumped without rebuilding the SDP tarball. Archive root is usr/ so the same
|
||||
# archive suits both the 7.1 and 8.0 SDP layouts.
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/zoneinfo-2026a-usr.tar.xz"
|
||||
targetFile="zoneinfo.tar.xz"
|
||||
sha1="8c1678ff673bb588f63fc9277497cd38e0ea2253"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
|
||||
sha1="02deef2df3513d191ee3bb3a13fd61a814d7161a"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetPath/target/qnx"
|
||||
|
||||
sudo cp "$aarch64le_toolchain" "$targetPath"
|
||||
sudo cp "$armv7le_toolchain" "$targetPath"
|
||||
sudo cp "$x8664_toolchain" "$targetPath"
|
||||
cp -R "$QNX_qemu_bld_files_dir" "$qemuTargetPath"
|
||||
# fc-match tool is missing from QNX SDP and tst_qfont requires it to work corretly
|
||||
# Download code-only package from https://www.iana.org/time-zones and follow README
|
||||
# to build tools for QNX x86_64. If need to build new tool create new qnx_qemu_utils
|
||||
# package which contains it and update required info below
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx_qemu_utils_20211208.tar.xz"
|
||||
# The SDP ships fc-cache but not fc-match, which tst_qfont needs. Build it from
|
||||
# fontconfig's fc-match/fc-match.c at the release matching the SDP's fontconfig
|
||||
# (FC_MINOR/FC_REVISION in fontconfig.h), once per arch:
|
||||
# qcc -Vgcc_ntox86_64 -O2 -o fc-match fc-match.c \
|
||||
# -DHAVE_GETOPT_LONG=1 -DHAVE_UNISTD_H=1 -lfontconfig
|
||||
# Pack as <arch>/fc-match into a new dated archive, then update below. 7.1 keeps
|
||||
# its own archive.
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx_qemu_utils_800_20260825.tar.xz"
|
||||
targetFile="qnx_qemu_utils.tar.xz"
|
||||
targetFolder="$qemuTargetPath/local/misc_files"
|
||||
sha1="7653f5d50f61f1591d7785c3ec261228ecc9dd22"
|
||||
sha1="965b957c76d4bc59c010bb0908d1fea8975179c1"
|
||||
|
||||
mkdir -p "$targetFolder"
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# Loopback — the QNX SDP's default /etc/hosts ships these, but this
|
||||
# file overrides that default. Tests that connect to http(s)://localhost
|
||||
# (e.g. tst_qhttpserver, tst_abstractoauth2) need them present.
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
|
||||
# Need to add all testserver names statically
|
||||
# as current Docker uses Multicast DNS (mDNS) (avahi)
|
||||
# Which does not work with QNX qemu
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ PATH=__IFS_PATH__:/system/xbin:.
|
||||
var/share/zoneinfo=usr/share/zoneinfo
|
||||
|
||||
[uid=0 gid=0 dperms=755 type=dir] var/share/fonts
|
||||
var/etc/fontconfig/fonts.conf=etc/fontconfig/fonts.conf
|
||||
var/etc/fontconfig/fonts.conf=etc/fonts/fonts.conf
|
||||
var/share/fonts=usr/share/fonts
|
||||
|
||||
var/etc/hosts=local/misc_files/etc/hosts
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
# local/snippets/ifs_files.custom
|
||||
# Placeholder for local list of files to add to ifs
|
||||
/usr/libexec/sshd-session=usr/libexec/sshd-session
|
||||
+2
@@ -18,6 +18,8 @@ rm -rf /data/var/share/fonts/NotoSansCJK*
|
||||
rm -rf /data/var/share/fonts/NotoSansMonoCJK*
|
||||
echo "---> Create fontconfig cache"
|
||||
fc-cache &
|
||||
# For fc-match in QFont tests
|
||||
ln -Ps /system/lib/libfontconfig.so.17 /system/lib/libfontconfig.so.1
|
||||
|
||||
# Add default route so QNX knows where to send
|
||||
# requests for unknown network
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ lib/libGLESv2.so.1=usr/lib/libGLESv2.so.1
|
||||
lib/libEGL.so.1=usr/lib/libEGL.so.1
|
||||
lib/libz.so.2=usr/lib/libz.so.2
|
||||
lib/libxml2.so.2=usr/lib/libxml2.so.2
|
||||
lib/libfreetype.so.24=usr/lib/libfreetype.so.24
|
||||
lib/libfreetype.so.26=usr/lib/libfreetype.so.26
|
||||
lib/libbz2.so.1=usr/lib/libbz2.so.1
|
||||
lib/liblzma.so.5=usr/lib/liblzma.so.5
|
||||
lib/libbacktrace.so.1=usr/lib/libbacktrace.so.1
|
||||
@@ -54,7 +54,7 @@ lib/libmmrndclient.so.1=usr/lib/libmmrndclient.so.1
|
||||
lib/libscreen.so.1=usr/lib/libscreen.so.1
|
||||
|
||||
# for fontconfig
|
||||
lib/libfontconfig.so.1=usr/lib/libfontconfig.so.1
|
||||
lib/libfontconfig.so.17=usr/lib/libfontconfig.so.17
|
||||
xbin/fc-cache=bin/fc-cache
|
||||
xbin/fc-match=local/misc_files/fc-match
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# Loopback — the QNX SDP's default /etc/hosts ships these, but this
|
||||
# file overrides that default. Tests that connect to http(s)://localhost
|
||||
# (e.g. tst_qhttpserver, tst_abstractoauth2) need them present.
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
|
||||
# Need to add all testserver names statically
|
||||
# as current Docker uses Multicast DNS (mDNS) (avahi)
|
||||
# Which does not work with QNX qemu
|
||||
|
||||
+2
-2
@@ -13,11 +13,11 @@ PATH=__IFS_PATH__:/system/xbin:.
|
||||
var/share/zoneinfo=usr/share/zoneinfo
|
||||
|
||||
[uid=0 gid=0 dperms=755 type=dir] var/share/fonts
|
||||
var/etc/fontconfig/fonts.conf=etc/fontconfig/fonts.conf
|
||||
var/etc/fontconfig/fonts.conf=etc/fonts/fonts.conf
|
||||
var/share/fonts=usr/share/fonts
|
||||
|
||||
var/etc/hosts=local/misc_files/etc/hosts
|
||||
var/etc/resolv.conf=local/misc_files/etc/resolv.conf
|
||||
var/dhcpcd/resolv.conf=local/misc_files/etc/resolv.conf
|
||||
var/etc/nsswitch.conf=etc/nsswitch.conf
|
||||
|
||||
[uid=0 gid=0 dperms=755 type=dir] var/etc/ssl/certs
|
||||
|
||||
+8
-2
@@ -28,6 +28,8 @@ lib/liblzma.so.5=usr/lib/liblzma.so.5
|
||||
lib/libdbus-1.so=usr/lib//libdbus-1.so
|
||||
lib/libdbus-1.so.22=usr/lib//libdbus-1.so.22
|
||||
lib/libbacktrace.so.1=lib/libbacktrace.so.1
|
||||
lib/libunwind-nto.so.0=usr/lib/libunwind-nto.so.0
|
||||
lib/libunwind-x86_64.so.8=usr/lib/libunwind-x86_64.so.8
|
||||
lib/libm.so.3=lib/libm.so.3
|
||||
|
||||
#############################################
|
||||
@@ -53,13 +55,17 @@ xbin/fsevmgr=sbin/fsevmgr
|
||||
##############################################
|
||||
lib/libscreen.so.1=usr/lib/libscreen.so.1
|
||||
|
||||
##############################################
|
||||
### Audio support
|
||||
##############################################
|
||||
lib/libasound.so.5=lib/libasound.so.5
|
||||
|
||||
# for fontconfig
|
||||
lib/libfontconfig.so.17=usr/lib/libfontconfig.so.17
|
||||
xbin/fc-cache=bin/fc-cache
|
||||
xbin/fc-match=local/misc_files/fc-match
|
||||
xbin/fc-match=local/misc_files/x86_64/fc-match
|
||||
|
||||
# network
|
||||
lib/libssl.so=usr/lib/libssl.so
|
||||
xbin/nslookup=usr/bin/nslookup
|
||||
xbin/unbound=sbin/unbound
|
||||
xbin/curl=usr/bin/curl
|
||||
|
||||
@@ -6,13 +6,13 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetVersion=v0.11.0
|
||||
targetVersion=v0.15.0
|
||||
if [[ $(uname -m) == 'aarch64' ]]; then
|
||||
targetArch=aarch64-unknown-linux-musl
|
||||
sha1=b7606d0fb461c0aa7351f511d9223416a322d52a
|
||||
sha256=3a6a3712b49da3d263bf2d30d702de4302793016019e800bfb81c0c69401d8f8
|
||||
else
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
sha1=ef389a20c85b732cccd48436a5e28ed40bed2806
|
||||
sha256=782d2b5dd7ae0a55ebe368ab258114d0928d019ac2d949ab85d5d02f3926709e
|
||||
fi
|
||||
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
installSccache "$targetArch" "$targetVersion" "$sha256"
|
||||
|
||||
Executable
+39
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script installs Syft
|
||||
|
||||
# Syft is used for generating SBOM (Software Bill of Materials) files.
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
|
||||
version="1.45.1"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
SHA1="06e1d56173209977df8b11ad955843cb62f874fd"
|
||||
arch="amd64"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
SHA1="c48638b3998066dbd139e94e116a81a6cc6299be"
|
||||
arch="arm64"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/syft/syft_${version}_linux_${arch}.tar.gz"
|
||||
AltUrl="https://github.com/anchore/syft/releases/download/v${version}/syft_${version}_linux_${arch}.tar.gz"
|
||||
targetFolder="/opt/syft-$version"
|
||||
appPrefix=""
|
||||
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||
|
||||
SetEnvVar "PATH" "$targetFolder:\$PATH"
|
||||
|
||||
echo "Syft = $version" >> ~/versions.txt
|
||||
@@ -13,60 +13,60 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
######### VXworks libs #########
|
||||
# Installs to /opt/vxworks
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_libs_2503.tar.gz"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_libs_2603.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="96db52d86c2138a1ca31212372f48838ec08013e"
|
||||
sha1="e9337894d4591e1d9e67640181c3d48fdb3d4a12"
|
||||
targetFolder="/opt"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
SetEnvVar "VXWORKS_HOME" "/opt/vxworks"
|
||||
SetEnvVar "VXWORKS_SSH" "WindRiver@172.31.1.10"
|
||||
|
||||
# IMX 6
|
||||
VXWORKS_BUILD_VER="16-04-2025"
|
||||
VXWORKS_BUILD_VER="12-05-2026_2"
|
||||
######### VXworks toolchain #########
|
||||
# Installs to /opt/fsl_imx6_2_0_6_2_VSB
|
||||
# Installs to /opt/fsl_imx6_2_0_6_3_VSB
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_arm_vsb_${VXWORKS_BUILD_VER}.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="88f0f139ac62e8c0a4c5477d880a1ff345826479"
|
||||
sha1="a1553f377ae84a722c8ad258fccb684f9198717c"
|
||||
targetFolder="/opt/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
SetEnvVar "WIND_CC_SYSROOT" "/opt/fsl_imx6_2_0_6_2_VSB"
|
||||
SetEnvVar "WIND_CC_SYSROOT" "/opt/fsl_imx6_2_0_6_3_VSB"
|
||||
|
||||
######### VXworks VIP kernel #########
|
||||
# Installs to /opt/fsl_imx6_2_0_6_2_VIP_QEMU
|
||||
# Installs to /opt/fsl_imx6_2_0_6_3_VIP_QEMU
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_arm_vip_${VXWORKS_BUILD_VER}.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="96056c0f9b1234160db2d9038a9e6fc24a2bbbd7"
|
||||
sha1="487a056d389a764717142100fb408e65ea720f92"
|
||||
targetFolder="/opt/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
|
||||
# IMX 8
|
||||
# Installs to /opt/nxp_imx8_1_0_6_3_VSB
|
||||
# Installs to /opt/nxp_imx8_1_0_7_1_VSB
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_arm_imx8_vsb_${VXWORKS_BUILD_VER}.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="cf6194b78bf08b894397fd5ce2a57abd25cf497b"
|
||||
sha1="b312f38a7ca670398c940c25d20ed2a26155160d"
|
||||
targetFolder="/opt/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
|
||||
# Installs to /opt/itl_generic_skylake_VSB
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_intel_vsb_${VXWORKS_BUILD_VER}.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="4c75222364d3907db9fb1605cabe0c92616d9ec9"
|
||||
sha1="9fddd5aa0b9599113c22670fcc1221004978ee8a"
|
||||
targetFolder="/opt/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
# Installs to /opt/itl_generic_skylake_VIP_QEMU
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_intel_vip_${VXWORKS_BUILD_VER}.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="c3af7da92832ea71201dcf1022d7404966291f5c"
|
||||
sha1="cb366addbea7a1fd34aa49b739dcc0b480350fce"
|
||||
targetFolder="/opt/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
|
||||
######### VXworks fonts and certs #########
|
||||
# Installs to /opt/fsl_imx6_2_0_6_2_VSB
|
||||
# Installs to /opt/fsl_imx6_2_0_6_3_VSB
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_misc.tar.gz"
|
||||
AltUrl=""
|
||||
sha1="1bc529b90b35b0b249f219e47d5798225a9b68d8"
|
||||
targetFolder="/opt/fsl_imx6_2_0_6_2_VSB/"
|
||||
targetFolder="/opt/fsl_imx6_2_0_6_3_VSB/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
######### VXworks fonts and certs #########
|
||||
# Installs to /opt/itl_generic_skylake_VSB
|
||||
@@ -76,13 +76,6 @@ sha1="1bc529b90b35b0b249f219e47d5798225a9b68d8"
|
||||
targetFolder="/opt/itl_generic_skylake_VSB/"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
|
||||
|
||||
# Setup NFS exports that are needed by VxWorks qemu
|
||||
sudo bash -c "echo '/home/qt/work 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
sudo bash -c "echo '/opt/fsl_imx6_2_0_6_2_VSB 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
sudo bash -c "echo '/opt/itl_generic_skylake_VSB 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
|
||||
sudo exportfs -a
|
||||
|
||||
# Enable ipv4 routing from vxWorks to Qt DNS
|
||||
sudo sed -i s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g /etc/sysctl.conf
|
||||
sudo iptables -I FORWARD 1 -j ACCEPT
|
||||
|
||||
@@ -2,57 +2,109 @@
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# Launch a single VxWorks QEMU emulator instance.
|
||||
#
|
||||
# Usage: vxworks_qemu_launcher.sh <arm|intel> [instance-id]
|
||||
#
|
||||
# Multiple instances are run in parallel to speed up the autotest run. Each
|
||||
# instance gets its own tap device, guest IP, MAC address, serial FIFO pair,
|
||||
# QEMU log and (for the TCG-based ARM emulator) a dedicated set of host CPU
|
||||
# cores. Instance 0 keeps the historical addresses so a single-instance run
|
||||
# behaves exactly as before.
|
||||
|
||||
[ $# -ge 1 ] || echo "Supply parameter which emulator to start <arm|intel> [instance-id]"
|
||||
TYPE=$1
|
||||
INSTANCE=${2:-0}
|
||||
|
||||
# Per-instance identifiers. Instance 0 == the original single-emulator layout.
|
||||
TAP="tap${INSTANCE}"
|
||||
GUEST_IP="172.31.1.$((10 + INSTANCE))"
|
||||
MAC=$(printf '52:54:00:12:34:%02x' "$INSTANCE")
|
||||
PIPE="/tmp/guest${INSTANCE}"
|
||||
QEMU_LOG_PATH="/home/qt/work/vxworks_qemu_log_${INSTANCE}.txt"
|
||||
|
||||
# Per-instance SSH target: same user as VXWORKS_SSH, but the instance's IP.
|
||||
if [[ "$VXWORKS_SSH" == *"@"* ]]; then
|
||||
SSH_TARGET="${VXWORKS_SSH%@*}@${GUEST_IP}"
|
||||
else
|
||||
SSH_TARGET="${GUEST_IP}"
|
||||
fi
|
||||
|
||||
# Host bridge and per-instance tap setup. Serialized across parallel launches
|
||||
# and made idempotent so concurrent instances don't race on the shared bridge.
|
||||
exec 9>"/tmp/vxworks_qemu_host_setup.lock"
|
||||
flock 9
|
||||
NFS_CONF_MARKER="# VxWorks QEMU NFS settings (added by vxworks_qemu_launcher.sh)"
|
||||
if ! grep -qF "$NFS_CONF_MARKER" /etc/nfs.conf; then
|
||||
# Configure NFS for UDP traffic
|
||||
sudo bash -c "echo -e '\n${NFS_CONF_MARKER}\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e '[nfsd]\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e 'udp=y\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e 'tcp=n\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e 'vers2=n\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e 'vers3=y\n' >> /etc/nfs.conf"
|
||||
sudo bash -c "echo -e 'vers4=n\n' >> /etc/nfs.conf"
|
||||
# Setup NFS exports that are needed by VxWorks qemu
|
||||
sudo bash -c "echo '/home/qt/work 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
sudo bash -c "echo '/opt/fsl_imx6_2_0_6_3_VSB 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
sudo bash -c "echo '/opt/itl_generic_skylake_VSB 172.31.1.10/24(rw,sync,root_squash,no_subtree_check,anonuid=2001,anongid=100)' >> /etc/exports"
|
||||
# Restart NFS server
|
||||
sudo exportfs -a
|
||||
sudo systemctl restart nfs-server
|
||||
fi
|
||||
|
||||
# Setup bridge if not exist for VxWorks QEMU
|
||||
if ! ip link show br0 >/dev/null 2>&1; then
|
||||
sudo brctl addbr br0
|
||||
sudo brctl stp br0 off
|
||||
sudo ifconfig br0 172.31.1.1 netmask 255.255.255.0 promisc up
|
||||
sudo tunctl -u qt -t tap0
|
||||
sudo ifconfig tap0 promisc up
|
||||
sudo brctl addif br0 tap0
|
||||
fi
|
||||
if ! ip link show "${TAP}" >/dev/null 2>&1; then
|
||||
sudo tunctl -u qt -t "${TAP}"
|
||||
sudo ifconfig "${TAP}" promisc up
|
||||
sudo brctl addif br0 "${TAP}"
|
||||
fi
|
||||
exec 9>&-
|
||||
|
||||
[ $# -eq 1 ] || echo "Supply parameter which emulator to start <arm|intel>"
|
||||
TYPE=$1
|
||||
|
||||
QEMU_LOG_PATH="/home/qt/work/vxworks_qemu_log.txt"
|
||||
if [ "$TYPE" = "arm" ] || [ "$TYPE" = "" ]; then
|
||||
$VXWORKS_QEMU/bin/qemu-system-arm \
|
||||
-machine sabrelite \
|
||||
-smp 4 \
|
||||
-m 1G \
|
||||
-smp 2 \
|
||||
-m 2G \
|
||||
-nographic \
|
||||
-monitor none \
|
||||
-serial null \
|
||||
-serial pipe:/tmp/guest \
|
||||
-kernel /opt/fsl_imx6_2_0_6_2_VIP_QEMU/default/uVxWorks \
|
||||
-dtb /opt/fsl_imx6_2_0_6_2_VIP_QEMU/default/imx6q-sabrelite.dtb \
|
||||
-append "enet(0,0)host:vxWorks h=172.31.1.1 g=172.31.1.1 e=172.31.1.10 u=target pw=vxTarget s=/romfs/startup_script.txt" \
|
||||
-nic "tap,ifname=tap0,script=no" >"${QEMU_LOG_PATH}" 2>&1 &
|
||||
-serial pipe:${PIPE} \
|
||||
-kernel /opt/fsl_imx6_2_0_6_3_VIP_QEMU/default/uVxWorks \
|
||||
-dtb /opt/fsl_imx6_2_0_6_3_VIP_QEMU/default/imx6q-sabrelite.dtb \
|
||||
-append "enet(0,0)host:vxWorks h=172.31.1.1 g=172.31.1.1 e=${GUEST_IP} u=target pw=vxTarget s=/romfs/startup_script.txt" \
|
||||
-rtc base=localtime,clock=rt \
|
||||
-icount sleep=off \
|
||||
-nic "tap,ifname=${TAP},script=no,mac=${MAC}" >"${QEMU_LOG_PATH}" 2>&1 &
|
||||
elif [ "$TYPE" = "intel" ]; then
|
||||
$VXWORKS_QEMU/bin/qemu-system-x86_64 \
|
||||
-M q35 \
|
||||
-smp 8 \
|
||||
-m 16G \
|
||||
-smp 4 \
|
||||
-m 8G \
|
||||
-cpu "Skylake-Client" \
|
||||
-enable-kvm \
|
||||
-monitor none \
|
||||
-nographic \
|
||||
-serial null \
|
||||
-serial pipe:/tmp/guest \
|
||||
-serial pipe:${PIPE} \
|
||||
-kernel "/opt/itl_generic_skylake_VIP_QEMU/default/vxWorks" \
|
||||
-append "sysbootline:gei(0,0)host:vxWorks h=172.31.1.1 g=172.31.1.1 e=172.31.1.10 u=target pw=vxTarget s=/romfs/startup_script.txt" \
|
||||
-nic tap,ifname=tap0,script=no,downscript=no >"${QEMU_LOG_PATH}" 2>&1 &
|
||||
-append "sysbootline:gei(0,0)host:vxWorks h=172.31.1.1 g=172.31.1.1 e=${GUEST_IP} u=target pw=vxTarget s=/romfs/startup_script.txt" \
|
||||
-nic "tap,ifname=${TAP},script=no,downscript=no,mac=${MAC}" >"${QEMU_LOG_PATH}" 2>&1 &
|
||||
fi
|
||||
|
||||
for _ in $(seq 30)
|
||||
do
|
||||
status=$(ssh -o BatchMode=yes -o HostKeyAlgorithms=+ssh-rsa -o ConnectTimeout=1 "${VXWORKS_SSH}" echo emulator up) || true
|
||||
status=$(ssh -o BatchMode=yes -o HostKeyAlgorithms=+ssh-rsa -o ConnectTimeout=1 "${SSH_TARGET}" echo emulator up) || true
|
||||
if [[ $status == *"emulator up"* ]] ; then
|
||||
echo "VXWORKS QEMU SSH server up"
|
||||
echo "VXWORKS QEMU SSH server up (instance ${INSTANCE} @ ${GUEST_IP})"
|
||||
break
|
||||
else
|
||||
echo "Waiting VXWORKS QEMU SSH server"
|
||||
echo "Waiting VXWORKS QEMU SSH server (instance ${INSTANCE} @ ${GUEST_IP})"
|
||||
sleep 1
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -71,13 +71,16 @@ function InstallNdk() {
|
||||
ndkTargetFile="/tmp/$ndkFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
ndkTargetDir="$targetFolder/$ndkVersion"
|
||||
sudo mkdir -p "$ndkTargetDir"
|
||||
|
||||
DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
|
||||
echo "Unzipping Android NDK to '$targetFolder'"
|
||||
echo "Unzipping Android NDK to '$ndkTargetDir'"
|
||||
# Get the package base directory name as string
|
||||
zipBase=$(sudo zipinfo -1 "$ndkTargetFile" 2>/dev/null | awk '!seen {sub("/.*",""); print; seen=1}')
|
||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
|
||||
sudo unzip -q "$ndkTargetFile" -d "$ndkTargetDir"
|
||||
rm "$ndkTargetFile"
|
||||
androidNdkRoot="${targetFolder}/${zipBase}"
|
||||
androidNdkRoot="${ndkTargetDir}/${zipBase}"
|
||||
}
|
||||
|
||||
InstallNdk $ndkVersionLatest $ndkSha1Latest
|
||||
|
||||
@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.30.5"
|
||||
version="3.30.5"
|
||||
majorminorversion="4.3"
|
||||
version="4.3.2"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-macos-universal.tar.gz"
|
||||
SHA1="c81c2f7482a901c4a32a81034920c23c22233a0f"
|
||||
SHA1="e3b456c03d992239f9d83d933336768c7fc1ff54"
|
||||
appPrefix="cmake-$version-macos-universal"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
diffutils
|
||||
nasm
|
||||
yasm
|
||||
|
||||
Regular → Executable
+100
-13
@@ -9,18 +9,105 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SourceEnvVars.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SourceEnvVars.sh"
|
||||
|
||||
echo "Caching Gradle distribution and dependencies"
|
||||
gradleCacheFileName="gradle_9.3.1_darwin_cache_v2.tar.gz"
|
||||
gradleCacheUrl="http://ci-files01-hki.ci.qt.io/input/gradle/$gradleCacheFileName"
|
||||
gradleCacheSha1="d4f93be293224e3d55779cf64252337fbb26b53b"
|
||||
gradleCacheFile="/tmp/$gradleCacheFileName"
|
||||
DownloadURL "$gradleCacheUrl" "$gradleCacheUrl" "$gradleCacheSha1" "$gradleCacheFile"
|
||||
mkdir -p "$HOME/.gradle"
|
||||
tar -xzf "$gradleCacheFile" -C "$HOME/.gradle" --strip-components=1
|
||||
rm "$gradleCacheFile"
|
||||
echo "Caching Gradle distributions and dependencies"
|
||||
|
||||
gradle_project_source="${BASH_SOURCE%/*}/../shared/gradle/project"
|
||||
cp -r "$gradle_project_source" /tmp/gradle_project
|
||||
cd /tmp/gradle_project
|
||||
chmod +x gradlew
|
||||
sh gradlew build
|
||||
gradleDistributionMirror="http://ci-files01-hki.ci.qt.io/input/gradle"
|
||||
gradleInitScript="init.d/nexus-mirror.gradle"
|
||||
|
||||
# Route every Gradle repository through the internal Nexus mirror.
|
||||
mkdir -p "$HOME/.gradle/init.d"
|
||||
cp "${BASH_SOURCE%/*}/../shared/gradle/$gradleInitScript" "$HOME/.gradle/$gradleInitScript"
|
||||
|
||||
# Returns the hash of the Gradle binary distribution for a given Gradle version.
|
||||
# Gradle calculates the hash as base36(md5(distributionUrl)).
|
||||
gradleDistributionHash () {
|
||||
version="$1"
|
||||
propertiesFile="$gradle_project_source/gradle/wrapper/gradle-wrapper.properties"
|
||||
|
||||
# 1. Read the project's distributionUrl.
|
||||
distributionUrl=$(grep '^distributionUrl=' "$propertiesFile")
|
||||
distributionUrl=${distributionUrl#distributionUrl=}
|
||||
# 2. Unescape the Java-properties (e.g. '\:').
|
||||
distributionUrl=${distributionUrl//\\:/:}
|
||||
# 3. Swap in the requested version while maintaining the distribution URL.
|
||||
distributionUrl=${distributionUrl/gradle-[0-9.]*-bin.zip/gradle-$version-bin.zip}
|
||||
|
||||
if command -v md5sum >/dev/null 2>&1; then
|
||||
md5Hex=$(printf '%s' "$distributionUrl" | md5sum | awk '{print $1}')
|
||||
else
|
||||
md5Hex=$(printf '%s' "$distributionUrl" | md5)
|
||||
fi
|
||||
|
||||
# Convert the md5 to base36: read it as a number, then repeatedly take the
|
||||
# next digit (number % 36) and divide by 36, prepending each digit's character.
|
||||
number=$(printf 'ibase=16; %s\n' "$(printf '%s' "$md5Hex" | tr 'a-f' 'A-F')" | bc)
|
||||
hash=""
|
||||
alphabet="0123456789abcdefghijklmnopqrstuvwxyz"
|
||||
while [ "$number" != "0" ]; do
|
||||
digit=$(printf '%s %% 36\n' "$number" | bc)
|
||||
number=$(printf '%s / 36\n' "$number" | bc)
|
||||
hash="${alphabet:$digit:1}$hash"
|
||||
done
|
||||
printf '%s' "$hash"
|
||||
}
|
||||
|
||||
# Seed a Gradle distribution binary into ~/.gradle from the internal mirror.
|
||||
seedGradleDistribution () {
|
||||
version="$1"
|
||||
sha="$2"
|
||||
|
||||
distributionDir="$HOME/.gradle/wrapper/dists/gradle-${version}-bin/$(gradleDistributionHash "$version")"
|
||||
if [ -e "$distributionDir/gradle-${version}-bin.zip.ok" ]; then
|
||||
return 0
|
||||
fi
|
||||
mkdir -p "$distributionDir"
|
||||
zip="$distributionDir/gradle-${version}-bin.zip"
|
||||
url="$gradleDistributionMirror/gradle-${version}-bin.zip"
|
||||
DownloadURL "$url" "$url" "$sha" "$zip"
|
||||
unzip -q -o "$zip" -d "$distributionDir"
|
||||
rm -f "$zip"
|
||||
touch "$distributionDir/gradle-${version}-bin.zip.ok"
|
||||
}
|
||||
|
||||
# Populate ~/.gradle/caches by priming the shared project for each Gradle and AGP profile.
|
||||
cacheGradleProfile () {
|
||||
echo "Caching Gradle profile $*"
|
||||
tmp="$(mktemp -d)"
|
||||
project="$tmp/project"
|
||||
cp -r "$gradle_project_source" "$project"
|
||||
|
||||
props="$project/gradle/wrapper/gradle-wrapper.properties"
|
||||
for kv in "$@"; do
|
||||
case "$kv" in
|
||||
gradle=*)
|
||||
sed "s#gradle-[0-9.]*-bin.zip#gradle-${kv#*=}-bin.zip#" "$props" > "$props.tmp"
|
||||
mv "$props.tmp" "$props"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
toml="$project/gradle/libs.versions.toml"
|
||||
for kv in "$@"; do
|
||||
case "$kv" in
|
||||
gradle=*) ;;
|
||||
*)
|
||||
key="${kv%%=*}"
|
||||
val="${kv#*=}"
|
||||
sed "/^\[versions\]/,/^\[/ s/^$key = .*/$key = \"$val\"/" "$toml" > "$toml.tmp"
|
||||
mv "$toml.tmp" "$toml"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
sh "$project/gradlew" --project-dir "$project" build
|
||||
rm -rf "$tmp"
|
||||
}
|
||||
|
||||
# Cache both the current and the previous versions to avoid issues during bumps.
|
||||
seedGradleDistribution 9.3.1 "b266d5ff6b90eada6dc3b20cb090e3731302e553a27c5d3e4df1f0d76beaff06"
|
||||
cacheGradleProfile gradle=9.3.1 agp=9.0.0
|
||||
seedGradleDistribution 9.5.1 "bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f"
|
||||
cacheGradleProfile gradle=9.5.1 agp=9.2.1
|
||||
|
||||
echo "Cached Gradle distributions and dependencies under $HOME/.gradle."
|
||||
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2025 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script install HarmonyOS sdk and patches.
|
||||
|
||||
set -e
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
targetFolder="/opt/harmonyos"
|
||||
sdkTargetFolder="$targetFolder/command-line-tools"
|
||||
|
||||
sudo mkdir -p "$sdkTargetFolder"
|
||||
|
||||
basePath="http://ci-files01-hki.ci.qt.io/input/harmonyos"
|
||||
|
||||
toolsVersion="6.1.0.860"
|
||||
toolsFile="commandline-tools-mac-arm64-6.1.0.860.zip"
|
||||
toolsSha1="4ba9df069fc5c651753c74297d723a2461be12e9"
|
||||
|
||||
toolsTargetFile="/tmp/$toolsFile"
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
|
||||
echo "Download and unzip HarmonyOS SDK"
|
||||
DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile"
|
||||
echo "Unzipping HarmonyOS Tools to '$targetFolder'"
|
||||
sudo unzip -q "$toolsTargetFile" -d "$targetFolder"
|
||||
rm "$toolsTargetFile"
|
||||
|
||||
patchFile="harmonyos_sdk_patches.zip"
|
||||
patchSha1="7f912104a5600bc176891bc6e9d97732f4266ad6"
|
||||
|
||||
patchTargetFile="/tmp/$patchFile"
|
||||
patchSourceFile="$basePath/$patchFile"
|
||||
patchTargetFolder="$targetFolder/harmonyos_sdk_patches"
|
||||
|
||||
echo "Download and unzip HarmonyOS SDK patches"
|
||||
DownloadURL "$patchSourceFile" "$patchSourceFile" "$patchSha1" "$patchTargetFile"
|
||||
echo "Unzipping HarmonyOS SDK patches to '$targetFolder'"
|
||||
sudo unzip -q "$patchTargetFile" -d "$targetFolder"
|
||||
rm "$patchTargetFile"
|
||||
|
||||
echo "Changing ownership of HarmonyOS files."
|
||||
sudo chown -R qt:wheel "$sdkTargetFolder"
|
||||
sudo chmod -R 755 $sdkTargetFolder
|
||||
sudo chown -R qt:wheel "$patchTargetFolder"
|
||||
sudo chmod -R 755 $patchTargetFolder
|
||||
|
||||
echo "Patching HarmonyOS SDK"
|
||||
|
||||
sdkRootFolder="$sdkTargetFolder/sdk/default/openharmony"
|
||||
echo "Checking the contents of HarmonyOS SDK..."
|
||||
ls -l "$sdkRootFolder"
|
||||
|
||||
SetEnvVar "HARMONYOS_SDK_ROOT" "$sdkRootFolder"
|
||||
export HARMONYOS_SDK_ROOT="$sdkRootFolder"
|
||||
|
||||
echo "HarmonyOS SDK setup finished"
|
||||
@@ -102,7 +102,6 @@ build_ffmpeg_ios() {
|
||||
--extra-ldflags="${common_arch_flags}"
|
||||
--target-os=darwin
|
||||
--install-name-dir="@rpath"
|
||||
--disable-audiotoolbox
|
||||
|
||||
# We perform manual stripping after generating dSYMs.
|
||||
# Make sure to skip it during FFmpeg compilation.
|
||||
|
||||
@@ -22,6 +22,12 @@ ffmpeg_config_options=$(get_ffmpeg_config_options "shared")
|
||||
default_prefix="/usr/local/$ffmpeg_name"
|
||||
prefix="${2:-$default_prefix}"
|
||||
|
||||
# Disable X11 linkage on macOS. FFmpeg auto-detect
|
||||
# mechanisms will pull it in as a dependency if found
|
||||
# on the host. If this happens, it makes the binaries
|
||||
# not loadable on macOS machines without libx11 installed.
|
||||
ffmpeg_config_options+=" --disable-libxcb --disable-xlib"
|
||||
|
||||
build_ffmpeg() {
|
||||
local arch="$1"
|
||||
local build_dir="$ffmpeg_source_dir/build/$arch"
|
||||
|
||||
@@ -55,9 +55,18 @@ function InstallXCode() {
|
||||
echo "Install packages"
|
||||
sudo xcodebuild -runFirstLaunch
|
||||
|
||||
# Metal toolchain not included by default in Xcode 26
|
||||
# Xcode 26 ships a more minimal base install
|
||||
if ((majorVersion >= 26)); then
|
||||
xcodebuild -downloadComponent MetalToolchain
|
||||
if ((majorVersion >= 27)); then
|
||||
# No more universal iOS simulator in Xcode 27
|
||||
xcodebuild -downloadPlatform iOS
|
||||
else
|
||||
xcodebuild -downloadPlatform iOS -architectureVariant universal
|
||||
fi
|
||||
if [[ $(uname -m) == "arm64" ]]; then
|
||||
xcodebuild -downloadPlatform visionOS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# Install libusb
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
brew install libusb
|
||||
read -r -a arr <<< "$(brew list --versions libusb)"
|
||||
version=${arr[1]}
|
||||
echo "libusb = $version" >> ~/versions.txt
|
||||
|
||||
mkdir /tmp/arm64/
|
||||
mkdir /tmp/amd64/
|
||||
|
||||
case $(sw_vers -productVersion) in
|
||||
11*) codename=big_sur;;
|
||||
12*) codename=monterey;;
|
||||
13*) codename=ventura;;
|
||||
14*) codename=sonoma;;
|
||||
esac
|
||||
|
||||
brew fetch --bottle-tag=arm64_"${codename}" libusb
|
||||
brew fetch --bottle-tag="${codename}" libusb
|
||||
tar xf "$(brew --cache --bottle-tag=arm64_"${codename}" libusb)" -C /tmp/arm64/
|
||||
tar xf "$(brew --cache --bottle-tag="${codename}" libusb)" -C /tmp/amd64
|
||||
for f in /tmp/arm64/libusb/"$version"/lib/* ; do
|
||||
if lipo -info "$f" >/dev/null 2>&1; then
|
||||
file="$(basename "$f")"
|
||||
lipo -create -output "$(brew --cellar)/libusb/$version/lib/$file" \
|
||||
"/tmp/arm64/libusb/$version/lib/$file" \
|
||||
"/tmp/amd64/libusb/$version/lib/$file"
|
||||
fi
|
||||
done
|
||||
@@ -34,6 +34,6 @@ SetEnvVar "SBOM_PYTHON_APPS_PATH" "/Library/Frameworks/Python.framework/Versions
|
||||
SetEnvVar "SBOM_PYTHON_INTERP_PATH" "/Library/Frameworks/Python.framework/Versions/3.11/bin/python3"
|
||||
|
||||
# Install Python certificates. Required at least for emsdk installation
|
||||
open /Applications/Python\ 3.11/Install\ Certificates.command
|
||||
/Applications/Python\ 3.11/Install\ Certificates.command
|
||||
|
||||
echo "python3 = 3.11.9" >> ~/versions.txt
|
||||
|
||||
@@ -6,12 +6,12 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetVersion=v0.11.0
|
||||
targetVersion=v0.15.0
|
||||
if [[ `arch` == arm* ]]; then
|
||||
targetArch=aarch64-apple-darwin
|
||||
sha1=3261ab99e5bb1f9f36eafa597d11491bd85da5ec
|
||||
sha256=430ef7b5f54256d3ed5bfe77e8b0afc51aa209aeebe4f95b69c3a52ce3acc6e9
|
||||
else
|
||||
targetArch=x86_64-apple-darwin
|
||||
sha1=57810789bf2813dfa9bf5da26a712dc30b56ce16
|
||||
sha256=f8da93e0689122268f720ddb48c8357f3da18be8c88aff23a8e75a7a219367db
|
||||
fi
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
installSccache "$targetArch" "$targetVersion" "$sha256"
|
||||
|
||||
Executable
+39
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script installs Syft
|
||||
|
||||
# Syft is used for generating SBOM (Software Bill of Materials) files.
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
|
||||
version="1.45.1"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
SHA1="ecd1a9283e4ce025b5905a85e505fcba237edd51"
|
||||
arch="amd64"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
SHA1="996f3985f14ebbe8661c0b72d7ad520200155c46"
|
||||
arch="arm64"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/syft/syft_${version}_darwin_${arch}.tar.gz"
|
||||
AltUrl="https://github.com/anchore/syft/releases/download/v${version}/syft_${version}_darwin_${arch}.tar.gz"
|
||||
targetFolder="/opt/syft-$version"
|
||||
appPrefix=""
|
||||
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||
|
||||
SetEnvVar "PATH" "$targetFolder:\$PATH"
|
||||
|
||||
echo "Syft = $version" >> ~/versions.txt
|
||||
@@ -1 +1 @@
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m --disable-decoder=truemotion1
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m --disable-decoder=truemotion1 --disable-avdevice --disable-avfilter
|
||||
|
||||
@@ -40,7 +40,7 @@ if [[ "$patchelf_version" == "0.18.0" ]]; then
|
||||
echo "WARNING: patchelf version 0.18.0 is known to have issues with Android." >&2
|
||||
fi
|
||||
|
||||
ffmpeg_libs=("avcodec" "avdevice" "avfilter" "avformat" "avutil" "swresample" "swscale")
|
||||
ffmpeg_libs=("avcodec" "avformat" "avutil" "swresample" "swscale")
|
||||
stub_prefix="Qt6FFmpegStub-"
|
||||
|
||||
for lib_name in "${ffmpeg_libs[@]}"; do
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
// Copyright (C) 2026 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
// Installed by Coin into $GRADLE_USER_HOME/init.d to route every gradle
|
||||
// invocation's repositories through the internal Nexus mirror.
|
||||
|
||||
def mirror = 'https://ci-passth-cache.ci.qt.io/repository/gradle-all/'
|
||||
|
||||
def addMirror = { repositories ->
|
||||
repositories.maven { mavenRepository ->
|
||||
mavenRepository.name = 'qt-nexus-mirror'
|
||||
mavenRepository.url = mirror
|
||||
}
|
||||
}
|
||||
|
||||
def enforceMirror = { repositories ->
|
||||
repositories.all { repository ->
|
||||
if (repository.name != 'qt-nexus-mirror')
|
||||
repositories.remove(repository)
|
||||
}
|
||||
addMirror(repositories)
|
||||
}
|
||||
|
||||
// Modern templates: replace the settings-level repositories with the mirror.
|
||||
settingsEvaluated { settings ->
|
||||
settings.pluginManagement.repositories.clear()
|
||||
addMirror(settings.pluginManagement.repositories)
|
||||
settings.dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
|
||||
repositories.clear()
|
||||
addMirror(repositories)
|
||||
}
|
||||
}
|
||||
|
||||
// Legacy templates: replace the buildscript and project repositories with the mirror.
|
||||
allprojects { project ->
|
||||
enforceMirror(project.buildscript.repositories)
|
||||
enforceMirror(project.repositories)
|
||||
}
|
||||
@@ -7,7 +7,9 @@ which use `--offline`.
|
||||
Caches dependencies for:
|
||||
- `com.android.application`: used by Qt test/example APK builds
|
||||
- `com.android.library`: used by Qt JAR builds
|
||||
- `android.dynamic.feature`: used by Feature Delivery tests
|
||||
- `org.jetbrains.kotlin.android`: used by some Qt modules
|
||||
- `org.qtproject.qt.gradleplugin`: used by Qt for Android Studio projects
|
||||
- AndroidX: used by app builds
|
||||
|
||||
These files should be updated each time Qt bumps the supported Android or
|
||||
|
||||
@@ -10,11 +10,14 @@ android {
|
||||
applicationId 'org.qtproject.qt.gradlecache.app'
|
||||
minSdk = 28
|
||||
}
|
||||
|
||||
dynamicFeatures = [':feature']
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.core
|
||||
implementation libs.appcompat
|
||||
implementation libs.material
|
||||
implementation libs.play.feature.delivery
|
||||
testImplementation libs.junit
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="feature_title">Feature</string>
|
||||
</resources>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user