mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 07:28:21 +08:00
Compare commits
145 Commits
6bd3b23b6c
...
v6.8.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c20a491c1 | ||
|
|
2c1f932497 | ||
|
|
4c7b2b6dad | ||
|
|
ef9a5d70e6 | ||
|
|
563eed7da3 | ||
|
|
432eb5f687 | ||
|
|
632f3ae15c | ||
|
|
f43651e4d8 | ||
|
|
5d95de4451 | ||
|
|
ef7f387bc0 | ||
|
|
a521c4d920 | ||
|
|
6cc4ed9a9b | ||
|
|
63fdac3852 | ||
|
|
f9f017bf5a | ||
|
|
852ea47350 | ||
|
|
72a4842796 | ||
|
|
0da50b7562 | ||
|
|
5b09ad616e | ||
|
|
b02cca2418 | ||
|
|
15179451a1 | ||
|
|
cc79b9ec5d | ||
|
|
e7345107cb | ||
|
|
7562d37e66 | ||
|
|
e4defad5e2 | ||
|
|
a24acb5375 | ||
|
|
ccca79aa5e | ||
|
|
9bc2004e5c | ||
|
|
e171873514 | ||
|
|
6a340438f8 | ||
|
|
8f7410b202 | ||
|
|
0e0732df1d | ||
|
|
3974ea45d2 | ||
|
|
9d623692a8 | ||
|
|
52322049be | ||
|
|
1e38bd21bd | ||
|
|
8910e90705 | ||
|
|
addf3a0794 | ||
|
|
3cc306b68a | ||
|
|
8af8e9081b | ||
|
|
a604af6991 | ||
|
|
79134ebf0e | ||
|
|
456bb49e7d | ||
|
|
418b0e5b47 | ||
|
|
6011e6a29b | ||
|
|
df249cc06f | ||
|
|
47b58a4f6b | ||
|
|
3964060835 | ||
|
|
7af09a0f3d | ||
|
|
9e76e174ef | ||
|
|
cac4a76366 | ||
|
|
e609ade2a4 | ||
|
|
aa22a35f05 | ||
|
|
368369beb1 | ||
|
|
55bef8cb0c | ||
|
|
2007bdb634 | ||
|
|
aa419b10fb | ||
|
|
f5430bded0 | ||
|
|
c3a5651bd0 | ||
|
|
3f4790463c | ||
|
|
0fecad52b8 | ||
|
|
74cdd355d6 | ||
|
|
a11202a0b6 | ||
|
|
f68d6a976c | ||
|
|
09aa68b3de | ||
|
|
83500b62c4 | ||
|
|
72e5affa21 | ||
|
|
21a8e07fb3 | ||
|
|
44a2c39aa7 | ||
|
|
5615fb5fc2 | ||
|
|
6e3c55a33d | ||
|
|
3303e2fe46 | ||
|
|
319f1f7945 | ||
|
|
39a7a1a663 | ||
|
|
df8c39ba7b | ||
|
|
8771cbab9c | ||
|
|
471fa2306c | ||
|
|
504304234d | ||
|
|
3624ced5cf | ||
|
|
a066902627 | ||
|
|
2792250242 | ||
|
|
9d37579b5d | ||
|
|
ffe464c889 | ||
|
|
367cacbb01 | ||
|
|
128b526cea | ||
|
|
1b97371ea0 | ||
|
|
bcaf172368 | ||
|
|
66bcdbd0b3 | ||
|
|
95c6513432 | ||
|
|
be5eb71399 | ||
|
|
88c5532d08 | ||
|
|
36cf1fd484 | ||
|
|
71802eb0ed | ||
|
|
88e06e1265 | ||
|
|
2cc1596d9f | ||
|
|
3cc1081d4a | ||
|
|
a864e58616 | ||
|
|
dcff43ca54 | ||
|
|
af77e84b88 | ||
|
|
90c88a451f | ||
|
|
c98282cb03 | ||
|
|
91c649c20e | ||
|
|
a56512b45b | ||
|
|
92ce5a7b99 | ||
|
|
398a8aa151 | ||
|
|
9d69572e74 | ||
|
|
d8f8c02ae4 | ||
|
|
0ee71c9edc | ||
|
|
b12fd026dc | ||
|
|
3b330e86fb | ||
|
|
fc1e3c7084 | ||
|
|
fbd9ecb0d5 | ||
|
|
657c38f3b5 | ||
|
|
9657e3970e | ||
|
|
33eb114747 | ||
|
|
194f4b8d83 | ||
|
|
b45c69436f | ||
|
|
7cc4b34006 | ||
|
|
9d0caddfc5 | ||
|
|
9e6a8a0f9d | ||
|
|
f956053d4c | ||
|
|
feb1c21223 | ||
|
|
13a07d01d5 | ||
|
|
c9009d7c7a | ||
|
|
f63272740c | ||
|
|
d35d6de212 | ||
|
|
b790f9314e | ||
|
|
f010bb13a9 | ||
|
|
01c0814cc5 | ||
|
|
d34850071d | ||
|
|
ac2a19ab7e | ||
|
|
6eed0ab93a | ||
|
|
d4046310f8 | ||
|
|
2cb772c046 | ||
|
|
f042009b4d | ||
|
|
2f4bed0ee6 | ||
|
|
22ce6068c5 | ||
|
|
3f18574eff | ||
|
|
b4861bc8d1 | ||
|
|
6119c40c8e | ||
|
|
aa75e9fc09 | ||
|
|
1a61ed35d3 | ||
|
|
629657da09 | ||
|
|
22c80a8889 | ||
|
|
419c5bfc2f | ||
|
|
5a6b72fa1b |
@@ -10,10 +10,13 @@
|
||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||
#
|
||||
# One task per entry. Add a space after the colon.
|
||||
# Use Fixes to automatically close an issue, and Task-number to
|
||||
# reference it without further action.
|
||||
# You do not need both for the same issue.
|
||||
# Use Fixes to automatically close an issue, Reopens to automatically
|
||||
# reopen an issue, and Task-number to reference it without further
|
||||
# action.
|
||||
# You do not need to include Task-Number where Fixes or Reopens is
|
||||
# specified for the same issue.
|
||||
#Fixes:
|
||||
#Reopens:
|
||||
#Task-number:
|
||||
#Coverity-Id:
|
||||
#
|
||||
|
||||
90
.gitmodules
vendored
90
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +47,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +55,7 @@
|
||||
recommends = qtmultimedia qtshadertools qtwebengine
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -76,21 +76,21 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -117,61 +117,61 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = deprecated
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -185,28 +185,28 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
@@ -219,27 +219,27 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase qtmultimedia
|
||||
recommends = qtdeclarative
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
@@ -252,87 +252,87 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = dev
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
[submodule "qtgraphs"]
|
||||
depends = qtbase qtdeclarative qtquick3d
|
||||
path = qtgraphs
|
||||
url = ../qtgraphs.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.0
|
||||
status = addon
|
||||
|
||||
@@ -59,7 +59,7 @@ endfunction()
|
||||
|
||||
# Helper macro to parse the arguments for the command line options.
|
||||
macro(qt_ir_commandline_option_parse_arguments)
|
||||
set(options UNSUPPORTED)
|
||||
set(options UNSUPPORTED COMMON)
|
||||
set(oneValueArgs TYPE NAME SHORT_NAME ALIAS VALUE DEFAULT_VALUE)
|
||||
set(multiValueArgs VALUES MAPPING)
|
||||
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
@@ -81,6 +81,7 @@ endmacro()
|
||||
# same value when retrieved.
|
||||
# DEFAULT_VALUE - the default value to be set for the option when it's not specified
|
||||
# on the command line
|
||||
# COMMON - the argument is common for init-repository and configure scripts
|
||||
#
|
||||
# NOTE: Make sure to update the SHORT_NAME code path when adding new options.
|
||||
function(qt_ir_commandline_option_helper name)
|
||||
@@ -97,6 +98,14 @@ function(qt_ir_commandline_option_helper name)
|
||||
set(commandline_known_options
|
||||
"${commandline_known_options};${name}" PARENT_SCOPE)
|
||||
|
||||
if(arg_COMMON)
|
||||
set(commandline_option_${name}_common "true" PARENT_SCOPE)
|
||||
if(NOT "${arg_TYPE}" STREQUAL "boolean")
|
||||
message(FATAL_ERROR "${name} is '${arg_TYPE}', but COMMON arguments can be"
|
||||
" 'boolean' only.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(commandline_option_${name}_type "${arg_TYPE}" PARENT_SCOPE)
|
||||
|
||||
if(NOT "${arg_VALUE}" STREQUAL "")
|
||||
@@ -137,7 +146,12 @@ macro(qt_ir_commandline_option name)
|
||||
AND "${commandline_option_${arg_SHORT_NAME}_type}" STREQUAL "")
|
||||
set(unsupported "")
|
||||
if(arg_UNSUPPORTED)
|
||||
set(unsupported "${arg_UNSUPPORTED}")
|
||||
set(unsupported "UNSUPPORTED")
|
||||
endif()
|
||||
|
||||
set(common "")
|
||||
if(arg_COMMON)
|
||||
set(common "COMMON")
|
||||
endif()
|
||||
|
||||
qt_ir_commandline_option_helper("${arg_SHORT_NAME}"
|
||||
@@ -148,6 +162,7 @@ macro(qt_ir_commandline_option name)
|
||||
MAPPING ${arg_MAPPING}
|
||||
DEFAULT_VALUE ${arg_DEFAULT_VALUE}
|
||||
${unsupported}
|
||||
${common}
|
||||
)
|
||||
endif()
|
||||
endmacro()
|
||||
@@ -323,6 +338,9 @@ function(qt_ir_process_args_from_optfile optfile_path)
|
||||
qt_ir_append_unknown_args("${arg}")
|
||||
continue()
|
||||
endif()
|
||||
elseif(commandline_option_${opt}_common AND arg_IGNORE_UNKNOWN_ARGS)
|
||||
message(DEBUG "Common command line option '${arg}'. Collecting.")
|
||||
qt_ir_append_unknown_args("${arg}")
|
||||
endif()
|
||||
|
||||
if(NOT COMMAND "qt_ir_commandline_${type}")
|
||||
|
||||
@@ -29,7 +29,7 @@ macro(qt_ir_set_known_command_line_options)
|
||||
qt_ir_commandline_option(quiet SHORT_NAME q TYPE boolean)
|
||||
qt_ir_commandline_option(resolve-deps TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(update TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(verbose TYPE boolean)
|
||||
qt_ir_commandline_option(verbose TYPE boolean COMMON)
|
||||
|
||||
# These are used when init-repository is called from configure.
|
||||
qt_ir_commandline_option(from-configure TYPE boolean)
|
||||
|
||||
@@ -8,5 +8,5 @@ Configurations:
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
|
||||
@@ -14,16 +14,16 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE']
|
||||
-
|
||||
Id: 'ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Features: ['Sccache', '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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
# Test on Ubuntu 22.04 X11
|
||||
-
|
||||
@@ -38,24 +38,75 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
|
||||
# Build on Ubuntu 24.04 ARM64 Wayland and test on offscreen and Wayland later
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker lld -qtlibinfix TestInfix -qtnamespace TestNamespace -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'DoNotRunTests']
|
||||
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'
|
||||
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'
|
||||
]
|
||||
# Test on Ubuntu 24.04 ARM64 offscreen
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-offscreen-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'QT_QPA_OFFSCREEN_NO_GLX=1',
|
||||
'QT_QPA_PLATFORM=offscreen'
|
||||
]
|
||||
Platform dependency: 'ubuntu-24.04-arm64'
|
||||
# Build on Ubuntu 24.04 x64 Wayland and test on both X11 and Wayland (Wayland=default)
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: [
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'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'
|
||||
]
|
||||
# Test on Ubuntu 24.04 ARM64 X11
|
||||
# Test on Ubuntu 24.04 x64 X11
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Id: 'ubuntu-24.04-x64-documentation-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64-documentation'
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
-
|
||||
Id: 'opensuse-15.5-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
||||
@@ -65,96 +116,60 @@ Configurations:
|
||||
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}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'sles-15_sp5-static'
|
||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2022'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2022'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-arm64-msvc2022'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-51'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20 -no-sql-psql'
|
||||
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-psql -no-opengl'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-developer-build'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-arm64'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Id: 'windows-11_23H2-msvc2022-arm64'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
|
||||
Platform dependency: 'windows-10_22h2-msvc2019-developer-build'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_23H2-msvc2022'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
||||
@@ -164,72 +179,36 @@ Configurations:
|
||||
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019-developer-build'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019-arm64'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
|
||||
Platform dependency: 'windows-11_23H2-msvc2019-developer-build'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.8'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-9.2'
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
Features: ['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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
# Build on Debian-11.6 and split test on Wayland and offscreen later
|
||||
-
|
||||
Id: 'debian-11.6-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
]
|
||||
# Test on Debian-11.6 offscreen
|
||||
-
|
||||
Id: 'debian-11.6-arm64-offscreen-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'InsignificantTests', 'TestOnly']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'QT_QPA_PLATFORM=offscreen'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
-
|
||||
Id: 'ios-universal'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
@@ -238,73 +217,47 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors']
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}}'
|
||||
'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: 'windows-10_22h2-mingw13'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-llvm'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-llvm'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging','Sccache', 'UseConfigure']
|
||||
Features: ['Packaging','Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_llvm_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
|
||||
@@ -7,7 +7,7 @@ Configurations:
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'Insignificant']
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -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',
|
||||
@@ -24,7 +24,7 @@ Configurations:
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'Insignificant']
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -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',
|
||||
@@ -41,7 +41,7 @@ Configurations:
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -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',
|
||||
|
||||
@@ -8,13 +8,13 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'VMSize8', 'UseConfigure']
|
||||
Features: ['Packaging', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
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.27.7/bin',
|
||||
'QNX_TEST_ENV=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=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-linux'
|
||||
@@ -24,11 +24,11 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-armv7-on-linux'
|
||||
@@ -38,9 +38,9 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'vxworks-imx6-buildtest'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'VxWorks'
|
||||
Target arch: 'ARMv7'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -developer-build -force-debug-info -qpa eglfs -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'
|
||||
]
|
||||
@@ -10,9 +10,9 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-minimal-static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Id: 'windows-11_23H2-minimal-static'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
|
||||
@@ -8,27 +8,27 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis arm64-v8a',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
Id: 'android-armv7-on-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-10_22h2-mingw13'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -39,11 +39,11 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||
]
|
||||
@@ -55,11 +55,11 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -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_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_34'
|
||||
]
|
||||
|
||||
@@ -14,18 +14,18 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-10_22h2-mingw13'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread'
|
||||
@@ -33,10 +33,10 @@ Configurations:
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.5-developer-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'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'
|
||||
]
|
||||
|
||||
@@ -5,3 +5,8 @@ Configurations:
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-license-check'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
|
||||
@@ -7,7 +7,7 @@ Configurations:
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
@@ -18,7 +18,7 @@ Configurations:
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
|
||||
@@ -13,5 +13,5 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=',
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28']
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'rhel_8.8_android_multi'
|
||||
Id: 'android-9-multi-abi'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
|
||||
@@ -12,11 +12,11 @@ Configurations:
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
||||
]
|
||||
|
||||
@@ -60,27 +60,15 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-12-arm64-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-12-arm64-tart-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-13-arm64-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-13-arm64-tart-tests'
|
||||
Template: 'qtci-macos-13-arm-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-14-arm64-tests'
|
||||
@@ -93,12 +81,6 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-12-arm-on-arm64-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-12-arm-on-arm64-tart-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
@@ -154,24 +136,12 @@ Configurations:
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
-
|
||||
Id: 'macos-12-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-12-arm64-tart-developer-build-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-arm64-tart-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'MSVC2019'
|
||||
|
||||
@@ -6,7 +6,7 @@ Configurations:
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -c++std c++17 -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON'
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# cmake_platforms.yaml
|
||||
# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||
# Test on Ubuntu 24.04 ARM64 X11
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestDocs', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64-documentation'
|
||||
@@ -5,11 +5,11 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"ubuntu-22.04-documentation-x11-tests",
|
||||
"windows-10_22h2-msvc2019-developer-build",
|
||||
"windows-11_23H2-msvc2022",
|
||||
"ios-universal"
|
||||
],
|
||||
macos.yaml: [
|
||||
"macos-12-x86_64-tests",
|
||||
"macos-14-x86_64-tests",
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
"android-arm64-on-macos"
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
|
||||
@@ -2,26 +2,19 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86-4'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
@@ -29,7 +22,7 @@ Configurations:
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
|
||||
@@ -3,14 +3,4 @@ Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations:
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
Configurations: []
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
address_sanitizer_platforms.yaml,
|
||||
linux_android_tests_multi_abi.yaml,
|
||||
wasm_qtbase_tests.yaml,
|
||||
cmake_platforms_qemu_vxworks.yaml,
|
||||
cmake_platforms_qemu_vxworks_buildtest.yaml,
|
||||
qtlite.yaml,
|
||||
qtbase-new-compiler-testing.yaml
|
||||
]
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'debian-11.6-static-qtlite-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Id: 'ubuntu-24.04-arm64-static-qtlite'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'DisableTests']
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
|
||||
Configure arguments: >
|
||||
-nomake examples
|
||||
-release
|
||||
@@ -147,7 +147,6 @@ Configurations:
|
||||
-no-feature-systemtrayicon
|
||||
-no-feature-tabletevent
|
||||
-no-feature-tablewidget
|
||||
-no-feature-testlib
|
||||
-no-feature-textbrowser
|
||||
-no-feature-texthtmlparser
|
||||
-no-feature-textmarkdownreader
|
||||
|
||||
@@ -47,7 +47,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'Windows-MSVC2019_Static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
|
||||
|
||||
@@ -4,26 +4,17 @@ Include: [
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations:
|
||||
# Test on Ubuntu 22.04 Wayland
|
||||
# Test on Ubuntu 24.04 ARM64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-22.04-documentation-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Id: 'ubuntu-24.04-arm64-documentation-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestDocs', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-22.04-documentation'
|
||||
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64-documentation'
|
||||
# Test on Ubuntu 24.04 x64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-22.04-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Id: 'ubuntu-24.04-x64-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW1120_i686\mingw32\bin;$PATH']
|
||||
Features: ['Packaging', UseLegacyInstructions']
|
||||
|
||||
@@ -18,7 +18,7 @@ Include: [
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: "automotive-android-13-x86_64-on-linux"
|
||||
Id: "automotive-android-14-x86_64-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
@@ -30,8 +30,8 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -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_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_33'
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_34'
|
||||
]
|
||||
-
|
||||
Id: "automotive-android-10-x86_64-on-linux"
|
||||
@@ -46,6 +46,6 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -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_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_29'
|
||||
]
|
||||
|
||||
@@ -2,52 +2,52 @@ Version: 2
|
||||
Module only: true
|
||||
Configurations:
|
||||
- Id: 'webos-emulator-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_EMULATOR=enabled']
|
||||
- Id: 'webos-emulator-qtbase-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtbase']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtdeclarative-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtdeclarative']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtwayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtwayland']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtshadertools-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtshadertools']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtgraphicaleffects-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtgraphicaleffects']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-raspberry-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_RASPBERRY=enabled']
|
||||
- Id: 'webos-ndk-installer-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_NDK_INSTALLER=enabled']
|
||||
- Id: 'webos-ndk-install'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: ['webos-raspberry-build', 'webos-ndk-installer-build']
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
### Ubuntu 24.04 ###
|
||||
Hard Disk: 1TB
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Desktop image, minimal install
|
||||
|
||||
Language: English (US)
|
||||
Typing: English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
* File History & Rubbish Bin:
|
||||
* File History: Off
|
||||
* Diagnostics:
|
||||
* Send error reports to Canonical: Never
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
* Automatic suspend: Off
|
||||
Appearance:
|
||||
* Auto-hide the dock: Off
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Software & Updates:
|
||||
* Updates:
|
||||
* Subscribed to: Security updates only
|
||||
* Automatically check for updates: Never
|
||||
* Notify me of a new Ubuntu version: Never
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
run 'sudo grub-mkconfig'
|
||||
|
||||
# Install ssh server
|
||||
run 'sudo apt install openssh-server'
|
||||
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run 'chmod +x ./coin-setup' to make it executable
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -74,11 +74,17 @@ Reboot
|
||||
* Sysmain disabled:
|
||||
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'SysMain' - stop & disable
|
||||
# Don't disable Windows Update before running '01-enable-dotnet-framework.ps1'. Script requires Windows update to be enabled!
|
||||
* Install msvc2019 and msvc2022 (follow the msvc2019.txt and msvc2022.txt files)
|
||||
- After installation: Open Task Scheduler: Task Scheduler Library > Microsoft > VisualStudio > Updates > right-click: BackgroundDownload > disable
|
||||
* Windows update:
|
||||
- Settings - Windows Update - run available updates (Windows update2022-09 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems (KB5017321))
|
||||
- After reboot disable windows updates:
|
||||
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows updates' - stop & disable
|
||||
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
|
||||
* Disable Edge update/installer
|
||||
- Open services.msc: search 'Microsoft Edge Update Service (edgeupdate)' > stop and disable
|
||||
* Disable Onedrive
|
||||
- Open Task Manager: startup tab > Microsoft OneDrive > Disabled
|
||||
* (Restart Windows)
|
||||
* Google Chrome installed for RTA
|
||||
* Virus & threat protection settings:
|
||||
|
||||
@@ -8,7 +8,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.gradle_project"
|
||||
minSdk 23
|
||||
minSdk 28
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
@@ -21,6 +21,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.core
|
||||
implementation libs.appcompat
|
||||
implementation libs.material
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
[versions]
|
||||
agp = "7.4.1"
|
||||
agp = "8.4.0"
|
||||
core = "1.13.1"
|
||||
appcompat = "1.6.1"
|
||||
material = "1.11.0"
|
||||
constraintlayout = "2.1.4"
|
||||
|
||||
[libraries]
|
||||
core = { group = 'androidx.core', name = "core", version.ref = "core" }
|
||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
||||
|
||||
@@ -39,9 +39,9 @@ android14SystemZipSha="ede80c6901e8fad1895c97a86542b8e072bb1ee5"
|
||||
android14SystemPath="$basePath/$android14SystemZipName"
|
||||
|
||||
# Android Automotive max SDK level image
|
||||
sdkApiLevelAutomotiveMax="android-33"
|
||||
sdkApiLevelAutomotiveMax="android-34"
|
||||
androidAutomotiveMaxUrl="$basePath/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
|
||||
androidAutomotiveMaxSha="b020a938ec46af2510047284406e9bed608cad03"
|
||||
androidAutomotiveMaxSha="2cc5dae4fd0bdefb188a3b84019d0d1e65501519"
|
||||
# Android Automotive min SDK level image
|
||||
sdkApiLevelAutomotiveMin="android-29"
|
||||
androidAutomotiveMinUrl="$basePath/${sdkApiLevelAutomotiveMin}_automotive.tar.gz"
|
||||
@@ -125,7 +125,7 @@ SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
||||
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
||||
|
||||
# shellcheck disable=SC2129
|
||||
cat <<EOB >>~/versions.txt
|
||||
cat >>~/versions.txt <<EOB
|
||||
Android SDK tools = $toolsVersion
|
||||
Android SDK Build Tools = $sdkBuildToolsVersion
|
||||
Android SDK API level = $sdkApiLevel
|
||||
@@ -168,7 +168,7 @@ echo "Install maximum supported SDK level image for Android Automotive $sdkApiLe
|
||||
DownloadURL "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxSha" \
|
||||
"/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
|
||||
sudo tar -xzf "/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz" -C "$sdkTargetFolder/system-images"
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_33 -c 2048M -f \
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_34 -c 2048M -f \
|
||||
-k "system-images;${sdkApiLevelAutomotiveMax};android-automotive;x86_64"
|
||||
|
||||
echo "Install minimum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMin"
|
||||
@@ -193,7 +193,7 @@ cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
|
||||
cd /tmp/gradle_project
|
||||
# Get Gradle files from qtbase
|
||||
qtbaseGradleUrl="https://code.qt.io/cgit/qt/qtbase.git/plain/src/3rdparty/gradle"
|
||||
commit_sha="0d91cc866f2799d56911bcdadabebb137eafcea8"
|
||||
commit_sha="f22e9795d9a32fc4e9f4d6f2a70c2f831028342b"
|
||||
curl "$qtbaseGradleUrl/gradle.properties?h=$commit_sha" > gradle.properties
|
||||
curl "$qtbaseGradleUrl/gradlew?h=$commit_sha" > gradlew
|
||||
curl "$qtbaseGradleUrl/gradlew.bat?h=$commit_sha" > gradlew.bat
|
||||
|
||||
22
coin/provisioning/common/linux/fix-bwrap-apparmor.sh
Normal file
22
coin/provisioning/common/linux/fix-bwrap-apparmor.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2024 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
|
||||
|
||||
# See https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
|
||||
# and https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844/comments/89
|
||||
sudo bash -c 'cat > /etc/apparmor.d/bwrap' << EOF
|
||||
# This profile allows everything and only exists to give the
|
||||
# application a name instead of having the label "unconfined"
|
||||
|
||||
abi <abi/4.0>,
|
||||
include <tunables/global>
|
||||
|
||||
profile bwrap /usr/bin/bwrap flags=(unconfined) {
|
||||
userns,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/bwrap>
|
||||
}
|
||||
EOF
|
||||
|
||||
sudo apparmor_parser -r /etc/apparmor.d/bwrap
|
||||
67
coin/provisioning/common/linux/install-dummy-alsa-device.sh
Normal file
67
coin/provisioning/common/linux/install-dummy-alsa-device.sh
Normal file
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/env bash
|
||||
# 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
|
||||
|
||||
set -ex
|
||||
|
||||
systemd_folder=/etc/systemd/system
|
||||
systemd_file=dummysound.service
|
||||
script_folder=/home/qt/bin
|
||||
script_file=dummy_sound.sh
|
||||
|
||||
# Ensure that script folder exists
|
||||
if [ ! -d ${script_folder} ]; then
|
||||
sudo mkdir ${script_folder}
|
||||
sudo chmod 750 ${script_folder}
|
||||
fi
|
||||
|
||||
|
||||
# Create script to install dummy sound driver,
|
||||
# in case no other sound driver is installed.
|
||||
sudo tee "${script_folder}/${script_file}" <<"EOF"
|
||||
# Check for existing sound driver
|
||||
if lsmod | grep -q -i snd-dummy
|
||||
then
|
||||
echo "(**) Dummy sound driver already loaded. Nothing to do.";
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
# load dummy sound module
|
||||
sudo modprobe snd-dummy
|
||||
|
||||
# Check result
|
||||
if lsmod | grep -q snd_dummy
|
||||
then
|
||||
echo "(**) Dummy sound driver loaded.";
|
||||
else
|
||||
echo "(EE) Failed to load dummy sound driver.";
|
||||
exit 1;
|
||||
fi
|
||||
EOF
|
||||
|
||||
# set permissions
|
||||
sudo chmod 750 "${script_folder}/${script_file}"
|
||||
|
||||
# Create service file
|
||||
sudo tee "${systemd_folder}/${systemd_file}" <<"EOF"
|
||||
# /etc/systemd/system/dummysound.service
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Install dummy sound driver
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "/home/qt/bin/dummy_sound.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
# Start servive and output result, just for logging
|
||||
sudo systemctl start dummysound.service
|
||||
# status commented out, returns 3 on VM.
|
||||
# sudo systemctl status dummysound.service
|
||||
|
||||
# enable service
|
||||
sudo systemctl enable dummysound.service
|
||||
@@ -6,7 +6,14 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
targetVersion=0.2.14
|
||||
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||
|
||||
if [[ $(uname -m) == 'aarch64' ]]; then
|
||||
targetArch=aarch64-unknown-linux-musl
|
||||
sha1=0f9b57c423d77f7aa89bb642864ac7689d84d6a0
|
||||
else
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||
fi
|
||||
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
@@ -2,10 +2,29 @@
|
||||
# Copyright (C) 2017 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
|
||||
|
||||
# Disable spotlight and and stop indexing
|
||||
sudo mdutil -a -i off
|
||||
sudo mdutil -a -i off /
|
||||
# Disable spotlight indexing /Volumes
|
||||
sudo mdutil -i off /Volumes
|
||||
# Erase spotlight index
|
||||
sudo mdutil -E /
|
||||
disableSpotlight() {
|
||||
# Disable spotlight and and stop indexing
|
||||
sudo mdutil -a -i off
|
||||
sudo mdutil -a -i off /
|
||||
# Disable spotlight indexing /Volumes
|
||||
sudo mdutil -i off /Volumes
|
||||
# Erase spotlight index
|
||||
sudo mdutil -E /
|
||||
}
|
||||
|
||||
# Disabling spotlight tends to be flaky, add some retry
|
||||
for i in $(seq 1 5)
|
||||
do
|
||||
disableSpotlight
|
||||
res=$?
|
||||
if [[ $res -eq 0 ]]
|
||||
then
|
||||
echo "Spotlight disabled"
|
||||
break
|
||||
else
|
||||
echo "Failed to disable spotlight, $i retry..."
|
||||
sleep 2
|
||||
fi
|
||||
done
|
||||
|
||||
exit $res
|
||||
|
||||
@@ -12,20 +12,11 @@ os="$1"
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
|
||||
mimerSqlVersion="11.0.7G"
|
||||
if [ "$os" = "macos" ]; then
|
||||
arch=$(uname -m)
|
||||
if [ "$arch" = "x86_64" ]; then
|
||||
mimerSqlPackageName="mimersql-110_x86_64.tgz"
|
||||
SHA1="d748f87b72e7188c527f131db2590f552f18f544"
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_arm64.tgz"
|
||||
SHA1="f209c97074d096e50e637441073e8aa355c5116e"
|
||||
fi
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_universal.tgz"
|
||||
SHA1="eab32be623f1cbde7c29cea0f0ca4332b8ca502b"
|
||||
fi
|
||||
mimerSqlVersion="11.0.8E"
|
||||
|
||||
mimerSqlPackageName="mimersql-1108E_universal.tgz"
|
||||
SHA1="8077db02be2b54147eb4a48ce4a7a2ff1159fb4d"
|
||||
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/$mimerSqlPackageName"
|
||||
AltUrl="https://install.mimer.com/qt/macOS/$mimerSqlPackageName"
|
||||
|
||||
@@ -26,6 +26,7 @@ echo "Configure pip"
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install virtualenv wheel html5lib
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install -r ${BASH_SOURCE%/*}/../shared/sbom_requirements.txt
|
||||
|
||||
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
|
||||
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
|
||||
|
||||
@@ -6,7 +6,12 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-apple-darwin
|
||||
targetVersion=0.2.14
|
||||
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||
if [[ `arch` == arm* ]]; then
|
||||
targetArch=aarch64-apple-darwin
|
||||
sha1=ad10cd4b8889fa08e193a4165ac664876a27c0dc
|
||||
else
|
||||
targetArch=x86_64-apple-darwin
|
||||
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||
fi
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
@@ -2,30 +2,111 @@
|
||||
#Copyright (C) 2024 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
|
||||
|
||||
TCC_DATABASE="$HOME/Library/Application Support/com.apple.TCC/TCC.db"
|
||||
if touch "$TCC_DATABASE"; then
|
||||
# We can write to the TCC database
|
||||
BOOTSTRAP_AGENT="$HOME/bootstrap-agent"
|
||||
REQ_STR=$(codesign -d -r- "$BOOTSTRAP_AGENT" 2>&1 | awk -F ' => ' '/designated/{print $2}')
|
||||
REQ_HEX=$(echo "$REQ_STR" | csreq -r- -b >(xxd -p | tr -d '\n'))
|
||||
set -e
|
||||
|
||||
# shellcheck disable=SC2043
|
||||
for service in kTCCServiceMicrophone; do
|
||||
sqlite3 -echo "$TCC_DATABASE" <<EOF
|
||||
DELETE from access WHERE client = '$BOOTSTRAP_AGENT' AND service = '$service';
|
||||
INSERT INTO access (service, client, client_type, auth_value, auth_reason, auth_version, csreq, flags) VALUES (
|
||||
'$service', -- service
|
||||
'$BOOTSTRAP_AGENT', -- client
|
||||
1, -- client_type (1 - absolute path)
|
||||
2, -- auth_value (2 - allowed)
|
||||
4, -- auth_reason (4 - "System Set")
|
||||
1, -- auth_version
|
||||
X'$REQ_HEX', -- csreq
|
||||
0 -- flags
|
||||
);
|
||||
EOF
|
||||
done
|
||||
else
|
||||
echo "TCC database is not writable. Is SIP disabled?" >&2
|
||||
exit 1
|
||||
# ------ Clients ------
|
||||
|
||||
TCC_CLIENTS=()
|
||||
|
||||
# The original path to bootstrap-agent
|
||||
if [[ -x "$HOME/bootstrap-agent" ]]; then
|
||||
TCC_CLIENTS+=("$HOME/bootstrap-agent")
|
||||
fi
|
||||
|
||||
# The app-bundle version of the agent, in case we install it like that
|
||||
if [[ -d "$HOME/bootstrap-agent.app" ]]; then
|
||||
TCC_CLIENTS+=("$HOME/bootstrap-agent.app")
|
||||
fi
|
||||
|
||||
# The responsible process for the SSH server. By giving this
|
||||
# process the permissions we ensure that developers SSH'ing
|
||||
# into a CI machine will have the same permissions when running
|
||||
# tests as bootstrap-agent has. This also opens the door to
|
||||
# running the boostrap agent via SSH, giving the exact same
|
||||
# environment for interactive developer sessions as coin.
|
||||
TCC_CLIENTS+=("/usr/libexec/sshd-keygen-wrapper")
|
||||
|
||||
# ------ Services (permissions) ------
|
||||
|
||||
SERVICES=()
|
||||
|
||||
# Qt Multimedia tests need microphone access
|
||||
SERVICES+=("kTCCServiceMicrophone|$HOME")
|
||||
|
||||
# Qt Connectivity tests need Bluetooth access
|
||||
SERVICES+=("kTCCServiceBluetoothAlways|$HOME")
|
||||
|
||||
# Qt Multimedia might need screen capture, and it can
|
||||
# also be useful for capturing the state of the VM when
|
||||
# a test fails.
|
||||
SERVICES+=("kTCCServiceScreenCapture|/")
|
||||
|
||||
# ------ Implementation ------
|
||||
|
||||
function add_permission_for_client() {
|
||||
local client="$1"
|
||||
local service="$2"
|
||||
|
||||
local path="${service#*|}"
|
||||
local service="${service%|*}"
|
||||
|
||||
tcc_database="${path%/}/Library/Application Support/com.apple.TCC/TCC.db"
|
||||
if ! sudo touch "$tcc_database"; then
|
||||
echo "TCC database is not writable. Is SIP disabled?" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -d "$client" && "${client%/}" == *.app ]]; then
|
||||
info_plist="$client/Contents/Info.plist"
|
||||
executable=$(defaults read $info_plist CFBundleExecutable)
|
||||
executable="$client/Contents/MacOS/$executable"
|
||||
client=$(defaults read $info_plist CFBundleIdentifier)
|
||||
client_type="0" # Bundle ID
|
||||
elif [[ -x "$client" ]]; then
|
||||
executable=$client
|
||||
client_type="1" # Absolute path
|
||||
else
|
||||
echo "Unknown or missing TCC client type '$client'!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local req_str=$(codesign -d -r- "$executable" 2>&1 | awk -F ' => ' '/designated/{print $2}')
|
||||
local req_hex=$(echo "$req_str" | csreq -r- -b >(xxd -p | tr -d '\n'))
|
||||
|
||||
sudo sqlite3 -echo "$tcc_database" <<EOF
|
||||
DELETE from access WHERE client = '$client' AND service = '$service';
|
||||
INSERT INTO access (service, client, client_type, auth_value, auth_reason, auth_version, csreq, flags) VALUES (
|
||||
'$service', -- service
|
||||
'$client', -- client
|
||||
$client_type, -- client_type
|
||||
2, -- auth_value (2 - allowed)
|
||||
4, -- auth_reason (4 - "System Set")
|
||||
1, -- auth_version
|
||||
X'$req_hex', -- csreq
|
||||
0 -- flags
|
||||
);
|
||||
EOF
|
||||
|
||||
if [[ "$service" == "kTCCServiceScreenCapture" ]]; then
|
||||
# macOS 15 will nag the user every month about applications
|
||||
# that are permitted to capture the screen. We don't want this
|
||||
# popup to come in the way of tests, so we manually extend
|
||||
# the permission.
|
||||
replayd_dir="$HOME/Library/Group Containers/group.com.apple.replayd"
|
||||
mkdir -p "$replayd_dir"
|
||||
approvals_file="$replayd_dir/ScreenCaptureApprovals.plist"
|
||||
if [[ ! -f $approvals_file ]]; then
|
||||
plutil -create xml1 "$approvals_file"
|
||||
fi
|
||||
key=${executable//\./\\.}
|
||||
plutil -replace "$key" -date "2100-01-01T00:00:00Z" "$approvals_file"
|
||||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2043
|
||||
for client in "${TCC_CLIENTS[@]}"; do
|
||||
# shellcheck disable=SC2043
|
||||
for service in "${SERVICES[@]}"; do
|
||||
add_permission_for_client $client $service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
set(CMALE_SYSTEM_PROCESSOR armv7le)
|
||||
set(CMAKE_SYSTEM_PROCESSOR armle-v7)
|
||||
|
||||
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
|
||||
50
coin/provisioning/common/shared/fix_ffmpeg_dependencies.sh
Executable file
50
coin/provisioning/common/shared/fix_ffmpeg_dependencies.sh
Executable file
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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 -x
|
||||
|
||||
lib_dir="$1/lib"
|
||||
additional_suffix="${2:-}"
|
||||
set_rpath="${3:-yes}"
|
||||
|
||||
if uname -a |grep -q "Darwin"; then
|
||||
readelf() {
|
||||
/usr/local/opt/binutils/bin/readelf "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
ffmpeg_libs=("avcodec" "avdevice" "avfilter" "avformat" "avutil" "swresample" "swscale")
|
||||
|
||||
for lib_name in "${ffmpeg_libs[@]}"; do
|
||||
lib_path="$lib_dir/lib$lib_name.so"
|
||||
pkg_config_file_path="$lib_dir/pkgconfig/lib$lib_name.pc"
|
||||
|
||||
if [ ! -f "$lib_path" ]; then
|
||||
echo "FFmpeg lib $lib_path hasn't been found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$pkg_config_file_path" ]; then
|
||||
echo "FFmpeg pc file $pkg_config_file_path hasn't been found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while read -r line; do
|
||||
if [[ $line =~ .*\[(lib((ssl|crypto|va|va-x11|va-drm)(_3)?\.so(\.[0-9]+)*))\].* ]]; then
|
||||
stub_name="libQt6FFmpegStub-${BASH_REMATCH[2]}"
|
||||
if [[ ${BASH_REMATCH[4]} == "_3" ]]; then
|
||||
stub_name="${stub_name/_3/}" # Remove "_3" from stub_name
|
||||
fi
|
||||
if [[ -n "$additional_suffix" ]]; then
|
||||
stub_name="${stub_name%%.*}${additional_suffix}.${stub_name#*.}" # Add additional_suffix
|
||||
fi
|
||||
patchelf --replace-needed "${BASH_REMATCH[1]}" "${stub_name}" $lib_path
|
||||
fi
|
||||
done <<< "$(readelf -d $lib_path | grep '(NEEDED)' )"
|
||||
|
||||
sed -i.bak -E '/^Libs.private:/s/ -l(va|va-x11|va-drm|ssl|crypto)/ -lQt6FFmpegStub-\1/g;' $pkg_config_file_path && rm -f ${pkg_config_file_path}.bak
|
||||
if [[ "$set_rpath" == "yes" ]]; then
|
||||
patchelf --set-rpath '$ORIGIN' $lib_path
|
||||
fi
|
||||
done
|
||||
6
coin/provisioning/common/shared/sbom_requirements.txt
Normal file
6
coin/provisioning/common/shared/sbom_requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
# Python packages used to validate and audit Qt SBOM informaiton
|
||||
spdx-tools>=0.8.0
|
||||
ntia-conformance-checker
|
||||
sbomaudit
|
||||
sbom2doc
|
||||
reuse
|
||||
@@ -8,15 +8,15 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
version="3.1.50"
|
||||
version="3.1.56"
|
||||
versionNode="v16.20.0"
|
||||
tarBallVersion="${version//./_}"
|
||||
if uname -a |grep -q Darwin; then
|
||||
tarBallPackage="emsdk_macos_${tarBallVersion}.tar.gz"
|
||||
sha="c12169ec8d22fc7a9ef1ba98027435bdf3b72729"
|
||||
sha="24c49db971da4fd7c68f6b71984c3d7775fdfb84"
|
||||
else
|
||||
tarBallPackage="emsdk_linux_${tarBallVersion}.tar.gz"
|
||||
sha="5d81a8f1ddcb8d74c70ba5608efd4266c857944a"
|
||||
sha="410c93bb2ab3b244190c2cb5f0ff1ce5d6ac4eb5"
|
||||
fi
|
||||
cacheUrl="https://ci-files01-hki.ci.qt.io/input/emsdk/${tarBallPackage}"
|
||||
target="/tmp/${tarBallPackage}"
|
||||
|
||||
@@ -9,9 +9,10 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
# Note! Python3 is required for Conan installation
|
||||
|
||||
os="$1"
|
||||
params="$2"
|
||||
|
||||
# Install Conan to Python user install directory (typically ~./local/)
|
||||
pip3 install conan --user
|
||||
pip3 install conan --user $params
|
||||
|
||||
SetEnvVar "CONAN_REVISIONS_ENABLED" "1"
|
||||
SetEnvVar "CONAN_V2_MODE" "1"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Copyright (C) 2022 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 will build and install FFmpeg static libs
|
||||
# This script will build and install FFmpeg shared libs
|
||||
set -ex
|
||||
os="$1"
|
||||
|
||||
@@ -11,9 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
version="n7.0.2"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
@@ -30,28 +30,36 @@ build_ffmpeg_android() {
|
||||
|
||||
target_arch=$1
|
||||
target_dir=$2
|
||||
shared="${3:-no}"
|
||||
|
||||
sudo mkdir -p "$target_dir"
|
||||
|
||||
openssl_include="$OPENSSL_ANDROID_HOME_DEFAULT/include"
|
||||
openssl_libs=""
|
||||
libs_prefix=""
|
||||
if [ "$target_arch" == "x86_64" ]; then
|
||||
target_toolchain_arch="x86_64-linux-android"
|
||||
target_arch=x86_64
|
||||
target_cpu=x86-64
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86_64"
|
||||
libs_prefix="_x86_64"
|
||||
elif [ "$target_arch" == "x86" ]; then
|
||||
target_toolchain_arch="i686-linux-android"
|
||||
target_arch=x86
|
||||
target_cpu=i686
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86"
|
||||
libs_prefix="_x86"
|
||||
elif [ "$target_arch" == "arm64" ]; then
|
||||
target_toolchain_arch="aarch64-linux-android"
|
||||
target_arch=aarch64
|
||||
target_cpu=armv8-a
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/arm64-v8a"
|
||||
libs_prefix="_arm64-v8a"
|
||||
fi
|
||||
|
||||
ln -s "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
|
||||
ln -s "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
|
||||
|
||||
api_version=24
|
||||
|
||||
ndk_root=$ANDROID_NDK_ROOT_DEFAULT
|
||||
@@ -71,6 +79,9 @@ build_ffmpeg_android() {
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
if [[ "$shared" == "yes" ]]; then
|
||||
ffmpeg_config_options+=" --enable-shared --disable-static"
|
||||
fi
|
||||
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
|
||||
@@ -83,6 +94,15 @@ build_ffmpeg_android() {
|
||||
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options --prefix="$target_dir"
|
||||
|
||||
sudo make install -j4
|
||||
|
||||
rm -f "${openssl_libs}/libcrypto.so"
|
||||
rm -f "${openssl_libs}/libssl.so"
|
||||
|
||||
if [[ "$shared" == "yes" ]]; then
|
||||
fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
||||
sudo "${fix_dependencies}" "${target_dir}" "${libs_prefix}" "no"
|
||||
fi
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
@@ -103,4 +123,4 @@ elif [ "$os" == "android-arm64" ]; then
|
||||
SetEnvVar "FFMPEG_DIR_ANDROID_ARM64" "$target_dir"
|
||||
fi
|
||||
|
||||
build_ffmpeg_android "$target_arch" "$target_dir"
|
||||
build_ffmpeg_android "$target_arch" "$target_dir" "yes"
|
||||
|
||||
@@ -10,9 +10,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
version="n7.0.2"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
@@ -61,6 +61,9 @@ build_ffmpeg_ios() {
|
||||
--extra-cflags="$minos" \
|
||||
--extra-cxxflags="$minos" \
|
||||
--enable-cross-compile \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--install-name-dir='@rpath/Frameworks' \
|
||||
--enable-swscale \
|
||||
--enable-pthreads \
|
||||
--disable-audiotoolbox
|
||||
@@ -69,8 +72,37 @@ build_ffmpeg_ios() {
|
||||
popd
|
||||
}
|
||||
|
||||
install_ffmpeg() {
|
||||
for dir in "$@"; do
|
||||
echo "Processing files in $dir ..."
|
||||
pushd "$dir" >/dev/null
|
||||
find . -type l -name '*.*.dylib' | while read -r f; do
|
||||
dst="${f:1}"
|
||||
dstdir="$(dirname "$dst")"
|
||||
sudo mkdir -p "$dstdir"
|
||||
|
||||
if [[ ! -f "$dst" ]]; then
|
||||
echo "<Copying $dir/$f to $dst"
|
||||
sudo cp -c "$f" "$dst"
|
||||
symlinkname="$(tmp=${f/*\/}; echo ${tmp/\.*}).dylib"
|
||||
sudo ln -s "$(basename -- "$f")" $dstdir/"$symlinkname"
|
||||
elif lipo -info "$f" >/dev/null 2>&1; then
|
||||
echo "Lipoing $dir/$f into $dst"
|
||||
sudo lipo -create -output "$dst" "$dst" "$f"
|
||||
elif ! diff "$f" "$dst"; then
|
||||
echo "Error: File $f in $dir doesn't match destination $dst"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo "LS"
|
||||
popd >/dev/null
|
||||
done
|
||||
sudo cp -r $1$prefix/include $prefix
|
||||
echo "LS done."
|
||||
}
|
||||
|
||||
build_ffmpeg_ios "x86_64"
|
||||
build_ffmpeg_ios "arm64"
|
||||
sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||
|
||||
install_ffmpeg "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||
|
||||
@@ -11,9 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
version="n7.0.2"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
@@ -71,11 +71,26 @@ build_ffmpeg() {
|
||||
}
|
||||
|
||||
if [ "$os" == "linux" ]; then
|
||||
build_type="$2"
|
||||
|
||||
install_ff_nvcodec_headers
|
||||
|
||||
ffmpeg_config_options+=" --enable-openssl"
|
||||
|
||||
if [ "$build_type" != "static" ]; then
|
||||
ffmpeg_config_options+=" --enable-shared --disable-static"
|
||||
fi
|
||||
|
||||
build_ffmpeg
|
||||
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
||||
|
||||
output_dir="$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name"
|
||||
|
||||
if [ "$build_type" != "static" ]; then
|
||||
fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
||||
"$fix_dependencies" "$output_dir"
|
||||
fi
|
||||
|
||||
sudo mv "$output_dir" "/usr/local"
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
|
||||
elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
@@ -111,3 +126,5 @@ elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
26
coin/provisioning/common/unix/install-patchelf.sh
Executable file
26
coin/provisioning/common/unix/install-patchelf.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
patchelf_version="0.17.2"
|
||||
|
||||
url_cached="https://ci-files01-hki.intra.qt.io/input/android/patchelf/$patchelf_version.tar.gz"
|
||||
url_public="https://github.com/NixOS/patchelf/archive/refs/tags/$patchelf_version.tar.gz"
|
||||
sha1="ddd46a2e2a16a308245c008721d877455b23bba8"
|
||||
|
||||
target_source_dir="$HOME/patchelf-$patchelf_version"
|
||||
|
||||
if [ ! -d "$target_source_dir" ]; then
|
||||
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$HOME" ""
|
||||
fi
|
||||
|
||||
pushd "$target_source_dir"
|
||||
|
||||
./bootstrap.sh
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
|
||||
popd
|
||||
@@ -20,33 +20,38 @@ PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
# shellcheck source=./common.sourced.sh
|
||||
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
libclang_version="15.0.0"
|
||||
libclang_version="18.1.7"
|
||||
|
||||
if uname -a |grep -q Darwin; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-mac.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-mac.7z"
|
||||
sha1="6d916a17459c81551dde47580ae3f071e93338a5"
|
||||
elif test -f /etc/redhat-release && grep "Red Hat" /etc/redhat-release | grep -v "8" ; then
|
||||
sha1="9ea511576645ef4abee6d4c27550406e929334d5"
|
||||
elif test -f /etc/redhat-release && grep "Red Hat" /etc/redhat-release | grep "9" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
|
||||
sha1="6ca035bb522022d34d61759e0460845832933b5c"
|
||||
elif [ "$PROVISIONING_OS_ID" = ubuntu ]; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
sha1="dd170ec762a7ec8ac84b4b5cac3a422514e5b030"
|
||||
elif [ "$PROVISIONING_OS_ID" = debian ]; then
|
||||
version=17.0.1
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
sha1="43f0210121b889107e3dab631e8104e661a3866b"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel9.2-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel9.2-gcc10.0-x86_64.7z"
|
||||
sha1="32c29d8df726b035e0a97e767c5c3e392aa331e1"
|
||||
elif test "$PROVISIONING_OS_ID" == "debian" && test "$PROVISIONING_ARCH" == "arm64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
sha1="8d876f60c2fe9c55e18fbac0be2acb70bd20d5d1"
|
||||
elif test "$PROVISIONING_OS_ID" == "ubuntu" && test "$PROVISIONING_ARCH" == "arm64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu24.04-gcc11.2-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu24.04-gcc11.2-arm64.7z"
|
||||
sha1="5a7bda4fbd2c52ae66557034591d977ba617482c"
|
||||
elif test "$PROVISIONING_OS_ID" == "ubuntu" && test "$PROVISIONING_ARCH" == "x86_64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
sha1="b9f8735a148342174d7d763b5475175cd0827441"
|
||||
else
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
sha1="bd6615012b8bdb2720a45ede56e05f6db7191843"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel8.8-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.8-gcc10.0-x86_64.7z"
|
||||
sha1="a51c5562c9b071250e7971390d55ef21924271ca"
|
||||
fi
|
||||
|
||||
zip="/tmp/libclang.7z"
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
CommitSHA="2873885d7e840b4e06483f36f170c609eb30527d"
|
||||
CommitSHA="9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
||||
SHA1="1fcc4e61b12f11a1421cc8c3f379276d732e62b7"
|
||||
SHA1="c31cfd5de9329dcd25e28b306f94dccf632cc318"
|
||||
targetFolder="/opt/paho_broker"
|
||||
appPrefix="paho.mqtt.testing-$CommitSHA"
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ function installSccache {
|
||||
|
||||
sudo mkdir -p /usr/local/sccache
|
||||
sudo tar -C /usr/local/sccache -x -z --totals --strip-components=1 --file="$targetFile"
|
||||
sudo chmod +x /usr/local/sccache/sccache
|
||||
|
||||
# add sccache __before__ the real compiler
|
||||
SetEnvVar "PATH" "/usr/local/sccache:\$PATH"
|
||||
@@ -32,4 +33,7 @@ function installSccache {
|
||||
chmod 755 "$HOME/sccache_wrapper/sccache"
|
||||
SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
|
||||
|
||||
# Prevents some random network I/O errors from failing compilation
|
||||
# Does not seem to affect much though
|
||||
SetEnvVar "SCCACHE_IGNORE_SERVER_IO_ERROR" "1"
|
||||
}
|
||||
|
||||
@@ -2,16 +2,17 @@
|
||||
# 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
|
||||
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
set -ex
|
||||
|
||||
# This script will fetch and extract pre-buildt squish package for Linux and Mac.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
version="7.2.1"
|
||||
qtBranch="66x"
|
||||
version="8.0.0"
|
||||
qtBranch="67x"
|
||||
installFolder="/opt"
|
||||
squishFolder="$installFolder/squish"
|
||||
preBuildCacheUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/jenkins_build/stable"
|
||||
@@ -22,11 +23,16 @@ licenseSHA="e84b499a2011f9bb1a6eefc7b2338d7ae770927a"
|
||||
testSuiteUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/coin/suite_test_squish"
|
||||
testSuiteLocal="/tmp/squish_test_suite"
|
||||
if uname -a |grep -q Darwin; then
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-mac.tar.gz"
|
||||
sha1="7467c974b65255c86b8fccaeca90e0590d4f7c96"
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-mac-x64.tar.gz"
|
||||
sha1="8ae422b44af9b8e5f0d15cdca08df99973b8699a"
|
||||
else
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux64.tar.gz"
|
||||
sha1="950a6035c777c8ce0a50a0b3ad468044d07f898b"
|
||||
if [ "$PROVISIONING_ARCH" = arm64 ] ; then
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux-arm64.tar.gz"
|
||||
sha1="06d542579271f88b1527d6ddca2bfd4eaf2dade5"
|
||||
else
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux-x64.tar.gz"
|
||||
sha1="db5c48f359b46a460551cdf9362c63f557cbc04f"
|
||||
fi
|
||||
fi
|
||||
|
||||
mountFolder="/tmp/squish"
|
||||
@@ -69,14 +75,6 @@ if uname -a |grep -q Darwin; then
|
||||
sudo xattr -r -c "$squishFolder"
|
||||
fi
|
||||
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
if [ ! -e "/usr/lib/tcl8.6" ]; then
|
||||
sudo mkdir /usr/lib/tcl8.6
|
||||
#this needs to be copied only to squish_for_qt65
|
||||
sudo cp "$squishFolder/squish_for_qt66/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Download Squish license"
|
||||
DownloadURL "$licenseUrl" "$licenseUrl" "$licenseSHA" "$HOME/$licenseFile"
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
# This script will install emscripten needed by WebAssembly
|
||||
|
||||
$version = "3.1.50"
|
||||
$version = "3.1.56"
|
||||
$zipVersion = $version -replace '\.', "_"
|
||||
$temp = "$env:tmp"
|
||||
$cacheUrl = "https://ci-files01-hki.ci.qt.io/input/emsdk/emsdk_windows_${zipVersion}.zip"
|
||||
$sha = "40dc636688166ecdb476da40d02c491ee5032f7b"
|
||||
$sha = "ab376d218f1a66302c36770977948f74f0576a42"
|
||||
|
||||
# Make sure python is in the path
|
||||
Prepend-Path "C:\Python27"
|
||||
|
||||
@@ -297,13 +297,52 @@ function DeleteSchedulerTask {
|
||||
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
|
||||
}
|
||||
|
||||
function GetVSPath {
|
||||
function GetVsProperty {
|
||||
Param (
|
||||
[string]$VSWhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe",
|
||||
[string]$Component = "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
|
||||
[string]$Component = 'Microsoft.VisualStudio.Component.VC.CoreIde',
|
||||
[string]$Property,
|
||||
[switch]$Latest
|
||||
)
|
||||
|
||||
return (& $VSWhere -nologo -latest -products * -requires $Component -property installationPath)
|
||||
$vsWhereProcessInfo = New-Object System.Diagnostics.ProcessStartInfo
|
||||
$vsWhereProcessInfo.FileName = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
$vsWhereProcessInfo.RedirectStandardError = $true
|
||||
$vsWhereProcessInfo.RedirectStandardOutput = $true
|
||||
$vsWhereProcessInfo.UseShellExecute = $false
|
||||
|
||||
# -sort: sorts the instances from newest version and last installed to oldest
|
||||
$vsWhereProcessInfo.Arguments = " -nologo -sort -products * -requires $Component -property $Property"
|
||||
if ($Latest) {
|
||||
# -latest: return only the newest version and last installed
|
||||
$vsWhereProcessInfo.Arguments += ' -latest'
|
||||
}
|
||||
|
||||
$vsWhereProcess = New-Object System.Diagnostics.Process
|
||||
$vsWhereProcess.StartInfo = $vsWhereProcessInfo
|
||||
|
||||
$vsWhereProcess.Start() | Out-Null
|
||||
$vsWhereProcess.WaitForExit()
|
||||
|
||||
$standardOutput = $vsWhereProcess.StandardOutput.ReadToEnd()
|
||||
if ([string]::IsNullOrEmpty($standardOutput)) {
|
||||
throw "vswhere could not find property '$Property'"
|
||||
}
|
||||
|
||||
$exitCode = $vsWhereProcess.ExitCode
|
||||
if ($exitCode -ne 0) {
|
||||
$standardError = $vsWhereProcess.StandardError.ReadToEnd()
|
||||
throw "vswhere failed with exit code $exitCode ($standardError)"
|
||||
}
|
||||
|
||||
return $standardOutput.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Select-Object -Last 1
|
||||
}
|
||||
|
||||
function GetVsInstallationPath {
|
||||
Param (
|
||||
[switch]$Latest
|
||||
)
|
||||
|
||||
return GetVsProperty -Property 'installationPath' @PSBoundParameters
|
||||
}
|
||||
|
||||
function EnterVSDevShell {
|
||||
@@ -312,13 +351,11 @@ function EnterVSDevShell {
|
||||
[string]$Arch = "amd64"
|
||||
)
|
||||
|
||||
$vsWere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
$vcComponent = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
||||
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
||||
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
||||
$VSPath = (& $vsWere -nologo -products * -requires $vcComponent -sort -format value -property installationPath | Select-Object -Last 1)
|
||||
$VSPath = GetVsInstallationPath
|
||||
|
||||
Write-Host "Enter VisualStudio developer shell (-host_arch=$HostArch -arch=$Arch)"
|
||||
Write-Host "Enter VisualStudio developer shell (-host_arch=$HostArch -arch=$Arch -VsInstallPath='$VSPath')"
|
||||
try {
|
||||
Import-Module "$VSPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
|
||||
Enter-VsDevShell -VsInstallPath $VSPath -DevCmdArguments "-host_arch=$HostArch -arch=$Arch -no_logo"
|
||||
|
||||
@@ -6,12 +6,28 @@
|
||||
# This script will install Dependency Walker 2.2.6000
|
||||
|
||||
$version = "2.2.6000"
|
||||
if (Is64BitWinHost) {
|
||||
$arch = "_x64"
|
||||
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
||||
} else {
|
||||
$arch = "_x86"
|
||||
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
||||
$cpu_arch = Get-CpuArchitecture
|
||||
switch ($cpu_arch) {
|
||||
x64 {
|
||||
$arch = "_x64"
|
||||
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
||||
$nuitka_arch = "x86_64"
|
||||
}
|
||||
arm64 {
|
||||
# There is no ARM64 version of Dependency Walker
|
||||
# just use the x64 version
|
||||
$arch = "_x64"
|
||||
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
||||
$nuitka_arch = "arm64"
|
||||
}
|
||||
x86 {
|
||||
$arch = "_x86"
|
||||
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
||||
$nuitka_arch = "x86"
|
||||
}
|
||||
default {
|
||||
throw "Unknown architecture $cpu_arch"
|
||||
}
|
||||
}
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\depends22" + $arch + ".zip"
|
||||
$url_official = "http://www.dependencywalker.com/depends22" + $arch + ".zip"
|
||||
@@ -28,7 +44,7 @@ Extract-7Zip $dependsPackage $TARGETDIR
|
||||
|
||||
# Copy the content also into the cache location of nuitka
|
||||
# This makes it usable without the need to download it again
|
||||
Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\x86_64" -Recurse
|
||||
Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\$nuitka_arch" -Recurse
|
||||
|
||||
Write-Host "Cleaning $dependsPackage.."
|
||||
Remove "$dependsPackage"
|
||||
|
||||
@@ -6,27 +6,32 @@
|
||||
# This script will install FFmpeg
|
||||
$msys = "C:\Utils\msys64\usr\bin\bash"
|
||||
|
||||
$version = "n6.1.1"
|
||||
$ffmpeg_name = "ffmpeg-" + $version;
|
||||
$sha1 = "7AECCED8A0366BE407329B4E176167534233DA12"
|
||||
$version="n7.0.2"
|
||||
$url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
$sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
|
||||
$url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
$ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
$url_cached = "https://ci-files01-hki.ci.qt.io/input/ffmpeg/" + $version + ".zip"
|
||||
$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
|
||||
$download_location = "C:\Windows\Temp\" + $ffmpeg_name + ".zip"
|
||||
$download_location = "C:\Windows\Temp\$ffmpeg_name.tar.gz"
|
||||
$unzip_location = "C:\"
|
||||
|
||||
Write-Host "Fetching FFmpeg $version..."
|
||||
|
||||
Download $url_public $url_cached $download_location
|
||||
Verify-Checksum $download_location $sha1
|
||||
Extract-7Zip $download_location $unzip_location
|
||||
Extract-tar_gz $download_location $unzip_location
|
||||
Remove $download_location
|
||||
|
||||
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
Write-Host "FFmpeg configuration $config"
|
||||
function GetFfmpegDefaultConfiguration {
|
||||
$defaultConfiguration = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
Write-Host "FFmpeg default configuration: $defaultConfiguration"
|
||||
|
||||
return $defaultConfiguration
|
||||
}
|
||||
|
||||
function InstallFfmpeg {
|
||||
Param (
|
||||
[string]$config,
|
||||
[string]$buildSystem,
|
||||
[string]$msystem,
|
||||
[string]$additionalPath,
|
||||
@@ -35,19 +40,25 @@ function InstallFfmpeg {
|
||||
[bool]$shared
|
||||
)
|
||||
|
||||
Write-Host "Configure and compile ffmpeg for $buildSystem"
|
||||
Write-Host "Configure and compile FFmpeg for $buildSystem with configuration: $config"
|
||||
|
||||
$oldPath = $env:PATH
|
||||
|
||||
if ($additionalPath) { $env:PATH = "$additionalPath;$env:PATH" }
|
||||
if ($additionalPath) {
|
||||
$env:PATH = "$additionalPath;$env:PATH"
|
||||
}
|
||||
$env:MSYS2_PATH_TYPE = "inherit"
|
||||
$env:MSYSTEM = $msystem
|
||||
|
||||
$cmd = "cd /c/$ffmpeg_name"
|
||||
$cmd += " && mkdir -p build/$buildSystem && cd build/$buildSystem"
|
||||
$cmd += " && ../../configure --prefix=installed $config"
|
||||
if ($toolchain) { $cmd += " --toolchain=$toolchain" }
|
||||
if ($shared) { $cmd += " --enable-shared --disable-static" }
|
||||
if ($toolchain) {
|
||||
$cmd += " --toolchain=$toolchain"
|
||||
}
|
||||
if ($shared) {
|
||||
$cmd += " --enable-shared --disable-static"
|
||||
}
|
||||
$cmd += " && make install -j"
|
||||
|
||||
Write-Host "MSYS cmd:"
|
||||
@@ -57,7 +68,7 @@ function InstallFfmpeg {
|
||||
$env:PATH = $oldPath
|
||||
|
||||
if ($buildResult.ExitCode) {
|
||||
Write-Host "Failed to build ffmpeg for $buildSystem"
|
||||
Write-Host "Failed to build FFmpeg for $buildSystem"
|
||||
return $false
|
||||
}
|
||||
|
||||
@@ -66,13 +77,15 @@ function InstallFfmpeg {
|
||||
}
|
||||
|
||||
function InstallMingwFfmpeg {
|
||||
$config = GetFfmpegDefaultConfiguration
|
||||
$mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW_PATH", [System.EnvironmentVariableTarget]::Machine)
|
||||
return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW" -shared $true
|
||||
return InstallFfmpeg -config $config -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW" -shared $true
|
||||
}
|
||||
|
||||
|
||||
function InstallMsvcFfmpeg {
|
||||
Param (
|
||||
[string]$hostArch,
|
||||
[bool]$isArm64
|
||||
)
|
||||
|
||||
@@ -80,27 +93,30 @@ function InstallMsvcFfmpeg {
|
||||
$buildSystem = "msvc"
|
||||
$ffmpegDirEnvVar = "FFMPEG_DIR_MSVC"
|
||||
|
||||
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
$config = GetFfmpegDefaultConfiguration
|
||||
|
||||
if ($isArm64) {
|
||||
$arch = "arm64"
|
||||
$buildSystem += "-arm64"
|
||||
$ffmpegDirEnvVar += "_ARM64"
|
||||
$config += " --enable-cross-compile --arch=arm64 --disable-asm"
|
||||
$config += " --arch=arm64 --disable-asm"
|
||||
if ($hostArch -eq "amd64") {
|
||||
$config += " --enable-cross-compile"
|
||||
}
|
||||
}
|
||||
|
||||
$result = EnterVSDevShell -Arch $arch
|
||||
$result = EnterVSDevShell -HostArch $hostArch -Arch $arch
|
||||
if (-Not $result) {
|
||||
return $false
|
||||
}
|
||||
|
||||
$result = InstallFfmpeg -buildSystem $buildSystem -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar $ffmpegDirEnvVar -shared $true
|
||||
$result = InstallFfmpeg -config $config -buildSystem $buildSystem -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar $ffmpegDirEnvVar -shared $true
|
||||
|
||||
if ($result) {
|
||||
# As ffmpeg build system creates lib*.a file we have to rename them to *.lib files to be recognized by WIN32
|
||||
Write-Host "Rename libraries lib*.a -> *.lib"
|
||||
try {
|
||||
$msvcDir = [System.Environment]::GetEnvironmentVariable("FFMPEG_DIR_MSVC", [System.EnvironmentVariableTarget]::Machine)
|
||||
$msvcDir = [System.Environment]::GetEnvironmentVariable($ffmpegDirEnvVar, [System.EnvironmentVariableTarget]::Machine)
|
||||
Get-ChildItem "$msvcDir\lib\lib*.a" | ForEach-Object {
|
||||
$NewName = $_.Name -replace 'lib(\w+).a$', '$1.lib'
|
||||
$Destination = Join-Path -Path $_.Directory.FullName -ChildPath $NewName
|
||||
@@ -117,11 +133,12 @@ function InstallMsvcFfmpeg {
|
||||
|
||||
|
||||
function InstallLlvmMingwFfmpeg {
|
||||
return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin" -shared $true
|
||||
$config = GetFfmpegDefaultConfiguration
|
||||
return InstallFfmpeg -config $config -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin" -shared $true
|
||||
}
|
||||
|
||||
function InstallAndroidArmv7 {
|
||||
|
||||
$shared=$true
|
||||
$target_toolchain_arch="armv7a-linux-androideabi"
|
||||
$target_arch="armv7-a"
|
||||
$target_cpu="armv7-a"
|
||||
@@ -143,27 +160,90 @@ function InstallAndroidArmv7 {
|
||||
$openssl_path = [System.Environment]::GetEnvironmentVariable("OPENSSL_ANDROID_HOME_DEFAULT", [System.EnvironmentVariableTarget]::Machine)
|
||||
$openssl_path = $openssl_path.Replace("\", "/")
|
||||
|
||||
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
New-Item -ItemType SymbolicLink -Path ${openssl_path}/armeabi-v7a/libcrypto.so -Target ${openssl_path}/armeabi-v7a/libcrypto_3.so
|
||||
New-Item -ItemType SymbolicLink -Path ${openssl_path}/armeabi-v7a/libssl.so -Target ${openssl_path}/armeabi-v7a/libssl_3.so
|
||||
|
||||
$config = GetFfmpegDefaultConfiguration
|
||||
$config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
$config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
$config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
$config += " --extra-cflags=-I$envOPENSSL_ANDROID_HOME_DEFAULT/include --extra-ldflags=-L$env:OPENSSL_ANDROID_HOME_DEFAULT/armeabi-v7a"
|
||||
$config += " --extra-cflags=-I${openssl_path}/include --extra-ldflags=-L${openssl_path}/armeabi-v7a"
|
||||
$config += " --strip=$strip"
|
||||
|
||||
return InstallFfmpeg -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7"
|
||||
|
||||
$result= InstallFfmpeg -config $config -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7" -shared $shared
|
||||
|
||||
Remove-Item -Path ${openssl_path}/armeabi-v7a/libcrypto.so
|
||||
Remove-Item -Path ${openssl_path}/armeabi-v7a/libssl.so
|
||||
|
||||
if (-not $shared) {
|
||||
return $result
|
||||
}
|
||||
|
||||
# For Shared ffmpeg we need to change dependencies to stubs
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"pacman -Sy --noconfirm binutils`"")
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"pacman -Sy --noconfirm autoconf`"")
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"pacman -Sy --noconfirm automake`"")
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"pacman -Sy --noconfirm libtool`"")
|
||||
|
||||
$patchelf_sha1 = "DDD46A2E2A16A308245C008721D877455B23BBA8"
|
||||
$patchelf_sources = "https://ci-files01-hki.intra.qt.io/input/android/patchelf/0.17.2.tar.gz"
|
||||
$patchelf_download_location = "C:\Windows\Temp\0.17.2.tar.gz"
|
||||
|
||||
Invoke-WebRequest -UseBasicParsing $patchelf_sources -OutFile $patchelf_download_location
|
||||
Verify-Checksum $patchelf_download_location $patchelf_sha1
|
||||
Extract-tar_gz $patchelf_download_location $unzip_location
|
||||
Remove $patchelf_download_location
|
||||
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"cd C:/patchelf-0.17.2 && ./bootstrap.sh && ./configure && make install`"")
|
||||
|
||||
$command = "${PSScriptRoot}/../shared/fix_ffmpeg_dependencies.sh C:/${ffmpeg_name}/build/android-arm/installed/ _armeabi-v7a no"
|
||||
$command = $command.Replace("\", "/")
|
||||
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"$command`"")
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
$mingwRes = InstallMingwFfmpeg
|
||||
$llvmMingwRes = InstallLlvmMingwFfmpeg
|
||||
$androidArmV7Res = InstallAndroidArmv7
|
||||
$msvcRes = InstallMsvcFfmpeg -isArm64 $false
|
||||
$msvcArm64Res = InstallMsvcFfmpeg -isArm64 $true
|
||||
function InstallFfmpegsAMD64 {
|
||||
$hostArch = "amd64"
|
||||
$mingwRes = InstallMingwFfmpeg
|
||||
$llvmMingwRes = InstallLlvmMingwFfmpeg
|
||||
$androidArmV7Res = InstallAndroidArmv7
|
||||
$msvcRes = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $false
|
||||
$msvcArm64Res = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $true
|
||||
|
||||
Write-Host "Ffmpeg installation results:"
|
||||
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
|
||||
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
|
||||
Write-Host "Ffmpeg installation results:"
|
||||
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
|
||||
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
|
||||
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
|
||||
|
||||
exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
|
||||
exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
|
||||
}
|
||||
|
||||
function InstallFfmpegsARM64 {
|
||||
$hostArch = "arm64"
|
||||
$msvcArm64Res = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $true
|
||||
|
||||
Write-Host "Ffmpeg installation results:"
|
||||
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
|
||||
|
||||
exit $(if ($msvcArm64Res) { 0 } else { 1 })
|
||||
}
|
||||
|
||||
$cpu_arch = Get-CpuArchitecture
|
||||
switch ($cpu_arch) {
|
||||
arm64 {
|
||||
InstallFfmpegsARM64
|
||||
Break
|
||||
}
|
||||
x64 {
|
||||
InstallFfmpegsAMD64
|
||||
Break
|
||||
}
|
||||
default {
|
||||
throw "Unknown architecture $cpu_arch"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,47 +4,50 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will install Java SE
|
||||
# https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
|
||||
$version_major = "17"
|
||||
$installdir = "C:\Program Files\Java\jdk-$version_major"
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
$version = "11.0.12"
|
||||
$arch = "x64"
|
||||
$sha1 = "135ffd1c350509729551876232a5354070732e92"
|
||||
$installdir = "C:\Program Files\Java\jdk-$version"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||
} else {
|
||||
$version = "11.0.11.9"
|
||||
$arch = "x86-32"
|
||||
$sha1 = "a861e994208ee85bf83a76105f6858feeb6fbb33"
|
||||
$installdir = "C:\Program Files\AdoptOpenJDK\jdk-$version-hotspot"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\OpenJDK11U-jdk_x86-32_windows_hotspot_11.0.11_9.msi"
|
||||
$cpu_arch = Get-CpuArchitecture
|
||||
switch ($cpu_arch) {
|
||||
arm64 {
|
||||
$version = "17.0.11"
|
||||
$arch = "aarch64"
|
||||
$sha1 = "1c5984a185778ad91498b746e677d84e153d5918"
|
||||
# Using Microsoft build version of OpenJDK from: https://learn.microsoft.com/en-us/java/openjdk/download
|
||||
# as there are no available Windows ARM64 versions of JDK from Oracle
|
||||
$url_official = "https://aka.ms/download-jdk/microsoft-jdk-${version}-windows-${arch}.msi"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\microsoft-jdk-${version}-windows-${arch}.msi"
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.msi"
|
||||
Break
|
||||
}
|
||||
x64 {
|
||||
$version = "17.0.10"
|
||||
$arch = "x64"
|
||||
$sha1 = "d573091930076c3ffa9f74273cb41cb5c75c5400"
|
||||
$url_official = "https://download.oracle.com/java/17/archive/jdk-${version}_windows-${arch}_bin.exe"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-$version-windows-$arch.exe"
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||
Break
|
||||
}
|
||||
default {
|
||||
throw "Unknown architecture $cpu_arch"
|
||||
}
|
||||
}
|
||||
|
||||
# NOTE! Official URL is behind login portal. It can't be used whit this script instead it need to be fetched to $url_cache first
|
||||
# java 11: https://www.oracle.com/java/technologies/downloads/#java11-windows
|
||||
# java 8: $official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||
if (Is64BitWinHost) {
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||
} else {
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.msi"
|
||||
}
|
||||
|
||||
Write-Host "Fetching Java SE $version..."
|
||||
Write-Host "Fetching Java SE $version"
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Write-Host "...from local cache"
|
||||
Download $url_cache $url_cache $javaPackage
|
||||
Download $url_official $url_cache $javaPackage
|
||||
Verify-Checksum $javaPackage $sha1
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
if ($javaPackage.EndsWith(".exe")) {
|
||||
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||
} else {
|
||||
Run-Executable "msiexec" "/quiet /i $javaPackage"
|
||||
}
|
||||
Remove "$javaPackage"
|
||||
|
||||
Write-Host "Remove Java update from startup"
|
||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /v SunJavaUpdateSched /f
|
||||
|
||||
Set-EnvironmentVariable "JAVA_HOME" "$installdir"
|
||||
Add-Path "$installdir\bin"
|
||||
Prepend-Path "$installdir\bin"
|
||||
|
||||
Write-Output "Java SE = $version $arch" >> ~\versions.txt
|
||||
|
||||
@@ -5,7 +5,7 @@ param(
|
||||
)
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$libclang_version="15.0.0"
|
||||
$libclang_version="18.1.7"
|
||||
Write-Output "libClang = $libclang_version" >> ~/versions.txt
|
||||
|
||||
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
||||
@@ -38,7 +38,7 @@ $toolchainSuffix = ""
|
||||
|
||||
if ( $toolchain -eq "vs2019" ) {
|
||||
if ( $archVer -eq 64 ) {
|
||||
$sha1 = "e7c2d27f0e99d63e49225cb1be18c76a1e2a124b"
|
||||
$sha1 = "8e0862386caef7e4537599ef980eeb6ebee8767f"
|
||||
}
|
||||
else {
|
||||
$sha1 = ""
|
||||
@@ -48,7 +48,7 @@ if ( $toolchain -eq "vs2019" ) {
|
||||
|
||||
if ( $toolchain -eq "mingw" ) {
|
||||
if ( $archVer -eq 64 ) {
|
||||
$sha1 = "6c9300051533d5648ffe3e8ae1eb00decae8e6bf"
|
||||
$sha1 = "a23cbb0822cf2eb8d1cecf26e8614ef37a7611e3"
|
||||
}
|
||||
else {
|
||||
$sha1 = ""
|
||||
@@ -56,6 +56,19 @@ if ( $toolchain -eq "mingw" ) {
|
||||
$toolchainSuffix = "mingw"
|
||||
}
|
||||
|
||||
|
||||
if ( $toolchain -eq "llvm-mingw" ) {
|
||||
if ( $archVer -eq 64 ) {
|
||||
$sha1 = "9c34f99eb575b42c2befe27829c08e6d3f01ae58"
|
||||
}
|
||||
else {
|
||||
$sha1 = ""
|
||||
}
|
||||
# Due to COIN-1137 forced to use a '_' instead of '-'
|
||||
$toolchainSuffix = "llvm_mingw"
|
||||
}
|
||||
|
||||
|
||||
install $sha1 $baseDestination-$archVer
|
||||
|
||||
if ( $setDefault ) {
|
||||
|
||||
@@ -16,7 +16,7 @@ $mimer_dir="c:\MimerSQL"
|
||||
|
||||
Download $url_official $url_cache $mimersqlPackage
|
||||
Verify-Checksum $mimersqlPackage $sha1
|
||||
Run-Executable "$mimersqlPackage" "/install InstallFolder=$mimer_dir /passive"
|
||||
Run-Executable "$mimersqlPackage" "/install InstallFolder=$mimer_dir /passive ExcludeDbVisualizer=1 ExcludeJava=1 ExcludeServer=1 ExcludeDocumentation=1 ExcludeReplication=1"
|
||||
|
||||
Set-EnvironmentVariable "MIMERSQL_DEV_ROOT" "$mimer_dir\dev"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Write-Host "MQTT: Downloading Paho test broker..."
|
||||
$zip = Get-DownloadLocation "pahotest.zip"
|
||||
$commitSHA = "20bad2475c27a6e1d24a56d90a9fceb40963261e"
|
||||
$sha1 = "a0ac88715c2aebb9573a113dc13925a90da19233"
|
||||
$commitSHA = "9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
|
||||
$sha1 = "c31cfd5de9329dcd25e28b306f94dccf632cc318"
|
||||
|
||||
$internalUrl = "http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
|
||||
$externalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/$commitSHA.zip"
|
||||
|
||||
@@ -78,6 +78,12 @@ Run-Executable "$install_path\python.exe" "-m pip config --user set global.index
|
||||
Run-Executable "$install_path\python.exe" "-m pip config --user set global.extra-index-url https://pypi.org/simple/"
|
||||
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel html5lib"
|
||||
|
||||
# Check if python version is higher than 3.8.
|
||||
# ntia-conformance-checker requires at least 3.8
|
||||
if ([version]::Parse($version) -gt [version]::Parse("3.8")) {
|
||||
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install -r $PSScriptRoot\..\shared\sbom_requirements.txt"
|
||||
}
|
||||
|
||||
# Install PyPDF2 for QSR documentation
|
||||
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install PyPDF2"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
# This script will pre-installed squish package for Windows.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
$version = "7.2.1"
|
||||
$qtBranch = "66x"
|
||||
$version = "8.0.0"
|
||||
$qtBranch = "67x"
|
||||
$targetDir = "C:\Utils\squish"
|
||||
$squishPackage = "C:\Utils\rta_squish"
|
||||
$squishUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\jenkins_build\stable"
|
||||
@@ -33,7 +33,7 @@ if (($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 10 Pro
|
||||
# In Windows 11 case $OSVersion is 'Windows 10 Pro'
|
||||
$winVersion = "win10"
|
||||
if (Is64BitWinHost) {
|
||||
$sha1 = "eed4ed4936fbbacb11e0d8a00ff190e1ea808eeb"
|
||||
$sha1 = "0f863c261f854ec38032815298f5636e99779bff"
|
||||
}
|
||||
} else {
|
||||
$winVersion = "n/a"
|
||||
|
||||
@@ -78,9 +78,17 @@ installPackages+=(libasound2-dev)
|
||||
installPackages+=(libgstreamer1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
installPackages+=(gstreamer1.0-libav)
|
||||
installPackages+=(gstreamer1.0-plugins-base)
|
||||
installPackages+=(gstreamer1.0-plugins-good)
|
||||
installPackages+=(gstreamer1.0-plugins-bad)
|
||||
installPackages+=(gstreamer1.0-plugins-rtp)
|
||||
installPackages+=(gstreamer1.0-plugins-ugly)
|
||||
installPackages+=(libgstreamer-gl1.0-0)
|
||||
installPackages+=(gir1.2-gst-plugins-base-1.0)
|
||||
installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||
installPackages+=(libpipewire-0.3-dev)
|
||||
installPackages+=(libspa-0.2-dev)
|
||||
|
||||
## Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
||||
#installPackages+=(g++-multilib)
|
||||
@@ -163,6 +171,7 @@ installPackages+=(ssh)
|
||||
installPackages+=(diffstat)
|
||||
installPackages+=(binfmt-support)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-dev)
|
||||
# Vulkan is needed for examples
|
||||
installPackages+=(libvulkan-dev)
|
||||
# Needed for qtdltlogging
|
||||
@@ -250,6 +259,8 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install cmake apt-cacher-ng -t
|
||||
# Disable keyring password prompt
|
||||
keyring --disable
|
||||
|
||||
pip install --user -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||
|
||||
#OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
|
||||
3
coin/provisioning/qtci-linux-Debian-11.6-aarch64/20-sccache.sh
Executable file
3
coin/provisioning/qtci-linux-Debian-11.6-aarch64/20-sccache.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2018 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 -ex
|
||||
|
||||
# shellcheck source=../common/unix/mqtt_broker.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#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
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
||||
|
||||
@@ -27,6 +27,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# EGL support
|
||||
installPackages+=(mesa-libEGL-devel)
|
||||
installPackages+=(mesa-libGL-devel)
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -28,6 +28,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# EGL support
|
||||
installPackages+=(mesa-libEGL-devel)
|
||||
installPackages+=(mesa-libGL-devel)
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -29,6 +29,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# update kernel
|
||||
installPackages+=(kernel)
|
||||
installPackages+=(kernel-tools)
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -29,6 +29,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# update kernel
|
||||
installPackages+=(kernel)
|
||||
installPackages+=(kernel-tools)
|
||||
@@ -57,6 +58,8 @@ installPackages+=(dbus-devel)
|
||||
installPackages+=(gstreamer1-plugins-bad-free)
|
||||
installPackages+=(gstreamer1-devel)
|
||||
installPackages+=(gstreamer1-plugins-base-devel)
|
||||
# pipewire for QtMultimedia
|
||||
installPackages+=(pipewire-devel)
|
||||
# for QtMultimedia, ffmpeg
|
||||
installPackages+=(yasm)
|
||||
installPackages+=(libva-devel)
|
||||
@@ -164,9 +167,11 @@ sudo pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
sudo pip3 install virtualenv wheel
|
||||
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
|
||||
sudo python3.11 -m pip install virtualenv wheel
|
||||
sudo python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
sudo /usr/bin/pip3 install dataclasses
|
||||
# No sbom_requirements.txt, because it requires Python 3.9 for poetry_core -> spdx_tools and we have 3.8
|
||||
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -2,6 +2,7 @@
|
||||
#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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
||||
# TODO: investigate why the FFmpeg plugin can't find shared FFmpeg on rhel-8.8
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux" "static"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86_64"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86"
|
||||
|
||||
@@ -29,6 +29,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# EGL support
|
||||
# mesa-libEGL-devel need to use older version than 22.1.5-2.el9 which cause Xorg to crash
|
||||
installPackages+=(mesa-libEGL-devel-21.3.4-2.el9)
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -29,6 +29,7 @@ installPackages+=(ninja-build)
|
||||
installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-devel)
|
||||
# EGL support
|
||||
# mesa-libEGL-devel need to use older version than 22.1.5-2.el9 which cause Xorg to crash
|
||||
#installPackages+=(mesa-libEGL-devel-21.3.4-2.el9)
|
||||
@@ -62,6 +63,8 @@ installPackages+=(dbus-devel)
|
||||
installPackages+=(gstreamer1-plugins-bad-free)
|
||||
installPackages+=(gstreamer1-devel)
|
||||
installPackages+=(gstreamer1-plugins-base-devel)
|
||||
# pipewire for QtMultimedia
|
||||
installPackages+=(pipewire-devel)
|
||||
# yasm for QtMultimedia
|
||||
installPackages+=(yasm)
|
||||
# gtk3 style for QtGui/QStyle
|
||||
@@ -176,8 +179,10 @@ sudo pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
sudo pip3 install virtualenv wheel
|
||||
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
|
||||
sudo python -m pip install virtualenv wheel
|
||||
sudo python -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
sudo /usr/bin/pip3 install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
# Make FindPython3.cmake to find python3
|
||||
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
|
||||
|
||||
5
coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-install-patchelf.sh
Executable file
5
coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-install-patchelf.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
@@ -18,9 +18,9 @@ source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
|
||||
export PACKAGE_NAME="python"
|
||||
python2Version="2.7.18"
|
||||
python3Version="3.8.16"
|
||||
python3Version="3.12.3"
|
||||
python2Sha="678d4cf483a1c92efd347ee8e1e79326dc82810b"
|
||||
python3Sha="d85dbb3774132473d8081dcb158f34a10ccad7a90b96c7e50ea4bb61f5ce4562"
|
||||
python3Sha="56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1"
|
||||
|
||||
|
||||
function InstallPython {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux" "static"
|
||||
|
||||
@@ -18,9 +18,9 @@ source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
|
||||
export PACKAGE_NAME="python"
|
||||
python2Version="2.7.18"
|
||||
python3Version="3.8.16"
|
||||
python3Version="3.12.3"
|
||||
python2Sha="678d4cf483a1c92efd347ee8e1e79326dc82810b"
|
||||
python3Sha="d85dbb3774132473d8081dcb158f34a10ccad7a90b96c7e50ea4bb61f5ce4562"
|
||||
python3Sha="56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1"
|
||||
|
||||
|
||||
function InstallPython {
|
||||
@@ -71,6 +71,7 @@ python3 --version | grep -F "$python3Version"
|
||||
|
||||
pip3 install --user wheel
|
||||
pip3 install --user virtualenv
|
||||
pip3 install --user -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
# 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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux" "static"
|
||||
|
||||
@@ -80,6 +80,12 @@ installPackages+=(libgstreamer1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
installPackages+=(gstreamer1.0-libav)
|
||||
installPackages+=(gstreamer1.0-plugins-base)
|
||||
installPackages+=(gstreamer1.0-plugins-good)
|
||||
installPackages+=(gstreamer1.0-plugins-bad)
|
||||
installPackages+=(gstreamer1.0-plugins-rtp)
|
||||
installPackages+=(gstreamer1.0-plugins-ugly)
|
||||
installPackages+=(yasm)
|
||||
installPackages+=(libva-dev)
|
||||
# for QtMultimedia streaming tests
|
||||
@@ -162,6 +168,8 @@ installPackages+=(ruby)
|
||||
installPackages+=(libxslt1-dev)
|
||||
installPackages+=(libxml2-dev)
|
||||
installPackages+=(libhyphen-dev)
|
||||
# Fix dependencies in shared ffmpeg libs
|
||||
installPackages+=(patchelf)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
|
||||
@@ -96,6 +96,12 @@ installPackages+=(libgstreamer1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
installPackages+=(gstreamer1.0-libav)
|
||||
installPackages+=(gstreamer1.0-plugins-base)
|
||||
installPackages+=(gstreamer1.0-plugins-good)
|
||||
installPackages+=(gstreamer1.0-plugins-bad)
|
||||
installPackages+=(gstreamer1.0-plugins-rtp)
|
||||
installPackages+=(gstreamer1.0-plugins-ugly)
|
||||
installPackages+=(libgstreamer-gl1.0-0)
|
||||
installPackages+=(gir1.2-gst-plugins-base-1.0)
|
||||
installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||
@@ -132,8 +138,8 @@ installPackages+=(libicu-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(zlib1g)
|
||||
installPackages+=(openjdk-8-jdk)
|
||||
#Java 11 for Android
|
||||
installPackages+=(openjdk-11-jdk)
|
||||
#Java 17 for Android
|
||||
installPackages+=(openjdk-17-jdk)
|
||||
installPackages+=(libgtk-3-dev)
|
||||
installPackages+=(ninja-build)
|
||||
installPackages+=(libssl-dev)
|
||||
@@ -193,6 +199,7 @@ installPackages+=(ssh)
|
||||
installPackages+=(diffstat)
|
||||
installPackages+=(binfmt-support)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-dev)
|
||||
# Vulkan is needed for examples
|
||||
installPackages+=(libvulkan-dev)
|
||||
# Needed for qtdltlogging
|
||||
@@ -211,6 +218,8 @@ sudo dpkg --add-architecture i386
|
||||
installPackages+=(nfs-kernel-server)
|
||||
installPackages+=(net-tools)
|
||||
installPackages+=(bridge-utils)
|
||||
# Fix dependencies in shared ffmpeg libs
|
||||
installPackages+=(patchelf)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
|
||||
3
coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/20-sccache.sh
Executable file
3
coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/20-sccache.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#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
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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 -ex
|
||||
|
||||
# shellcheck source=../common/linux/install-dummy-alsa-device.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/install-dummy-alsa-device.sh"
|
||||
@@ -98,8 +98,16 @@ installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
installPackages+=(libgstreamer-gl1.0-0)
|
||||
installPackages+=(gstreamer1.0-libav)
|
||||
installPackages+=(gstreamer1.0-plugins-base)
|
||||
installPackages+=(gstreamer1.0-plugins-good)
|
||||
installPackages+=(gstreamer1.0-plugins-bad)
|
||||
installPackages+=(gstreamer1.0-plugins-rtp)
|
||||
installPackages+=(gstreamer1.0-plugins-ugly)
|
||||
installPackages+=(gir1.2-gst-plugins-base-1.0)
|
||||
installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||
installPackages+=(libpipewire-0.3-dev)
|
||||
installPackages+=(libspa-0.2-dev)
|
||||
installPackages+=(yasm)
|
||||
installPackages+=(libva-dev)
|
||||
# for QtMultimedia streaming tests
|
||||
@@ -134,8 +142,8 @@ installPackages+=(libicu-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(zlib1g)
|
||||
installPackages+=(openjdk-8-jdk)
|
||||
#Java 11 for Android
|
||||
installPackages+=(openjdk-11-jdk)
|
||||
#Java 17 for Android, needed by RTA
|
||||
installPackages+=(openjdk-17-jdk)
|
||||
installPackages+=(libgtk-3-dev)
|
||||
installPackages+=(ninja-build)
|
||||
installPackages+=(libssl-dev)
|
||||
@@ -197,6 +205,7 @@ installPackages+=(ssh)
|
||||
installPackages+=(diffstat)
|
||||
installPackages+=(binfmt-support)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-dev)
|
||||
installPackages+=(lz4)
|
||||
# Vulkan is needed for examples
|
||||
installPackages+=(libvulkan-dev)
|
||||
@@ -227,6 +236,8 @@ installPackages+=(uml-utilities)
|
||||
# used for reading vcpkg packages version, from vcpkg.json
|
||||
installPackages+=(jq)
|
||||
|
||||
installPackages+=(patchelf)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
sudo apt-get update
|
||||
@@ -237,6 +248,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 ins
|
||||
# Configure pip
|
||||
pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
|
||||
pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
pip install --user -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||
|
||||
@@ -11,8 +11,8 @@ set -e
|
||||
"${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
version="68bdc5764da2d4e442181b408751b6572f36fa74"
|
||||
sha1="dac76e8f6cb69990661e7d814bea6f32fea29bf4"
|
||||
version="57a554131c468f45f36d7501d777fcc7bba597b0"
|
||||
sha1="add45e09655314db4295a2d459ef2b13e1b6268f"
|
||||
url="https://download.qt.io/development_releases/prebuilt/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.4-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.4-x86_64.7z"
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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 -ex
|
||||
|
||||
# shellcheck source=../common/linux/install-dummy-alsa-device.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/install-dummy-alsa-device.sh"
|
||||
@@ -95,14 +95,24 @@ installPackages+=(libgstreamer1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
installPackages+=(gstreamer1.0-libav)
|
||||
installPackages+=(gstreamer1.0-plugins-base)
|
||||
installPackages+=(gstreamer1.0-plugins-good)
|
||||
installPackages+=(gstreamer1.0-plugins-bad)
|
||||
installPackages+=(gstreamer1.0-plugins-rtp)
|
||||
installPackages+=(gstreamer1.0-plugins-ugly)
|
||||
installPackages+=(libgstreamer-gl1.0-0)
|
||||
installPackages+=(gir1.2-gst-plugins-base-1.0)
|
||||
installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||
installPackages+=(libpipewire-0.3-dev)
|
||||
installPackages+=(libspa-0.2-dev)
|
||||
installPackages+=(yasm)
|
||||
installPackages+=(libva-dev)
|
||||
# for QtMultimedia streaming tests
|
||||
installPackages+=(vlc-bin)
|
||||
installPackages+=(vlc-plugin-base)
|
||||
# for tst_qfloat16format, see also QTQAINFRA-6390
|
||||
installPackages+=(locales-all)
|
||||
|
||||
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
||||
#installPackages+=(g++-multilib)
|
||||
@@ -111,6 +121,7 @@ installPackages+=(g++-multilib-powerpc-linux-gnu)
|
||||
# python3 development package
|
||||
installPackages+=(python3-dev)
|
||||
installPackages+=(python3-pip)
|
||||
installPackages+=(python3-venv)
|
||||
installPackages+=(virtualenv)
|
||||
installPackages+=(python3-wheel)
|
||||
installPackages+=(python-is-python3)
|
||||
@@ -196,6 +207,7 @@ installPackages+=(ssh)
|
||||
installPackages+=(diffstat)
|
||||
installPackages+=(binfmt-support)
|
||||
installPackages+=(zstd)
|
||||
installPackages+=(libzstd-dev)
|
||||
installPackages+=(lz4)
|
||||
# Vulkan is needed for examples
|
||||
installPackages+=(libvulkan-dev)
|
||||
@@ -217,6 +229,10 @@ installPackages+=(uml-utilities)
|
||||
installPackages+=(jq)
|
||||
# For building
|
||||
installPackages+=(cmake)
|
||||
# extra linkers
|
||||
installPackages+=(lld)
|
||||
# Fix dependencies in shared ffmpeg libs
|
||||
installPackages+=(patchelf)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
@@ -228,6 +244,9 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 ins
|
||||
# Configure pip
|
||||
pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
|
||||
pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
# Ubuntu 24.04 comes with a newer pip that disallows installing into the system site-packages,
|
||||
# so we explicitly ask it to allow it.
|
||||
pip install --user -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt" --break-system-packages
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 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
|
||||
|
||||
# shellcheck source=../common/linux/fix-bwrap-apparmor.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/fix-bwrap-apparmor.sh"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# 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
|
||||
|
||||
# shellcheck source=../common/linux/install-nodejs.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/install-nodejs.sh"
|
||||
6
coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/04-libclang.sh
Executable file
6
coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/04-libclang.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/libclang.sh"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user