mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Compare commits
3 Commits
dev
...
v6.11.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f00a460c60 | ||
|
|
69a8b1abfe | ||
|
|
c78156feca |
92
.gitmodules
vendored
92
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase qtshadertools
|
depends = qtbase qtshadertools
|
||||||
recommends = qtdeclarative qtquick3d
|
recommends = qtdeclarative qtquick3d
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
recommends = qtmultimedia qtshadertools qttasktree qtwebengine
|
recommends = qtmultimedia qtshadertools qttasktree qtwebengine
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtqa
|
path = qtqa
|
||||||
url = ../qtqa.git
|
url = ../qtqa.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = essential
|
status = essential
|
||||||
priority = 50
|
priority = 50
|
||||||
[submodule "qtlocation"]
|
[submodule "qtlocation"]
|
||||||
@@ -76,21 +76,21 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtpositioning"]
|
[submodule "qtpositioning"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtserialport
|
recommends = qtdeclarative qtserialport
|
||||||
path = qtpositioning
|
path = qtpositioning
|
||||||
url = ../qtpositioning.git
|
url = ../qtpositioning.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -117,61 +117,61 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtserialport
|
recommends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebsockets"]
|
[submodule "qtwebsockets"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebchannel qttools qtpositioning
|
recommends = qtwebchannel qttools qtpositioning
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
@@ -185,28 +185,28 @@
|
|||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia
|
recommends = qtmultimedia
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -219,27 +219,27 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml.git
|
url = ../qtscxml.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase qtmultimedia
|
depends = qtbase qtmultimedia
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech.git
|
url = ../qtspeech.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtremoteobjects"]
|
[submodule "qtremoteobjects"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtremoteobjects
|
path = qtremoteobjects
|
||||||
url = ../qtremoteobjects.git
|
url = ../qtremoteobjects.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebglplugin"]
|
[submodule "qtwebglplugin"]
|
||||||
depends = qtbase qtwebsockets
|
depends = qtbase qtwebsockets
|
||||||
@@ -252,107 +252,107 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtlottie
|
path = qtlottie
|
||||||
url = ../qtlottie.git
|
url = ../qtlottie.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquicktimeline"]
|
[submodule "qtquicktimeline"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtquicktimeline
|
path = qtquicktimeline
|
||||||
url = ../qtquicktimeline
|
url = ../qtquicktimeline
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick3d"]
|
[submodule "qtquick3d"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquicktimeline
|
recommends = qtquicktimeline
|
||||||
path = qtquick3d
|
path = qtquick3d
|
||||||
url = ../qtquick3d.git
|
url = ../qtquick3d.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtshadertools"]
|
[submodule "qtshadertools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtshadertools
|
path = qtshadertools
|
||||||
url = ../qtshadertools.git
|
url = ../qtshadertools.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt5compat"]
|
[submodule "qt5compat"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qt5compat
|
path = qt5compat
|
||||||
url = ../qt5compat.git
|
url = ../qt5compat.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtcoap"]
|
[submodule "qtcoap"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtcoap
|
path = qtcoap
|
||||||
url = ../qtcoap.git
|
url = ../qtcoap.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmqtt"]
|
[submodule "qtmqtt"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
recommends = qtwebsockets
|
recommends = qtwebsockets
|
||||||
path = qtmqtt
|
path = qtmqtt
|
||||||
url = ../qtmqtt.git
|
url = ../qtmqtt.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtopcua"]
|
[submodule "qtopcua"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtopcua
|
path = qtopcua
|
||||||
url = ../qtopcua.git
|
url = ../qtopcua.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtlanguageserver"]
|
[submodule "qtlanguageserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtlanguageserver
|
path = qtlanguageserver
|
||||||
url = ../qtlanguageserver.git
|
url = ../qtlanguageserver.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qthttpserver"]
|
[submodule "qthttpserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebsockets
|
recommends = qtwebsockets
|
||||||
path = qthttpserver
|
path = qthttpserver
|
||||||
url = ../qthttpserver.git
|
url = ../qthttpserver.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick3dphysics"]
|
[submodule "qtquick3dphysics"]
|
||||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||||
path = qtquick3dphysics
|
path = qtquick3dphysics
|
||||||
url = ../qtquick3dphysics.git
|
url = ../qtquick3dphysics.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgrpc"]
|
[submodule "qtgrpc"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtgrpc
|
path = qtgrpc
|
||||||
url = ../qtgrpc.git
|
url = ../qtgrpc.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickeffectmaker"]
|
[submodule "qtquickeffectmaker"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquick3d
|
recommends = qtquick3d
|
||||||
path = qtquickeffectmaker
|
path = qtquickeffectmaker
|
||||||
url = ../qtquickeffectmaker.git
|
url = ../qtquickeffectmaker.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgraphs"]
|
[submodule "qtgraphs"]
|
||||||
depends = qtbase qtdeclarative qtquick3d
|
depends = qtbase qtdeclarative qtquick3d
|
||||||
path = qtgraphs
|
path = qtgraphs
|
||||||
url = ../qtgraphs.git
|
url = ../qtgraphs.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttasktree"]
|
[submodule "qttasktree"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qttasktree
|
path = qttasktree
|
||||||
url = ../qttasktree.git
|
url = ../qttasktree.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtopenapi"]
|
[submodule "qtopenapi"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtopenapi
|
path = qtopenapi
|
||||||
url = ../qtopenapi.git
|
url = ../qtopenapi.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtcanvaspainter"]
|
[submodule "qtcanvaspainter"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
path = qtcanvaspainter
|
path = qtcanvaspainter
|
||||||
url = ../qtcanvaspainter.git
|
url = ../qtcanvaspainter.git
|
||||||
branch = dev
|
branch = 6.11
|
||||||
status = preview
|
status = preview
|
||||||
|
|||||||
@@ -421,19 +421,3 @@ function(qt_ir_get_option_as_cmake_flag_option cli_name cmake_option_name out_va
|
|||||||
endif()
|
endif()
|
||||||
set(${out_var} "${cmake_option}" PARENT_SCOPE)
|
set(${out_var} "${cmake_option}" PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# Get the value of a command line option as existing absolute path.
|
|
||||||
# Yield error if the path does not exist.
|
|
||||||
# Convert to absolute path if necessary.
|
|
||||||
function(qt_ir_get_option_as_existing_absolute_path name value)
|
|
||||||
qt_ir_get_option_value("${name}" path)
|
|
||||||
if(NOT "${path}" STREQUAL "")
|
|
||||||
if(NOT EXISTS "${path}")
|
|
||||||
qt_ir_add_error("The path '${path}' passed with -${name} does not exist.")
|
|
||||||
endif()
|
|
||||||
if(NOT IS_ABSOLUTE "${path}")
|
|
||||||
get_filename_component(path "${path}" ABSOLUTE)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
set("${value}" "${path}" PARENT_SCOPE)
|
|
||||||
endfunction()
|
|
||||||
|
|||||||
@@ -102,27 +102,18 @@ endfunction()
|
|||||||
# - ../qt/qttools-litehtml.git
|
# - ../qt/qttools-litehtml.git
|
||||||
function(qt_ir_add_git_remotes repo_relative_url working_directory)
|
function(qt_ir_add_git_remotes repo_relative_url working_directory)
|
||||||
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/")
|
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/")
|
||||||
set(gerrit_https_base "https://@USER@codereview.qt-project.org@AUTH@/")
|
set(gerrit_repo_url "${gerrit_ssh_base}")
|
||||||
|
|
||||||
qt_ir_get_option_value(codereview-username username)
|
qt_ir_get_option_value(codereview-username username)
|
||||||
qt_ir_get_option_value(codereview-https https)
|
|
||||||
|
|
||||||
if(https)
|
|
||||||
set(gerrit_repo_url "${gerrit_https_base}")
|
|
||||||
else()
|
|
||||||
set(gerrit_repo_url "${gerrit_ssh_base}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# If given a username, make a "verbose" remote.
|
# If given a username, make a "verbose" remote.
|
||||||
# Otherwise, rely on proper SSH configuration.
|
# Otherwise, rely on proper SSH configuration.
|
||||||
if(username)
|
if(username)
|
||||||
string(REPLACE "@USER@" "${username}@" gerrit_repo_url "${gerrit_repo_url}")
|
string(REPLACE "@USER@" "${username}@" gerrit_repo_url "${gerrit_repo_url}")
|
||||||
string(REPLACE "@PORT@" ":29418" gerrit_repo_url "${gerrit_repo_url}")
|
string(REPLACE "@PORT@" ":29418" gerrit_repo_url "${gerrit_repo_url}")
|
||||||
string(REPLACE "@AUTH@" "/a" gerrit_repo_url "${gerrit_repo_url}")
|
|
||||||
else()
|
else()
|
||||||
string(REPLACE "@USER@" "" gerrit_repo_url "${gerrit_repo_url}")
|
string(REPLACE "@USER@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||||
string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
|
string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||||
string(REPLACE "@AUTH@" "" gerrit_repo_url "${gerrit_repo_url}")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(namespace "qt")
|
set(namespace "qt")
|
||||||
|
|||||||
@@ -98,9 +98,6 @@ Options:
|
|||||||
username and port number, and thus relies on a correct SSH
|
username and port number, and thus relies on a correct SSH
|
||||||
configuration.
|
configuration.
|
||||||
|
|
||||||
--codereview-https
|
|
||||||
Specify this option to use HTTPs instead of SSH.
|
|
||||||
|
|
||||||
--alternates <path to other Qt5 repo>
|
--alternates <path to other Qt5 repo>
|
||||||
Adds alternates for each submodule to another full qt5 checkout.
|
Adds alternates for each submodule to another full qt5 checkout.
|
||||||
This makes this qt5 checkout very small, as it will use the object
|
This makes this qt5 checkout very small, as it will use the object
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ function(qt_ir_run_after_args_parsed top_level_src_path out_var_exit_reason)
|
|||||||
"${working_directory}")
|
"${working_directory}")
|
||||||
|
|
||||||
# Get some additional options to pass down.
|
# Get some additional options to pass down.
|
||||||
qt_ir_get_option_as_existing_absolute_path(alternates alternates)
|
qt_ir_get_option_value(alternates alternates)
|
||||||
qt_ir_get_option_as_cmake_flag_option(branch "CHECKOUT_BRANCH" checkout_branch_option)
|
qt_ir_get_option_as_cmake_flag_option(branch "CHECKOUT_BRANCH" checkout_branch_option)
|
||||||
|
|
||||||
# The prefix for the cmake-style 'dictionary' that will be used by various functions.
|
# The prefix for the cmake-style 'dictionary' that will be used by various functions.
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ macro(qt_ir_set_known_command_line_options)
|
|||||||
qt_ir_commandline_option(berlin TYPE boolean)
|
qt_ir_commandline_option(berlin TYPE boolean)
|
||||||
qt_ir_commandline_option(branch TYPE boolean)
|
qt_ir_commandline_option(branch TYPE boolean)
|
||||||
qt_ir_commandline_option(codereview-username TYPE string)
|
qt_ir_commandline_option(codereview-username TYPE string)
|
||||||
qt_ir_commandline_option(codereview-https TYPE boolean)
|
|
||||||
qt_ir_commandline_option(copy-objects TYPE boolean)
|
qt_ir_commandline_option(copy-objects TYPE boolean)
|
||||||
qt_ir_commandline_option(fetch TYPE boolean DEFAULT_VALUE yes)
|
qt_ir_commandline_option(fetch TYPE boolean DEFAULT_VALUE yes)
|
||||||
qt_ir_commandline_option(force SHORT_NAME f TYPE boolean)
|
qt_ir_commandline_option(force SHORT_NAME f TYPE boolean)
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ Include: []
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'qttas-on-linux'
|
Id: 'qttas-on-linux'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['UseConfigure', 'Packaging', 'DisableTests']
|
Features: ['UseConfigure', 'Packaging', 'DisableTests']
|
||||||
|
-
|
||||||
|
Id: 'qttas-on-linux-rhel_9_6'
|
||||||
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['UseConfigure', 'DisableTests']
|
||||||
|
|||||||
@@ -120,15 +120,15 @@ Configurations:
|
|||||||
# Test on Ubuntu 24.04 x64 X11
|
# Test on Ubuntu 24.04 x64 X11
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x64-developer-build-x11-tests'
|
Id: 'ubuntu-24.04-x64-developer-build-x11-tests'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'TestOnly']
|
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||||
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x64-x11-tests'
|
Id: 'ubuntu-24.04-x64-x11-tests'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'TestOnly']
|
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||||
Platform dependency: 'ubuntu-24.04-x64'
|
Platform dependency: 'ubuntu-24.04-x64'
|
||||||
-
|
-
|
||||||
Id: 'opensuse-15.6-developer-build'
|
Id: 'opensuse-15.6-developer-build'
|
||||||
@@ -182,6 +182,7 @@ Configurations:
|
|||||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||||
|
'ZLIB_ROOT={{.Env.ZLIB_PATH_AMD64}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'windows-11_24H2-msvc2022'
|
Id: 'windows-11_24H2-msvc2022'
|
||||||
@@ -197,12 +198,13 @@ Configurations:
|
|||||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||||
|
'ZLIB_ROOT={{.Env.ZLIB_PATH_AMD64}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'windows-11_23h2-arm64-msvc2022'
|
Id: 'windows-11_23h2-arm64-msvc2022'
|
||||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||||
Compiler: 'MSVC2022'
|
Compiler: 'MSVC2022'
|
||||||
Features: ['Sccache', 'Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||||
@@ -211,6 +213,7 @@ Configurations:
|
|||||||
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||||
|
'ZLIB_ROOT={{.Env.ZLIB_PATH_ARM64}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'windows-11_24H2-msvc2022-arm64'
|
Id: 'windows-11_24H2-msvc2022-arm64'
|
||||||
@@ -253,12 +256,25 @@ Configurations:
|
|||||||
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
||||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||||
|
'ZLIB_ROOT={{.Env.ZLIB_PATH_AMD64}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'rhel-9.6'
|
Id: 'rhel-8.10'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
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 -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
|
||||||
|
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||||
|
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||||
|
]
|
||||||
|
-
|
||||||
|
Id: 'rhel-9.4'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Packaging','Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
||||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
@@ -267,8 +283,8 @@ Configurations:
|
|||||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'rhel-10.0'
|
Id: 'rhel-9.6'
|
||||||
Template: 'qtci-linux-RHEL-10.0-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
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'
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Configurations:
|
|||||||
Id: 'windows-11_23h2-arm64-msvc2022-minimal-static-test'
|
Id: 'windows-11_23h2-arm64-msvc2022-minimal-static-test'
|
||||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||||
Compiler: 'MSVC2022'
|
Compiler: 'MSVC2022'
|
||||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests', 'Packaging', 'MinimalStaticTests']
|
Features: ['UseConfigure', 'InsignificantTests', 'Packaging', 'MinimalStaticTests']
|
||||||
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++17 -no-sql-psql'
|
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++17 -no-sql-psql'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||||
@@ -29,8 +29,8 @@ Configurations:
|
|||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'rhel-9.6-minimal-static-test'
|
Id: 'rhel-8.10-minimal-static-test'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'MinimalStaticTests']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'MinimalStaticTests']
|
||||||
Configure arguments: '-static -nomake examples -release -qt-libjpeg -no-icu -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
Configure arguments: '-static -nomake examples -release -qt-libjpeg -no-icu -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||||
@@ -44,7 +44,7 @@ Configurations:
|
|||||||
Id: 'ubuntu-24.04-arm64'
|
Id: 'ubuntu-24.04-arm64'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||||
Configure arguments: '-static -nomake examples -release -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput -no-icu -qt-doubleconversion'
|
Configure arguments: '-static -nomake examples -release -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput -no-icu -qt-doubleconversion'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
|
|||||||
@@ -33,12 +33,12 @@ Configurations:
|
|||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'android-9-x86-on-linux'
|
Id: 'android-9-x86-on-linux'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'x86'
|
Target arch: 'x86'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.4'
|
||||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'JavaDocs']
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'JavaDocs']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||||
@@ -51,13 +51,32 @@ Configurations:
|
|||||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'android-16-x86_64-on-linux'
|
Id: 'android-9-x86-on-linux-rhel_9_6'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.6'
|
||||||
|
Features: ['Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'JavaDocs', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||||
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||||
|
# We check QT_USE_TARGET_ANDROID_BUILD_DIR only in one configuration, to ensure builds
|
||||||
|
# without this option work too.
|
||||||
|
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON',
|
||||||
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||||
|
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||||
|
]
|
||||||
|
-
|
||||||
|
Id: 'android-15-x86_64-on-linux'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'x86_64'
|
Target arch: 'x86_64'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.4'
|
||||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'JavaDocs']
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'JavaDocs']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
@@ -67,5 +86,37 @@ Configurations:
|
|||||||
# configuration, to ensure builds without this option work too.
|
# configuration, to ensure builds without this option work too.
|
||||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||||
|
'ANDROID_EMULATOR=emulator_x86_64_api_35'
|
||||||
|
]
|
||||||
|
-
|
||||||
|
Id: 'android-16-x86_64-on-linux'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86_64'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.4'
|
||||||
|
Features: ['Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||||
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||||
|
'ANDROID_EMULATOR=emulator_x86_64_api_36'
|
||||||
|
]
|
||||||
|
-
|
||||||
|
Id: 'android-16-x86_64-on-linux-rhel_9_6'
|
||||||
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86_64'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.6'
|
||||||
|
Features: ['Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||||
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||||
'ANDROID_EMULATOR=emulator_x86_64_api_36'
|
'ANDROID_EMULATOR=emulator_x86_64_api_36'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Configurations:
|
Configurations:
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-22.04-license-check'
|
||||||
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['TestOnly', 'LicenseCheckV2']
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x64-license-check'
|
Id: 'ubuntu-24.04-x64-license-check'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||||
|
|||||||
@@ -2,12 +2,12 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'android-x86-developer-build-testrun-on-linux'
|
Id: 'android-x86-developer-build-testrun-on-linux'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'x86'
|
Target arch: 'x86'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.4'
|
||||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
|
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||||
@@ -15,3 +15,18 @@ Configurations:
|
|||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=',
|
'NON_QTBASE_TARGET_CMAKE_ARGS=',
|
||||||
'ANDROID_EMULATOR=emulator_x86_api_28']
|
'ANDROID_EMULATOR=emulator_x86_api_28']
|
||||||
|
-
|
||||||
|
Id: 'android-x86-developer-build-testrun-on-linux-rhel_9_6'
|
||||||
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.6'
|
||||||
|
Features: ['Sccache', 'AndroidTestRun', 'UseConfigure', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}}',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||||
|
'NON_QTBASE_TARGET_CMAKE_ARGS=',
|
||||||
|
'ANDROID_EMULATOR=emulator_x86_api_28']
|
||||||
|
|||||||
@@ -2,6 +2,32 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'android-9-multi-abi'
|
Id: 'android-9-multi-abi'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'multi'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: [
|
||||||
|
'rhel-9.4',
|
||||||
|
'android-9-x86-on-linux',
|
||||||
|
'android-15-x86_64-on-linux'
|
||||||
|
]
|
||||||
|
Features: [
|
||||||
|
'Sccache',
|
||||||
|
'WarningsAreErrors',
|
||||||
|
'AndroidTestRun',
|
||||||
|
'MinimalAndroidMultiABITests',
|
||||||
|
'InstallDepsPerPlatformSubdir'
|
||||||
|
]
|
||||||
|
Environment variables: [
|
||||||
|
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-9.4',
|
||||||
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
|
||||||
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-15-x86_64-on-linux',
|
||||||
|
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
||||||
|
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||||
|
]
|
||||||
|
-
|
||||||
|
Id: 'android-9-multi-abi-rhel_9_6'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'multi'
|
Target arch: 'multi'
|
||||||
@@ -10,7 +36,7 @@ Configurations:
|
|||||||
Platform dependency: [
|
Platform dependency: [
|
||||||
'rhel-9.6',
|
'rhel-9.6',
|
||||||
'android-9-x86-on-linux',
|
'android-9-x86-on-linux',
|
||||||
'android-16-x86_64-on-linux'
|
'android-15-x86_64-on-linux'
|
||||||
]
|
]
|
||||||
Features: [
|
Features: [
|
||||||
'Sccache',
|
'Sccache',
|
||||||
@@ -24,7 +50,7 @@ Configurations:
|
|||||||
Environment variables: [
|
Environment variables: [
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-9.6',
|
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-9.6',
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-16-x86_64-on-linux',
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-15-x86_64-on-linux',
|
||||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
||||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -12,13 +12,11 @@ Configurations:
|
|||||||
Template: 'qtci-macos-15-arm-104'
|
Template: 'qtci-macos-15-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Target arch: 'x86_64-arm64'
|
Target arch: 'x86_64-arm64'
|
||||||
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
Features: ['Packaging', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
|
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
|
||||||
'VCPKG_HOST_TRIPLET=universal-osx-qt',
|
|
||||||
'VCPKG_TARGET_TRIPLET=universal-osx-qt',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Test on all supported macOS versions (deployment targets)
|
# Test on all supported macOS versions (deployment targets)
|
||||||
@@ -43,13 +41,6 @@ Configurations:
|
|||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
Platform dependency: 'macos-universal-on-arm64'
|
||||||
-
|
|
||||||
Id: 'macos-26-x86_64-tests'
|
|
||||||
Template: 'qtci-macos-26-x86_64-101'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging', 'DoNotAbortTestingOnFirstFailure']
|
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
|
||||||
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
|
||||||
|
|
||||||
# And arm64
|
# And arm64
|
||||||
|
|
||||||
@@ -57,25 +48,25 @@ Configurations:
|
|||||||
Id: 'macos-13-arm64-tests'
|
Id: 'macos-13-arm64-tests'
|
||||||
Template: 'qtci-macos-13-arm-107'
|
Template: 'qtci-macos-13-arm-107'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
Features: ['TestOnly', 'Packaging']
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
Platform dependency: 'macos-universal-on-arm64'
|
||||||
-
|
-
|
||||||
Id: 'macos-14-arm64-tests'
|
Id: 'macos-14-arm64-tests'
|
||||||
Template: 'qtci-macos-14-arm-106'
|
Template: 'qtci-macos-14-arm-106'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
Features: ['TestOnly', 'Packaging']
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
Platform dependency: 'macos-universal-on-arm64'
|
||||||
-
|
-
|
||||||
Id: 'macos-15-arm64-tests'
|
Id: 'macos-15-arm64-tests'
|
||||||
Template: 'qtci-macos-15-arm-104'
|
Template: 'qtci-macos-15-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
Features: ['TestOnly', 'Packaging']
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
Platform dependency: 'macos-universal-on-arm64'
|
||||||
-
|
-
|
||||||
Id: 'macos-26-arm64-tests'
|
Id: 'macos-26-arm64-tests'
|
||||||
Template: 'qtci-macos-26-arm-104'
|
Template: 'qtci-macos-26-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
Features: ['TestOnly', 'Packaging']
|
||||||
Platform dependency: 'macos-universal-on-arm64'
|
Platform dependency: 'macos-universal-on-arm64'
|
||||||
|
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
@@ -90,18 +81,6 @@ Configurations:
|
|||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
||||||
Environment variables: [
|
|
||||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
||||||
'VCPKG_HOST_TRIPLET=universal-osx-qt',
|
|
||||||
'VCPKG_TARGET_TRIPLET=universal-osx-qt',
|
|
||||||
]
|
|
||||||
-
|
|
||||||
Id: 'macos-26-x86_64-developer-build'
|
|
||||||
Template: 'qtci-macos-26-x86_64-101'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
|
||||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||||
@@ -110,25 +89,21 @@ Configurations:
|
|||||||
Id: 'macos-arm64-developer-build'
|
Id: 'macos-arm64-developer-build'
|
||||||
Template: 'qtci-macos-15-arm-104'
|
Template: 'qtci-macos-15-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||||
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||||
'VCPKG_HOST_TRIPLET=universal-osx-qt',
|
|
||||||
'VCPKG_TARGET_TRIPLET=universal-osx-qt',
|
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'macos-26-arm64-developer-build'
|
Id: 'macos-26-arm64-developer-build'
|
||||||
Template: 'qtci-macos-26-arm-104'
|
Template: 'qtci-macos-26-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'Insignificant']
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'Insignificant']
|
||||||
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||||
'VCPKG_HOST_TRIPLET=arm64-osx-qt',
|
|
||||||
'VCPKG_TARGET_TRIPLET=arm64-osx-qt',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Test on all supported macOS versions (deployment targets)
|
# Test on all supported macOS versions (deployment targets)
|
||||||
@@ -154,6 +129,6 @@ Configurations:
|
|||||||
Id: 'macos-26-arm64-developer-build-tests'
|
Id: 'macos-26-arm64-developer-build-tests'
|
||||||
Template: 'qtci-macos-26-arm-104'
|
Template: 'qtci-macos-26-arm-104'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['TestOnly']
|
Features: ['TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
Platform dependency: 'macos-26-arm64-developer-build'
|
Platform dependency: 'macos-26-arm64-developer-build'
|
||||||
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Module only: true
|
|
||||||
Include: [
|
|
||||||
cmake_platforms.yaml: [
|
|
||||||
"ubuntu-22.04"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
Configurations: []
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
'rhel-9.6'
|
'rhel-9.4'
|
||||||
],
|
],
|
||||||
cmake_platforms_target_android.yaml: [
|
cmake_platforms_target_android.yaml: [
|
||||||
'android-15-x86_64-on-linux',
|
'android-15-x86_64-on-linux',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
'rhel-9.6',
|
'rhel-9.4',
|
||||||
'windows-11_24h2-mingw13'
|
'windows-11_24h2-mingw13'
|
||||||
],
|
],
|
||||||
cmake_platforms_target_android.yaml: [
|
cmake_platforms_target_android.yaml: [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
'rhel-9.6',
|
'rhel-9.4',
|
||||||
'windows-11_24h2-mingw13'
|
'windows-11_24h2-mingw13'
|
||||||
],
|
],
|
||||||
cmake_platforms_target_android.yaml: [
|
cmake_platforms_target_android.yaml: [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
'rhel-9.6'
|
'rhel-9.4'
|
||||||
],
|
],
|
||||||
cmake_platforms_target_android.yaml: [
|
cmake_platforms_target_android.yaml: [
|
||||||
'android-16-x86_64-on-linux',
|
'android-16-x86_64-on-linux',
|
||||||
|
|||||||
@@ -26,3 +26,14 @@ Configurations:
|
|||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
'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'
|
||||||
]
|
]
|
||||||
|
# Test clang-20 on Ubuntu 24.04 ARM64 Wayland
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-24.04-arm64-clang20-cxx23'
|
||||||
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||||
|
Compiler: 'Clang'
|
||||||
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||||
|
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput -c++std c++23'
|
||||||
|
Environment variables: [
|
||||||
|
'COMMON_CMAKE_ARGS=-DCMAKE_C_COMPILER=clang-20 -DCMAKE_CXX_COMPILER=clang++-20',
|
||||||
|
'CMAKE_ARGS=-DQT_FEATURE_stdlib_libcpp=ON'
|
||||||
|
]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x64-examples-and-tests-build'
|
Id: 'ubuntu-24.04-x64-examples-and-tests-build'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'NoSubmoduleDependencies']
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'NoSubmoduleDependencies']
|
||||||
Configure arguments: '-make examples -make tests'
|
Configure arguments: '-make examples -make tests'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x64-run-cmake-tests'
|
Id: 'ubuntu-24.04-x64-run-cmake-tests'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'NoSubmoduleDependencies', 'TopLevelRunCMakeTests', 'DisableTests', 'VMSize16']
|
Features: ['Sccache', 'NoSubmoduleDependencies', 'TopLevelRunCMakeTests', 'DisableTests', 'VMSize16']
|
||||||
Configure arguments: ''
|
Configure arguments: ''
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Module only: True
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'ubuntu-22.04-baseline-tests'
|
|
||||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Sccache', 'UseConfigure']
|
|
||||||
Configure arguments: '-developer-build -nomake examples'
|
|
||||||
Environment variables: [
|
|
||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
||||||
'CTEST_DIR=tests/baseline',
|
|
||||||
'TESTARGS=-auto',
|
|
||||||
'QT_LANCELOT_SERVER=10.150.153.60'
|
|
||||||
]
|
|
||||||
|
|
||||||
@@ -5,7 +5,7 @@ Configurations:
|
|||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||||
Compiler: 'MSVC2022'
|
Compiler: 'MSVC2022'
|
||||||
Features: ['Sccache', 'Debug', 'UseConfigure', 'DoNotRunTests']
|
Features: ['Sccache', 'Debug', 'UseConfigure', 'DoNotRunTests']
|
||||||
Configure arguments: '-debug -force-debug-info -headersclean -nomake examples -qt-zlib' # disabled example builds: qmake builds fail with C1041
|
Configure arguments: '-debug -force-debug-info -headersclean -make examples -qt-zlib'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DQT_UNITY_BUILD=ON',
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DQT_UNITY_BUILD=ON',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -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',
|
||||||
@@ -13,8 +13,8 @@ Configurations:
|
|||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'rhel-9.6-unity-build'
|
Id: 'rhel-8.10-unity-build'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-8.10-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||||
Configure arguments: '-make examples -debug -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
Configure arguments: '-make examples -debug -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ Configurations:
|
|||||||
Template: 'qtci-macos-13-x86_64-103'
|
Template: 'qtci-macos-13-x86_64-103'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['DisableTests']
|
Features: ['DisableTests']
|
||||||
|
-
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['DisableTests']
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Configurations:
|
|||||||
Environment variables: []
|
Environment variables: []
|
||||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'DebugAndRelease']
|
Features: ['Sccache', 'DebugAndRelease']
|
||||||
Configure arguments: ''
|
Configure arguments: ''
|
||||||
@@ -43,7 +43,7 @@ Configurations:
|
|||||||
Environment variables: []
|
Environment variables: []
|
||||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||||
Configure arguments: ''
|
Configure arguments: ''
|
||||||
|
|||||||
@@ -15,3 +15,8 @@ Include: [
|
|||||||
quick-bridges.yaml
|
quick-bridges.yaml
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
Overrides:
|
||||||
|
# Make VxWorks tests insignificant.
|
||||||
|
-
|
||||||
|
Id: 'vxworks-x86_64-tests'
|
||||||
|
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly', 'InsignificantTests']
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Configurations:
|
Configurations:
|
||||||
|
# Test gcc-12 on RHEL 9.4
|
||||||
|
-
|
||||||
|
Id: 'rhel-9.4-gcc12'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||||
|
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput'
|
||||||
|
Environment variables: [
|
||||||
|
'PATH=/opt/rh/gcc-toolset-12/root/usr/bin/:{{.Env.PATH}}',
|
||||||
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||||
|
]
|
||||||
# Test gcc-12 on RHEL 9.6
|
# Test gcc-12 on RHEL 9.6
|
||||||
-
|
-
|
||||||
Id: 'rhel-9.6-gcc12'
|
Id: 'rhel-9.6-gcc12'
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Include: [
|
|
||||||
quick-bridges.yaml: [
|
|
||||||
"windows-quick-bridges"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'windows-quick-bridges-csharp'
|
|
||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
||||||
Compiler: 'MSVC2022'
|
|
||||||
Platform dependency: 'windows-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesCsharp']
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Include: [
|
|
||||||
quick-bridges.yaml: [
|
|
||||||
"macos-quick-bridges",
|
|
||||||
"linux-quick-bridges",
|
|
||||||
"windows-quick-bridges"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'windows-quick-bridges-java'
|
|
||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
||||||
Compiler: 'MSVC2022'
|
|
||||||
Platform dependency: 'windows-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
|
||||||
|
|
||||||
-
|
|
||||||
Id: 'linux-quick-bridges-java'
|
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Platform dependency: 'linux-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesJava']
|
|
||||||
|
|
||||||
-
|
|
||||||
Id: 'macos-quick-bridges-java'
|
|
||||||
Template: 'qtci-macos-15-arm-104'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Platform dependency: 'macos-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
|
||||||
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Include: [
|
|
||||||
quick-bridges.yaml: [
|
|
||||||
"macos-quick-bridges",
|
|
||||||
"windows-quick-bridges"
|
|
||||||
],
|
|
||||||
cmake_platforms.yaml: [
|
|
||||||
"rhel-9.6"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'windows-quick-bridges-python'
|
|
||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
||||||
Compiler: 'MSVC2022'
|
|
||||||
Platform dependency: 'windows-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
|
||||||
|
|
||||||
-
|
|
||||||
Id: 'linux-quick-bridges-python'
|
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Platform dependency: 'rhel-9.6'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
|
||||||
|
|
||||||
-
|
|
||||||
Id: 'macos-quick-bridges-python'
|
|
||||||
Template: 'qtci-macos-15-arm-104'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Platform dependency: 'macos-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Include: [
|
|
||||||
quick-bridges.yaml: [
|
|
||||||
"linux-quick-bridges",
|
|
||||||
"windows-quick-bridges"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'windows-quick-bridges-rust'
|
|
||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
||||||
Compiler: 'MSVC2022'
|
|
||||||
Platform dependency: 'windows-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesRust']
|
|
||||||
|
|
||||||
-
|
|
||||||
Id: 'linux-quick-bridges-rust'
|
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Platform dependency: 'linux-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesRust']
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Include: [
|
|
||||||
quick-bridges.yaml: [
|
|
||||||
"macos-quick-bridges"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'macos-quick-bridges-swift'
|
|
||||||
Template: 'qtci-macos-15-arm-104'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Platform dependency: 'macos-quick-bridges'
|
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
|
||||||
@@ -1,11 +1,16 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: []
|
Include: []
|
||||||
Configurations:
|
Configurations:
|
||||||
|
-
|
||||||
|
Id: 'qtgp-on-linux'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['TestOnly']
|
||||||
-
|
-
|
||||||
Id: 'qtgp-on-linux-rhel_9_6'
|
Id: 'qtgp-on-linux-rhel_9_6'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'UseConfigure']
|
Features: ['TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
-
|
-
|
||||||
Id: 'qtgp-on-macos'
|
Id: 'qtgp-on-macos'
|
||||||
Template: 'qtci-macos-14-arm-106'
|
Template: 'qtci-macos-14-arm-106'
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ Version: 2
|
|||||||
Module only: True
|
Module only: True
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
|
'rhel-9.4',
|
||||||
'rhel-9.6'
|
'rhel-9.6'
|
||||||
],
|
],
|
||||||
cmake_platforms_target_android.yaml: [
|
cmake_platforms_target_android.yaml: [
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x86-static-qtlite'
|
Id: 'ubuntu-24.04-x86-static-qtlite'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
|
||||||
Configure arguments: >
|
Configure arguments: >
|
||||||
@@ -224,7 +224,7 @@ Configurations:
|
|||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-24.04-x86-static-qtlite-tests'
|
Id: 'ubuntu-24.04-x86-static-qtlite-tests'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'TestOnly','InsignificantTests']
|
Features: ['Sccache', 'TestOnly','InsignificantTests']
|
||||||
Platform dependency: 'ubuntu-24.04-x86-static-qtlite'
|
Platform dependency: 'ubuntu-24.04-x86-static-qtlite'
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Include: [
|
|||||||
"opensuse-16.0-developer-build",
|
"opensuse-16.0-developer-build",
|
||||||
"sles-15_sp6-static",
|
"sles-15_sp6-static",
|
||||||
"windows-10_22h2-msvc2022",
|
"windows-10_22h2-msvc2022",
|
||||||
|
"rhel-9.4",
|
||||||
"rhel-9.6",
|
"rhel-9.6",
|
||||||
"windows-11_24h2-mingw13",
|
"windows-11_24h2-mingw13",
|
||||||
"windows-11_24H2-mingw13-developer-build",
|
"windows-11_24H2-mingw13-developer-build",
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ Include: [
|
|||||||
"opensuse-16.0-developer-build",
|
"opensuse-16.0-developer-build",
|
||||||
"sles-15_sp6-static",
|
"sles-15_sp6-static",
|
||||||
"windows-10_22h2-msvc2022",
|
"windows-10_22h2-msvc2022",
|
||||||
|
"rhel-9.4",
|
||||||
"rhel-9.6",
|
"rhel-9.6",
|
||||||
"windows-11_24h2-mingw13",
|
"windows-11_24h2-mingw13",
|
||||||
"windows-11_24H2-mingw13-developer-build",
|
"windows-11_24H2-mingw13-developer-build",
|
||||||
@@ -39,11 +40,21 @@ Configurations:
|
|||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
|
||||||
]
|
]
|
||||||
|
-
|
||||||
|
Id: 'Linux-RHEL_9_4_Static'
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||||
|
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||||
|
Environment variables: [
|
||||||
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
|
||||||
|
]
|
||||||
-
|
-
|
||||||
Id: 'Linux-RHEL_9_6_Static'
|
Id: 'Linux-RHEL_9_6_Static'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
Features: ['Sccache', 'UseConfigure', 'MinimalStaticTests', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Configurations:
|
|||||||
Environment variables: []
|
Environment variables: []
|
||||||
-
|
-
|
||||||
Id: 'linux-quick-bridges'
|
Id: 'linux-quick-bridges'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||||
Configure arguments: >
|
Configure arguments: >
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ Configurations:
|
|||||||
Platform dependency: 'macos-quick-minimal'
|
Platform dependency: 'macos-quick-minimal'
|
||||||
-
|
-
|
||||||
Id: 'linux-quick-minimal'
|
Id: 'linux-quick-minimal'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||||
Configure arguments: >
|
Configure arguments: >
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ Version: 2
|
|||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
"documentation-warnings",
|
"documentation-warnings",
|
||||||
|
"rhel-9.4",
|
||||||
"rhel-9.6",
|
"rhel-9.6",
|
||||||
'windows-11_24h2-mingw13',
|
'windows-11_24h2-mingw13',
|
||||||
],
|
],
|
||||||
@@ -12,11 +13,43 @@ Include: [
|
|||||||
'android-arm64-on-macos',
|
'android-arm64-on-macos',
|
||||||
'android-armv7-on-windows',
|
'android-armv7-on-windows',
|
||||||
'android-9-x86-on-linux',
|
'android-9-x86-on-linux',
|
||||||
'android-16-x86_64-on-linux'
|
'android-15-x86_64-on-linux'
|
||||||
],
|
],
|
||||||
offline_documentation.yaml
|
offline_documentation.yaml
|
||||||
]
|
]
|
||||||
Configurations:
|
Configurations:
|
||||||
|
-
|
||||||
|
Id: "automotive-android-14-x86_64-on-linux"
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86_64'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.4'
|
||||||
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||||
|
'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"
|
||||||
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
|
Target os: 'Android_ANY'
|
||||||
|
Target arch: 'x86_64'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Target compiler: 'Clang'
|
||||||
|
Platform dependency: 'rhel-9.4'
|
||||||
|
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||||
|
Environment variables: [
|
||||||
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
||||||
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||||
|
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||||
|
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_29'
|
||||||
|
]
|
||||||
-
|
-
|
||||||
Id: "automotive-android-14-x86_64-on-linux-rhel_9_6"
|
Id: "automotive-android-14-x86_64-on-linux-rhel_9_6"
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||||
@@ -25,7 +58,7 @@ Configurations:
|
|||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.6'
|
||||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
Features: ['Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
||||||
@@ -41,7 +74,7 @@ Configurations:
|
|||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.6'
|
||||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
Features: ['Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_LATEST}}',
|
||||||
|
|||||||
@@ -6,10 +6,17 @@ Include: [
|
|||||||
"windows-quick-bridges"
|
"windows-quick-bridges"
|
||||||
],
|
],
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
"rhel-9.6"
|
"rhel-9.4"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
Configurations:
|
Configurations:
|
||||||
|
-
|
||||||
|
Id: 'windows-quick-bridges-dotnet'
|
||||||
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||||
|
Compiler: 'MSVC2022'
|
||||||
|
Platform dependency: 'windows-quick-bridges'
|
||||||
|
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesDotnet']
|
||||||
|
|
||||||
-
|
-
|
||||||
Id: 'windows-quick-bridges-rust'
|
Id: 'windows-quick-bridges-rust'
|
||||||
Template: 'qtci-windows-11_24H2-x86_64-71'
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
||||||
@@ -33,21 +40,21 @@ Configurations:
|
|||||||
|
|
||||||
-
|
-
|
||||||
Id: 'linux-quick-bridges-python'
|
Id: 'linux-quick-bridges-python'
|
||||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Platform dependency: 'rhel-9.6'
|
Platform dependency: 'rhel-9.4'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||||
|
|
||||||
-
|
-
|
||||||
Id: 'linux-quick-bridges-java'
|
Id: 'linux-quick-bridges-java'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Platform dependency: 'linux-quick-bridges'
|
Platform dependency: 'linux-quick-bridges'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesJava']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||||
|
|
||||||
-
|
-
|
||||||
Id: 'linux-quick-bridges-rust'
|
Id: 'linux-quick-bridges-rust'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Platform dependency: 'linux-quick-bridges'
|
Platform dependency: 'linux-quick-bridges'
|
||||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesRust']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||||
@@ -3,7 +3,7 @@ Module only: true
|
|||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml: [
|
cmake_platforms.yaml: [
|
||||||
"windows-10_22h2-msvc2019",
|
"windows-10_22h2-msvc2019",
|
||||||
"rhel-9.6"
|
"rhel-8.10"
|
||||||
],
|
],
|
||||||
macos.yaml: [
|
macos.yaml: [
|
||||||
"macos-universal-on-arm64"
|
"macos-universal-on-arm64"
|
||||||
|
|||||||
@@ -2,67 +2,67 @@ Version: 2
|
|||||||
Module only: True
|
Module only: True
|
||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET1'
|
Target arch: 'TARGET1'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET2'
|
Target arch: 'TARGET2'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET3'
|
Target arch: 'TARGET3'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET4'
|
Target arch: 'TARGET4'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET5'
|
Target arch: 'TARGET5'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET6'
|
Target arch: 'TARGET6'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET7'
|
Target arch: 'TARGET7'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET8'
|
Target arch: 'TARGET8'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET9'
|
Target arch: 'TARGET9'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Packaging']
|
Features: ['Packaging']
|
||||||
Target arch: 'TARGET10'
|
Target arch: 'TARGET10'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Insignificant']
|
Features: ['Insignificant']
|
||||||
Target arch: 'INSIGNIFICANT_TARGET1'
|
Target arch: 'INSIGNIFICANT_TARGET1'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Insignificant']
|
Features: ['Insignificant']
|
||||||
Target arch: 'INSIGNIFICANT_TARGET2'
|
Target arch: 'INSIGNIFICANT_TARGET2'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'Yocto'
|
Compiler: 'Yocto'
|
||||||
Features: ['Insignificant']
|
Features: ['Insignificant']
|
||||||
Target arch: 'INSIGNIFICANT_TARGET3'
|
Target arch: 'INSIGNIFICANT_TARGET3'
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2026 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
|
|
||||||
[org/gnome/desktop/media-handling]
|
|
||||||
automount=false
|
|
||||||
automount-open=false
|
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo dconf update
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
### RHEL 10.0 ###
|
|
||||||
Hard Disk: 500G
|
|
||||||
Network: CI
|
|
||||||
Video Card: Total Video Memory: 64MB
|
|
||||||
Boot options/Firmware: BIOS
|
|
||||||
Language: English (United States)
|
|
||||||
Keyboard: English (US), Norwegian (Windows), Finnish (Windows)
|
|
||||||
Time & Date: Etc/Coordinated Universal Time
|
|
||||||
Software Selection: Server with GUI
|
|
||||||
Installation Destination: Automatic partitioning selected
|
|
||||||
Root Passowrd: Set
|
|
||||||
Network & Host..: Connected
|
|
||||||
KDUMP enabled: Memory Reservation: automatic
|
|
||||||
Begin Installation
|
|
||||||
Reboot
|
|
||||||
# Configure Settings
|
|
||||||
Notifications:
|
|
||||||
* Lock Screen Notifications: OFF
|
|
||||||
* Applications: Set notification off
|
|
||||||
* Do Not Disturb: on
|
|
||||||
Applications:
|
|
||||||
* Disable notifications from all applications
|
|
||||||
Privacy:
|
|
||||||
* Blank Screen Delay: Never
|
|
||||||
* Screen Lock: OFF
|
|
||||||
Power:
|
|
||||||
* Blank screen: Never
|
|
||||||
Displays:
|
|
||||||
* Resolution: 1280 x 800
|
|
||||||
Users:
|
|
||||||
* Automatic login on
|
|
||||||
# Add user to sudoers
|
|
||||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
|
||||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
|
||||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
||||||
# Add support for virtio driver
|
|
||||||
su
|
|
||||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
|
||||||
dracut -f
|
|
||||||
|
|
||||||
# NOTE!
|
|
||||||
# - RHEL uses 'sudo subscription-manager release --set=10.0' in provisioning
|
|
||||||
# - Do not update Tier 1 via GUI without using this same --set before provisioning
|
|
||||||
# - To avoid System to have newer packages than RPMS which will cause update issues
|
|
||||||
|
|
||||||
# Register RHEL before it's possible to install qemu-guest-agent
|
|
||||||
subscription-manager register
|
|
||||||
|
|
||||||
yum -y install qemu-guest-agent
|
|
||||||
|
|
||||||
# Do these from Opennebula UI!
|
|
||||||
|
|
||||||
# Enable network connection from right upper corner
|
|
||||||
This is done when the VM is launched as persistent in OpenNebula.
|
|
||||||
# Fetch and run coin-setup
|
|
||||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
|
||||||
# run as qt user
|
|
||||||
run './coin-setup'
|
|
||||||
# Switch to use GNOME Classic user interface
|
|
||||||
# GNOME Classic was selected because there's an issue with Standard (wayland display server).
|
|
||||||
# Autotest start failing because terminal session remains in Activities Overview.
|
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854
|
|
||||||
First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic)
|
|
||||||
logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' -desktop session from drop down menu in login screen
|
|
||||||
|
|
||||||
# If gear icon is not seen, check is 'GNOME Classic' -desktop session installed, and install if it's missing
|
|
||||||
ls /usr/share/xsessions/
|
|
||||||
# This should list something like these if it's installed
|
|
||||||
gnome-classic.desktop
|
|
||||||
gnome.desktop
|
|
||||||
|
|
||||||
# To install GNOME Classic if it's missing
|
|
||||||
sudo dnf reinstall gnome-classic-session
|
|
||||||
|
|
||||||
# In RHEL 10.0 even with 'GNOME Classic' -desktop the Activities Overview is still in use
|
|
||||||
# It can be bypassed via 'No Overview' -GNOME extension:
|
|
||||||
# - https://extensions.gnome.org/extension/4099/no-overview/
|
|
||||||
# - Select GNOME Shell version 47 to download
|
|
||||||
# - Unpack extension from tar.gz
|
|
||||||
sudo mv <extension_folder> /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo chown -R root: /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo chmod 755 -R /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo reboot
|
|
||||||
gnome-extensions list
|
|
||||||
gnome-extensions enable no-overview@fthx
|
|
||||||
|
|
||||||
Reboot
|
|
||||||
@@ -53,17 +53,6 @@ run 'sudo ufw disable'
|
|||||||
|
|
||||||
run 'sudo apt install qemu-guest-agent'
|
run 'sudo apt install qemu-guest-agent'
|
||||||
|
|
||||||
# Install no-overview gnome extension to prevent desktop overview at boot (QTBUG-132070)
|
|
||||||
# - https://extensions.gnome.org/extension/4099/no-overview/
|
|
||||||
# - Select GNOME Shell version 46 to download
|
|
||||||
# - Unpack extension to (mkdir): /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo chown -R root /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo chmod 755 -R /usr/share/gnome-shell/extensions/no-overview@fthx
|
|
||||||
sudo reboot
|
|
||||||
gnome-extensions list
|
|
||||||
gnome-extensions enable no-overview@fthx
|
|
||||||
gnome-extensions info no-overview@fthx # Check for "Active"
|
|
||||||
|
|
||||||
# Fetch and run coin-setup (in Opennebula)
|
# Fetch and run coin-setup (in Opennebula)
|
||||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||||
run 'chmod +x ./coin-setup' to make it executable
|
run 'chmod +x ./coin-setup' to make it executable
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ plugins {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.example.gradle_project'
|
namespace 'com.example.gradle_project'
|
||||||
compileSdk 36
|
compileSdk 35
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.example.gradle_project"
|
applicationId "com.example.gradle_project"
|
||||||
minSdk 28
|
minSdk 28
|
||||||
targetSdk 36
|
targetSdk 35
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
@@ -22,12 +22,11 @@ sudo mkdir -p "$sdkTargetFolder"
|
|||||||
|
|
||||||
basePath="http://ci-files01-hki.ci.qt.io/input/android"
|
basePath="http://ci-files01-hki.ci.qt.io/input/android"
|
||||||
|
|
||||||
toolsVersion="19.0"
|
toolsVersion="2.1"
|
||||||
toolsFile="commandlinetools-linux-13114758_latest.zip"
|
toolsFile="commandlinetools-linux-6609375_latest.zip"
|
||||||
toolsBackupUrl="https://dl.google.com/android/repository/$toolsFile"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
sdkBuildToolsVersion="36.0.0"
|
sdkApiLevel="android-35"
|
||||||
sdkApiLevel="android-36"
|
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
||||||
toolsSha1="5fdcc763663eefb86a5b8879697aa6088b041e70"
|
|
||||||
|
|
||||||
ndkVersionLatest="r27c"
|
ndkVersionLatest="r27c"
|
||||||
ndkSha1Latest="090e8083a715fdb1a3e402d0763c388abb03fb4e"
|
ndkSha1Latest="090e8083a715fdb1a3e402d0763c388abb03fb4e"
|
||||||
@@ -58,17 +57,11 @@ toolsTargetFile="/tmp/$toolsFile"
|
|||||||
toolsSourceFile="$basePath/$toolsFile"
|
toolsSourceFile="$basePath/$toolsFile"
|
||||||
|
|
||||||
echo "Download and unzip Android SDK"
|
echo "Download and unzip Android SDK"
|
||||||
DownloadURL "$toolsSourceFile" "$toolsBackupUrl" "$toolsSha1" "$toolsTargetFile"
|
DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile"
|
||||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
||||||
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder"
|
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder"
|
||||||
rm "$toolsTargetFile"
|
rm "$toolsTargetFile"
|
||||||
|
|
||||||
# Android Command-Line Tools unpacks a directory 'cmdline-tools'. Due
|
|
||||||
# to existing code, we need to move it into 'cmdline-tools/tools'
|
|
||||||
sudo mv "$sdkTargetFolder/cmdline-tools" "$sdkTargetFolder/tools"
|
|
||||||
sudo mkdir "$sdkTargetFolder/cmdline-tools"
|
|
||||||
sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
|
|
||||||
|
|
||||||
function InstallNdk() {
|
function InstallNdk() {
|
||||||
|
|
||||||
ndkVersion=$1
|
ndkVersion=$1
|
||||||
@@ -122,6 +115,9 @@ sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
|||||||
# But don't let the pipeline hide sdkmanager failures.
|
# But don't let the pipeline hide sdkmanager failures.
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
sudo mkdir "$sdkTargetFolder/cmdline-tools"
|
||||||
|
sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
|
||||||
|
|
||||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||||
# shellcheck disable=SC2031
|
# shellcheck disable=SC2031
|
||||||
if [ "$http_proxy" != "" ]; then
|
if [ "$http_proxy" != "" ]; then
|
||||||
@@ -149,9 +145,7 @@ cat >>~/versions.txt <<EOB
|
|||||||
Android SDK tools = $toolsVersion
|
Android SDK tools = $toolsVersion
|
||||||
Android SDK Build Tools = $sdkBuildToolsVersion
|
Android SDK Build Tools = $sdkBuildToolsVersion
|
||||||
Android SDK API level = $sdkApiLevel
|
Android SDK API level = $sdkApiLevel
|
||||||
Android NDK latest = $ndkVersionLatest
|
Android NDK = $ndkVersion
|
||||||
Android NDK nightly1 = $ndkVersionNightly1
|
|
||||||
Android NDK nightly2 = $ndkVersionNightly2
|
|
||||||
EOB
|
EOB
|
||||||
|
|
||||||
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
||||||
@@ -184,27 +178,45 @@ echo "Unzipping the Android 9 to $minVersionDestination"
|
|||||||
sudo unzip -o -q "$minVersionFilePath" -d "$minVersionDestination"
|
sudo unzip -o -q "$minVersionFilePath" -d "$minVersionDestination"
|
||||||
rm "$minVersionFilePath"
|
rm "$minVersionFilePath"
|
||||||
|
|
||||||
echo "Download and unzip Android 16 System Image"
|
echo "Download and unzip Android 15 System Image"
|
||||||
maxVersionFileName="x86_64-36_r07.zip"
|
maxVersionFileName="x86_64-35_r08.zip"
|
||||||
maxVersionDestination="$sdkTargetFolder/system-images/android-36/google_apis/"
|
maxVersionDestination="$sdkTargetFolder/system-images/android-35/google_apis/"
|
||||||
maxVersionFilePath="$maxVersionDestination/$maxVersionFileName"
|
maxVersionFilePath="$maxVersionDestination/$maxVersionFileName"
|
||||||
maxVersionCiUrl="$basePath/system_images/google_apis/$maxVersionFileName"
|
maxVersionCiUrl="$basePath/system_images/google_apis/$maxVersionFileName"
|
||||||
maxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$maxVersionFileName"
|
maxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$maxVersionFileName"
|
||||||
maxVersionSha1="c6bf44bdcd885bb902b4ba752d111a073ad7a817"
|
maxVersionSha1="d79169884cabc6680cb29d32c2112ad46c858c1b"
|
||||||
|
|
||||||
mkdir -p "$maxVersionDestination"
|
mkdir -p "$maxVersionDestination"
|
||||||
DownloadURL "$maxVersionCiUrl" "$maxVersionUrl" "$maxVersionSha1" "$maxVersionFilePath"
|
DownloadURL "$maxVersionCiUrl" "$maxVersionUrl" "$maxVersionSha1" "$maxVersionFilePath"
|
||||||
|
|
||||||
echo "Unzipping the Android 16 to $maxVersionDestination"
|
echo "Unzipping the Android 15 to $maxVersionDestination"
|
||||||
sudo unzip -o -q "$maxVersionFilePath" -d "$maxVersionDestination"
|
sudo unzip -o -q "$maxVersionFilePath" -d "$maxVersionDestination"
|
||||||
rm "$maxVersionFilePath"
|
rm "$maxVersionFilePath"
|
||||||
|
|
||||||
|
echo "Download and unzip Android 16 System Image for insignificant"
|
||||||
|
insignificantMaxVersionFileName="x86_64-36_r06.zip"
|
||||||
|
insignificantMaxVersionDestination="$sdkTargetFolder/system-images/android-36/google_apis/"
|
||||||
|
insignificantMaxVersionFilePath="$insignificantMaxVersionDestination/$insignificantMaxVersionFileName"
|
||||||
|
insignificantMaxVersionCiUrl="$basePath/system_images/google_apis/$insignificantMaxVersionFileName"
|
||||||
|
insignificantMaxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$insignificantMaxVersionFileName"
|
||||||
|
insignificantMaxVersionSha1="a9b0b4a0488e0c6c380f5485507950f011388511"
|
||||||
|
|
||||||
|
mkdir -p "$insignificantMaxVersionDestination"
|
||||||
|
DownloadURL "$insignificantMaxVersionCiUrl" "$insignificantMaxVersionUrl" "$insignificantMaxVersionSha1" "$insignificantMaxVersionFilePath"
|
||||||
|
|
||||||
|
echo "Unzipping the Android 16 insignicant to $insignificantMaxVersionDestination"
|
||||||
|
sudo unzip -o -q "$insignificantMaxVersionFilePath" -d "$insignificantMaxVersionDestination"
|
||||||
|
rm "$insignificantMaxVersionFilePath"
|
||||||
|
|
||||||
echo "Checking the contents of Android SDK again..."
|
echo "Checking the contents of Android SDK again..."
|
||||||
ls -l "$sdkTargetFolder"
|
ls -l "$sdkTargetFolder"
|
||||||
|
|
||||||
echo "no" | ./avdmanager create avd -n emulator_x86_api_28 -c 2048M -f \
|
echo "no" | ./avdmanager create avd -n emulator_x86_api_28 -c 2048M -f \
|
||||||
-k "system-images;android-28;google_apis;x86"
|
-k "system-images;android-28;google_apis;x86"
|
||||||
|
|
||||||
|
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_35 -c 2048M -f \
|
||||||
|
-k "system-images;android-35;google_apis;x86_64"
|
||||||
|
|
||||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_36 -c 2048M -f \
|
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_36 -c 2048M -f \
|
||||||
-k "system-images;android-36;google_apis;x86_64"
|
-k "system-images;android-36;google_apis;x86_64"
|
||||||
|
|
||||||
@@ -228,14 +240,10 @@ echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_29 -c 2048
|
|||||||
# To be used by the VMs to start the emulator for tests
|
# To be used by the VMs to start the emulator for tests
|
||||||
emulator_script_filename="android_emulator_launcher.sh"
|
emulator_script_filename="android_emulator_launcher.sh"
|
||||||
scripts_dir_name="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
scripts_dir_name="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
cp "${scripts_dir_name}/../unix/${emulator_script_filename}" "${HOME}"
|
cp "${scripts_dir_name}/${emulator_script_filename}" "${HOME}"
|
||||||
ANDROID_EMULATOR_RUNNER="${HOME}/${emulator_script_filename}"
|
ANDROID_EMULATOR_RUNNER="${HOME}/${emulator_script_filename}"
|
||||||
SetEnvVar "ANDROID_EMULATOR_RUNNER" "$ANDROID_EMULATOR_RUNNER"
|
SetEnvVar "ANDROID_EMULATOR_RUNNER" "$ANDROID_EMULATOR_RUNNER"
|
||||||
|
|
||||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/emulator"
|
|
||||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/platform-tools"
|
|
||||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/cmdline-tools/latest/bin"
|
|
||||||
|
|
||||||
# Gradle Caching
|
# Gradle Caching
|
||||||
cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
|
cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
|
||||||
cd /tmp/gradle_project
|
cd /tmp/gradle_project
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
|
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
|
||||||
"ir": "$(env:IRNAME)",
|
"ir": "$(env:IRNAME)",
|
||||||
"name": "qt_$(env:PACKAGE)_$(env:MODULE)_$(env:TESTED_MODULE_BRANCH_COIN)_$(env:TARGET_OS_COIN)"
|
"name": "qt_$(env:PACKAGE)_$(env:MODULE)_dev_$(env:TARGET_OS_COIN)"
|
||||||
},
|
},
|
||||||
"VCSIntegration": {
|
"VCSIntegration": {
|
||||||
"vcs_mapping": {
|
"vcs_mapping": {
|
||||||
|
|||||||
@@ -51,13 +51,13 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-CtorMissingParentArgument": {
|
"Qt-CtorMissingParentArgument": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-DetachingTemporary": {
|
"Qt-DetachingTemporary": {
|
||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-FullyQualifiedMocTypes": {
|
"Qt-FullyQualifiedMocTypes": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-FunctionArgsByValueRef": {
|
"Qt-FunctionArgsByValueRef": {
|
||||||
"_active": false
|
"_active": false
|
||||||
@@ -69,13 +69,13 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-InitializeAllFieldsInConstructor": {
|
"Qt-Generic-InitializeAllFieldsInConstructor": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-MissingBaseCopy": {
|
"Qt-Generic-MissingBaseCopy": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-MissingIncludeGuard": {
|
"Qt-Generic-MissingIncludeGuard": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-MissingTrCall": {
|
"Qt-Generic-MissingTrCall": {
|
||||||
"_active": true
|
"_active": true
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-NoFunctionDefinitionInHeader": {
|
"Qt-Generic-NoFunctionDefinitionInHeader": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-Generic-NoIrregularInclude": {
|
"Qt-Generic-NoIrregularInclude": {
|
||||||
"_active": true
|
"_active": true
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-IncorrectEmit": {
|
"Qt-IncorrectEmit": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-InstallEventFilter": {
|
"Qt-InstallEventFilter": {
|
||||||
"_active": true
|
"_active": true
|
||||||
@@ -129,16 +129,16 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-MissingQObjectMacro": {
|
"Qt-MissingQObjectMacro": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-MutableContainerKey": {
|
"Qt-MutableContainerKey": {
|
||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-NonPodGlobalStatic": {
|
"Qt-NonPodGlobalStatic": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-OldStyleConnect": {
|
"Qt-OldStyleConnect": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-OverloadedSignal": {
|
"Qt-OverloadedSignal": {
|
||||||
"_active": true
|
"_active": true
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-QPropertyWithoutNotify": {
|
"Qt-QPropertyWithoutNotify": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-QStringArg": {
|
"Qt-QStringArg": {
|
||||||
"_active": true
|
"_active": true
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
"_active": true
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-RuleOfThree": {
|
"Qt-RuleOfThree": {
|
||||||
"_active": false
|
"_active": true
|
||||||
},
|
},
|
||||||
"Qt-RuleOfTwoSoft": {
|
"Qt-RuleOfTwoSoft": {
|
||||||
"_active": true
|
"_active": true
|
||||||
|
|||||||
@@ -3,10 +3,6 @@
|
|||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
# This script builds and installs FFmpeg static or shared (default) libs
|
# This script builds and installs FFmpeg static or shared (default) libs
|
||||||
# It can take an optional output parameter for installation:
|
|
||||||
#
|
|
||||||
# install-ffmpeg-linx.sh shared ~/my/install/path
|
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/ffmpeg-installation-utils.sh"
|
source "${BASH_SOURCE%/*}/../unix/ffmpeg-installation-utils.sh"
|
||||||
@@ -16,8 +12,7 @@ build_type=$(get_ffmpeg_build_type "$1")
|
|||||||
ffmpeg_source_dir=$(download_ffmpeg)
|
ffmpeg_source_dir=$(download_ffmpeg)
|
||||||
ffmpeg_name=$(basename "$ffmpeg_source_dir")
|
ffmpeg_name=$(basename "$ffmpeg_source_dir")
|
||||||
ffmpeg_config_options=$(get_ffmpeg_config_options "$build_type")
|
ffmpeg_config_options=$(get_ffmpeg_config_options "$build_type")
|
||||||
default_prefix="/usr/local/$ffmpeg_name"
|
prefix="/usr/local/$ffmpeg_name"
|
||||||
prefix="${2:-$default_prefix}"
|
|
||||||
pkgconfig_path="$PKG_CONFIG_PATH"
|
pkgconfig_path="$PKG_CONFIG_PATH"
|
||||||
|
|
||||||
install_ff_nvcodec_headers() {
|
install_ff_nvcodec_headers() {
|
||||||
@@ -100,6 +95,5 @@ if [ "$build_type" == "shared" ]; then
|
|||||||
"$fix_dependencies" "$output_dir"
|
"$fix_dependencies" "$output_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mkdir -p "$prefix"
|
sudo mv "$output_dir" "/usr/local"
|
||||||
sudo mv "$output_dir"/* "$prefix"
|
|
||||||
set_ffmpeg_dir_env_var "FFMPEG_DIR" "$prefix"
|
set_ffmpeg_dir_env_var "FFMPEG_DIR" "$prefix"
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
# This script will install node.js 18.16.0
|
# This script will install node.js 18.16.0
|
||||||
version="22.21.1"
|
version="18.16.0"
|
||||||
|
|
||||||
uname_m="$(uname -m)"
|
uname_m="$(uname -m)"
|
||||||
case "$uname_m" in
|
case "$uname_m" in
|
||||||
x86_64|amd64)
|
x86_64|amd64)
|
||||||
sha256="680d3f30b24a7ff24b98db5e96f294c0070f8f9078df658da1bce1b9c9873c88"
|
sha256="44d93d9b4627fe5ae343012d855491d62c7381b236c347f7666a7ad070f26548"
|
||||||
pkgname="node-v$version-linux-x64.tar.xz"
|
pkgname="node-v$version-linux-x64.tar.xz"
|
||||||
dirname="node-v$version-linux-x64"
|
dirname="node-v$version-linux-x64"
|
||||||
;;
|
;;
|
||||||
arm64|aarch64)
|
arm64|aarch64)
|
||||||
sha256="e660365729b434af422bcd2e8e14228637ecf24a1de2cd7c916ad48f2a0521e1"
|
sha256="c81dfa0bada232cb4583c44d171ea207934f7356f85f9184b32d0dde69e2e0ea"
|
||||||
pkgname="node-v$version-linux-arm64.tar.xz"
|
pkgname="node-v$version-linux-arm64.tar.xz"
|
||||||
dirname="node-v$version-linux-arm64"
|
dirname="node-v$version-linux-arm64"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
echo "Installing vcpkg android ports"
|
echo "Installing vcpkg android ports"
|
||||||
|
|
||||||
pushd "${BASH_SOURCE%/*}/../shared/vcpkg" || exit
|
pushd "${BASH_SOURCE%/*}/vcpkg" || exit
|
||||||
|
cp "${BASH_SOURCE%/*}/../shared/vcpkg-configuration.json" .
|
||||||
|
|
||||||
"$VCPKG_ROOT/vcpkg" install --triplet x86-android-qt --x-install-root x86-android-qt-tmp --debug
|
"$VCPKG_ROOT/vcpkg" install --triplet x86-android-qt --x-install-root x86-android-qt-tmp --debug
|
||||||
"$VCPKG_ROOT/vcpkg" install --triplet x86_64-android-qt --x-install-root x86_64-android-qt-tmp --debug
|
"$VCPKG_ROOT/vcpkg" install --triplet x86_64-android-qt --x-install-root x86_64-android-qt-tmp --debug
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|||||||
|
|
||||||
echo "Installing vcpkg ports"
|
echo "Installing vcpkg ports"
|
||||||
|
|
||||||
pushd "${BASH_SOURCE%/*}/../shared/vcpkg" || exit
|
pushd "${BASH_SOURCE%/*}/vcpkg" || exit
|
||||||
|
cp "${BASH_SOURCE%/*}/../shared/vcpkg-configuration.json" .
|
||||||
|
|
||||||
install_root=$1-tmp
|
install_root=x64-linux-qt-tmp
|
||||||
vcpkg_extra_args=$2
|
|
||||||
|
|
||||||
"$VCPKG_ROOT/vcpkg" install --triplet $1 --x-install-root $install_root --debug $vcpkg_extra_args
|
"$VCPKG_ROOT/vcpkg" install --triplet x64-linux-qt --x-install-root $install_root --debug
|
||||||
|
|
||||||
cmake "-DVCPKG_EXECUTABLE=$VCPKG_ROOT/vcpkg"\
|
cmake "-DVCPKG_EXECUTABLE=$VCPKG_ROOT/vcpkg"\
|
||||||
"-DVCPKG_INSTALL_ROOT=$PWD/$install_root"\
|
"-DVCPKG_INSTALL_ROOT=$PWD/$install_root"\
|
||||||
@@ -34,7 +34,7 @@ do
|
|||||||
"vcpkg_tool_release_tag")
|
"vcpkg_tool_release_tag")
|
||||||
vcpkgToolReleaseTag=${keyValue[1]}
|
vcpkgToolReleaseTag=${keyValue[1]}
|
||||||
;;
|
;;
|
||||||
"unix_checksum")
|
"linux_checksum")
|
||||||
vcpkgToolChecksum=${keyValue[1]}
|
vcpkgToolChecksum=${keyValue[1]}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -86,7 +86,7 @@ SetEnvVar "VCPKG_ROOT" "$vcpkgRoot"
|
|||||||
export VCPKG_ROOT="$vcpkgRoot"
|
export VCPKG_ROOT="$vcpkgRoot"
|
||||||
|
|
||||||
# Set a source for vcpkg Binary and Asset Cache
|
# Set a source for vcpkg Binary and Asset Cache
|
||||||
# The `coin/provisioning/common/<platform>/mount-vcpkg-cache-drive.sh` script is
|
# The `coin/provisioning/common/linux/mount-vcpkg-cache-drive.sh` script is
|
||||||
# mounting the SMB share located in `vcpkg-server.ci.qt.io/vcpkg` to
|
# mounting the SMB share located in `vcpkg-server.ci.qt.io/vcpkg` to
|
||||||
# $HOME/vcpkg-cache/
|
# $HOME/vcpkg-cache/
|
||||||
export VCPKG_BINARY_SOURCES="files,$HOME/vcpkg-cache/binaries,readwrite"
|
export VCPKG_BINARY_SOURCES="files,$HOME/vcpkg-cache/binaries,readwrite"
|
||||||
@@ -6,13 +6,14 @@ set -ex
|
|||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||||
|
|
||||||
targetVersion=v0.11.0
|
targetVersion=0.2.14
|
||||||
|
|
||||||
if [[ $(uname -m) == 'aarch64' ]]; then
|
if [[ $(uname -m) == 'aarch64' ]]; then
|
||||||
targetArch=aarch64-unknown-linux-musl
|
targetArch=aarch64-unknown-linux-musl
|
||||||
sha1=b7606d0fb461c0aa7351f511d9223416a322d52a
|
sha1=0f9b57c423d77f7aa89bb642864ac7689d84d6a0
|
||||||
else
|
else
|
||||||
targetArch=x86_64-unknown-linux-musl
|
targetArch=x86_64-unknown-linux-musl
|
||||||
sha1=ef389a20c85b732cccd48436a5e28ed40bed2806
|
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||||
|
|||||||
@@ -8,120 +8,79 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/check_and_set_proxy.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
targetFolder="/opt/android"
|
targetFolder="/opt/android"
|
||||||
sdkTargetFolder="$targetFolder/sdk"
|
sdkTargetFolder="$targetFolder/sdk"
|
||||||
|
|
||||||
sudo mkdir -p "$sdkTargetFolder"
|
basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
|
||||||
|
|
||||||
basePath="http://ci-files01-hki.ci.qt.io/input/android"
|
toolsVersion="2.1"
|
||||||
|
# toolsFile dertermines tools version
|
||||||
toolsVersion="19.0"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
toolsFile="commandlinetools-mac-13114758_latest.zip"
|
|
||||||
toolsBackupUrl="https://dl.google.com/android/repository/$toolsFile"
|
|
||||||
sdkBuildToolsVersion="35.0.1"
|
|
||||||
sdkApiLevel="android-35"
|
|
||||||
toolsSha1="c3e06a1959762e89167d1cbaa988605f6f7c1d24"
|
|
||||||
|
|
||||||
ndkVersionLatest="r27c"
|
|
||||||
ndkSha1Latest="0217c10ffbec496bb9fbfbb3c6fc2477c6b77297"
|
|
||||||
|
|
||||||
# Preview NDK that is in alpha/beta/RC state
|
|
||||||
ndkVersionPreview="r29-beta2"
|
|
||||||
ndkSha1Preview="09be4f8fb626a9c93415198ea8e75d8d82f528fa"
|
|
||||||
|
|
||||||
# Non-latest (but still supported by the qt/qt5 branch) NDKs are installed for nightly targets in:
|
# Non-latest (but still supported by the qt/qt5 branch) NDKs are installed for nightly targets in:
|
||||||
# coin/platform_configs/nightly_android.yaml
|
# coin/platform_configs/nightly_android.yaml
|
||||||
|
|
||||||
ndkVersionNightly1=$ndkVersionLatest # Set as same version as latest = skip NDK install in provisioning
|
ndkVersionLatest="r27c"
|
||||||
ndkSha1Nightly1=$ndkSha1Latest
|
ndkVersionPreview="r29-beta2"
|
||||||
ndkVersionNightly2=$ndkVersionLatest
|
ndkVersionNightly1="$ndkVersionLatest" # If same version as latest = skip NDK install for nightly
|
||||||
ndkSha1Nightly2=$ndkSha1Latest
|
ndkVersionNightly2="$ndkVersionLatest"
|
||||||
sdkBuildToolsVersion="36.0.0"
|
|
||||||
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
sdkApiLevel="android-36"
|
sdkApiLevel="android-35"
|
||||||
|
|
||||||
toolsTargetFile="/tmp/$toolsFile"
|
|
||||||
toolsSourceFile="$basePath/$toolsFile"
|
toolsSourceFile="$basePath/$toolsFile"
|
||||||
|
|
||||||
echo "Download and unzip Android SDK"
|
|
||||||
DownloadURL "$toolsSourceFile" "$toolsBackupUrl" "$toolsSha1" "$toolsTargetFile"
|
|
||||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
|
||||||
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder"
|
|
||||||
rm "$toolsTargetFile"
|
|
||||||
|
|
||||||
# Android Command-Line Tools unpacks a directory 'cmdline-tools'. Due
|
|
||||||
# to existing code, we need to move it into 'cmdline-tools/tools'
|
|
||||||
sudo mv "$sdkTargetFolder/cmdline-tools" "$sdkTargetFolder/tools"
|
|
||||||
sudo mkdir "$sdkTargetFolder/cmdline-tools"
|
|
||||||
sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
|
|
||||||
|
|
||||||
function InstallNdk() {
|
function InstallNdk() {
|
||||||
|
|
||||||
ndkVersion=$1
|
ndkVersion=$1
|
||||||
ndkSha1=$2
|
|
||||||
|
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
if [[ ! -d "${targetFolder}/android-ndk-${ndkVersion}" ]]; then
|
||||||
ndkTargetFile="/tmp/$ndkFile"
|
echo "Unzipping Android NDK $ndkVersion to '${targetFolder}'"
|
||||||
ndkSourceFile="$basePath/$ndkFile"
|
ndkSourceFile="$basePath/android-ndk-$ndkVersion-darwin*.zip"
|
||||||
|
sudo unzip -q "$ndkSourceFile" -d "$targetFolder"
|
||||||
|
fi
|
||||||
|
|
||||||
DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
|
|
||||||
echo "Unzipping Android NDK to '$targetFolder'"
|
|
||||||
# Get the package base directory name as string
|
|
||||||
zipBase=$(sudo zipinfo -1 "$ndkTargetFile" 2>/dev/null | awk '!seen {sub("/.*",""); print; seen=1}')
|
|
||||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
|
|
||||||
rm "$ndkTargetFile"
|
|
||||||
androidNdkRoot="${targetFolder}/${zipBase}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
InstallNdk $ndkVersionLatest $ndkSha1Latest
|
InstallNdk $ndkVersionLatest
|
||||||
SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$androidNdkRoot"
|
SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$targetFolder/android-ndk-$ndkVersionLatest"
|
||||||
|
|
||||||
if [ "$ndkVersionPreview" != "$ndkVersionLatest" ]; then
|
if [ "$ndkVersionPreview" != "$ndkVersionLatest" ]; then
|
||||||
InstallNdk $ndkVersionPreview $ndkSha1Preview
|
InstallNdk $ndkVersionPreview
|
||||||
SetEnvVar "ANDROID_NDK_ROOT_PREVIEW" "$androidNdkRoot"
|
SetEnvVar "ANDROID_NDK_ROOT_PREVIEW" "$targetFolder/android-ndk-$ndkVersionPreview"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ndkVersionNightly1" != "$ndkVersionLatest" ]; then
|
if [ "$ndkVersionNightly1" != "$ndkVersionLatest" ]; then
|
||||||
InstallNdk $ndkVersionNightly1 $ndkSha1Nightly1
|
InstallNdk $ndkVersionNightly1
|
||||||
SetEnvVar "ANDROID_NDK_ROOT_NIGHTLY1" "$androidNdkRoot"
|
SetEnvVar "ANDROID_NDK_ROOT_NIGHTLY1" "$targetFolder/android-ndk-$ndkVersionNightly1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ndkVersionNightly2" != "$ndkVersionLatest" ]; then
|
if [ "$ndkVersionNightly2" != "$ndkVersionLatest" ]; then
|
||||||
InstallNdk $ndkVersionNightly2 $ndkSha1Nightly2
|
InstallNdk $ndkVersionNightly2
|
||||||
SetEnvVar "ANDROID_NDK_ROOT_NIGHTLY2" "$androidNdkRoot"
|
SetEnvVar "ANDROID_NDK_ROOT_NIGHTLY2" "$targetFolder/android-ndk-$ndkVersionNightly2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
||||||
|
sudo unzip -q "$toolsSourceFile" -d "$sdkTargetFolder"
|
||||||
|
|
||||||
echo "Changing ownership of Android files."
|
echo "Changing ownership of Android files."
|
||||||
sudo chown -R qt:wheel "$targetFolder"
|
sudo chown -R qt:wheel "$targetFolder"
|
||||||
sudo chmod -R 755 $targetFolder
|
sudo chmod -R 755 $targetFolder
|
||||||
|
|
||||||
# Stop the sdkmanager from printing thousands of lines of #hashmarks.
|
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
|
||||||
# Run the following command under `eval` or `sh -c` so that the shell properly splits it.
|
|
||||||
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
||||||
# But don't let the pipeline hide sdkmanager failures.
|
|
||||||
set -o pipefail
|
sudo mkdir "$sdkTargetFolder/cmdline-tools"
|
||||||
|
sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
|
||||||
|
|
||||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||||
# shellcheck disable=SC2031
|
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
|
||||||
if [ "$http_proxy" != "" ]; then
|
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||||
proxy_host=$(echo "$proxy" | cut -d'/' -f3 | cut -d':' -f1)
|
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||||
proxy_port=$(echo "$proxy" | cut -d':' -f3)
|
|
||||||
echo "y" | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" --sdk_root=$sdkTargetFolder \
|
|
||||||
--no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" \
|
|
||||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
|
||||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
|
||||||
else
|
|
||||||
echo "y" | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" --sdk_root=$sdkTargetFolder \
|
|
||||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
|
||||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Checking the contents of Android SDK..."
|
echo "Checking the contents of Android SDK..."
|
||||||
ls -l "$sdkTargetFolder"
|
ls -l "$sdkTargetFolder"
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
pip3 install --user lipomerge
|
|
||||||
@@ -2,8 +2,6 @@
|
|||||||
# Copyright (C) 2021 The Qt Company Ltd.
|
# Copyright (C) 2021 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
|
# 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=./../unix/DownloadURL.sh
|
# shellcheck source=./../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|
||||||
@@ -22,11 +20,6 @@ function InstallXCode() {
|
|||||||
sourceFile=$1
|
sourceFile=$1
|
||||||
version=$2
|
version=$2
|
||||||
|
|
||||||
if ! [[ $version =~ ^[0-9] ]]; then
|
|
||||||
echo "Error: version input must start with a digit"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Uncompressing and installing '$sourceFile'"
|
echo "Uncompressing and installing '$sourceFile'"
|
||||||
if [[ $sourceFile =~ tar ]]; then
|
if [[ $sourceFile =~ tar ]]; then
|
||||||
cd /Applications/ && sudo tar -zxf "$sourceFile"
|
cd /Applications/ && sudo tar -zxf "$sourceFile"
|
||||||
@@ -42,7 +35,7 @@ function InstallXCode() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Versioning application bundle"
|
echo "Versioning application bundle"
|
||||||
majorVersion="${version%%[^0-9]*}"
|
majorVersion=$(echo "$version" | cut -d '.' -f 1)
|
||||||
versionedAppBundle="/Applications/Xcode${majorVersion}.app"
|
versionedAppBundle="/Applications/Xcode${majorVersion}.app"
|
||||||
sudo mv /Applications/Xcode*.app "${versionedAppBundle}"
|
sudo mv /Applications/Xcode*.app "${versionedAppBundle}"
|
||||||
|
|
||||||
@@ -53,12 +46,11 @@ function InstallXCode() {
|
|||||||
sudo xcodebuild -license accept
|
sudo xcodebuild -license accept
|
||||||
|
|
||||||
echo "Install packages"
|
echo "Install packages"
|
||||||
sudo xcodebuild -runFirstLaunch
|
# -runFirstLaunch is valid in 9.x
|
||||||
|
sudo xcodebuild -runFirstLaunch || true
|
||||||
|
|
||||||
# Metal toolchain not included by default in Xcode 26
|
# Metal toolchain not included by default in Xcode 26
|
||||||
if ((majorVersion >= 26)); then
|
xcodebuild -downloadComponent MetalToolchain || true
|
||||||
xcodebuild -downloadComponent MetalToolchain
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
||||||
sudo /usr/sbin/DevToolsSecurity -enable
|
sudo /usr/sbin/DevToolsSecurity -enable
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ set -ex
|
|||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|
||||||
echo "Installing Java Development Kit"
|
echo "Installing Java Development Kit"
|
||||||
version=21.0.9
|
version=17.0.12
|
||||||
targetFile=jdk-${version}_macos-x64_bin.dmg
|
targetFile=jdk-${version}_macos-x64_bin.dmg
|
||||||
expectedHash="3df8761bfba8d6a4633ecc92f1eff0a58d79c304"
|
expectedHash="6fba2fbe5d181bd2ef7fd79e0335278c13f611cb"
|
||||||
|
|
||||||
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
||||||
# url_alt=https://download.oracle.com/java/21/archive/jdk-21.0.8_macos-x64_bin.dmg
|
# url_alt=https://www.oracle.com/java/technologies/downloads/#jdk17-mac
|
||||||
|
|
||||||
echo "Mounting $targetFile"
|
echo "Mounting $targetFile"
|
||||||
sudo mkdir -p /Volumes/files
|
sudo mkdir -p /Volumes/files
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ set -ex
|
|||||||
|
|
||||||
echo "Installing Java Development Kit"
|
echo "Installing Java Development Kit"
|
||||||
|
|
||||||
targetFile=zulu21.46.19-ca-jdk21.0.9-macosx_aarch64.dmg
|
targetFile=zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
|
||||||
|
|
||||||
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
||||||
# url_alt=https://cdn.azul.com/zulu/bin/zulu21.46.19-ca-jdk21.0.9-macosx_aarch64.dmg
|
# url_alt=https://cdn.azul.com/zulu/bin/zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
|
||||||
|
|
||||||
echo "Mounting $targetFile"
|
echo "Mounting $targetFile"
|
||||||
sudo mkdir -p /Volumes/files
|
sudo mkdir -p /Volumes/files
|
||||||
@@ -22,12 +22,12 @@ sudo umount /Volumes/files
|
|||||||
sudo hdiutil attach "/tmp/$targetFile"
|
sudo hdiutil attach "/tmp/$targetFile"
|
||||||
|
|
||||||
echo Installing JDK
|
echo Installing JDK
|
||||||
cd /Volumes/Azul\ Zulu\ JDK\ 21.46+19 && sudo installer -pkg Double-Click\ to\ Install\ Azul\ Zulu\ JDK\ 21.pkg -target /
|
cd /Volumes/Azul\ Zulu\ JDK\ 17.54+21 && sudo installer -pkg Double-Click\ to\ Install\ Azul\ Zulu\ JDK\ 17.pkg -target /
|
||||||
|
|
||||||
echo "Unmounting $targetFile"
|
echo "Unmounting $targetFile"
|
||||||
sudo hdiutil unmount /Volumes/Azul\ Zulu\ JDK\ 21.46+19 -force
|
sudo hdiutil unmount /Volumes/Azul\ Zulu\ JDK\ 17.54+21 -force
|
||||||
|
|
||||||
echo "Disable auto update"
|
echo "Disable auto update"
|
||||||
sudo defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
|
sudo defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
|
||||||
|
|
||||||
echo "JDK Version = 21.0.9" >> ~/versions.txt
|
echo "JDK Version = 17.0.13" >> ~/versions.txt
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
# Mimer SQL is needed for Qt to be able to support Mimer SQL
|
# Mimer SQL is needed for Qt to be able to support Mimer SQL
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
os="$1"
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|||||||
|
|
||||||
# This script will install Nodejs
|
# This script will install Nodejs
|
||||||
|
|
||||||
version="22.21.1"
|
version="18.16.0"
|
||||||
urlCache="http://ci-files01-hki.ci.qt.io/input/nodejs/node-v$version.pkg"
|
urlCache="http://ci-files01-hki.ci.qt.io/input/nodejs/node-v$version.pkg"
|
||||||
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
|
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
|
||||||
sha256="182ad62634eabbb11497c2284a3172771944f1cd17e23b143e778bd189af6d65"
|
sha256="156aa5b9580288fb0b3c6134eb8fac64e50745d78d33eebe9e29eb7ff87b8e1e"
|
||||||
|
|
||||||
DownloadURL $urlCache $urlOffcial $sha256 "/tmp/node-v$version.pkg"
|
DownloadURL $urlCache $urlOffcial $sha256 "/tmp/node-v$version.pkg"
|
||||||
sudo installer -pkg "/tmp/node-v$version.pkg" -target /
|
sudo installer -pkg "/tmp/node-v$version.pkg" -target /
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2025 The Qt Company Ltd.
|
|
||||||
# Copyright (C) 2017 Pelagicore AG
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
# This script installs python3 on macOS ARM hosts.
|
|
||||||
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
# Use 3.12 as a default python
|
|
||||||
# Note: Make sure that it's a version where dependencies are stored in CI-files.
|
|
||||||
python_ver="3.12.11"
|
|
||||||
|
|
||||||
export PYTHON_BUILD_MIRROR_URL="https://ci-files01-hki.ci.qt.io/input/python/"
|
|
||||||
export PYTHON_BUILD_MIRROR_URL_SKIP_CHECKSUM=1
|
|
||||||
pyenv install "$python_ver"
|
|
||||||
|
|
||||||
/Users/qt/.pyenv/versions/$python_ver/bin/pip3 install --user virtualenv wheel html5lib
|
|
||||||
/Users/qt/.pyenv/versions/$python_ver/bin/pip3 install --user -r ${BASH_SOURCE%/*}/../shared/requirements.txt
|
|
||||||
|
|
||||||
SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/$python_ver/bin/"
|
|
||||||
SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/$python_ver/bin/"
|
|
||||||
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
|
|
||||||
|
|
||||||
# Provisioning during installation says:
|
|
||||||
# 'The script sbom2doc is installed in '$HOME/.local/bin' which is not on PATH.'
|
|
||||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
|
||||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/Users/qt/.local/bin"
|
|
||||||
|
|
||||||
# Set SBOM_PYTHON_INTERP_PATH to Python3 instance which was used to install SBOM packages from requirements
|
|
||||||
SetEnvVar "SBOM_PYTHON_INTERP_PATH" "/Users/qt/.pyenv/versions/$python_ver/bin/python3"
|
|
||||||
|
|
||||||
echo "python3 = $python_ver" >> ~/versions.txt
|
|
||||||
@@ -6,12 +6,12 @@ set -ex
|
|||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||||
|
|
||||||
targetVersion=v0.11.0
|
targetVersion=0.2.14
|
||||||
if [[ `arch` == arm* ]]; then
|
if [[ `arch` == arm* ]]; then
|
||||||
targetArch=aarch64-apple-darwin
|
targetArch=aarch64-apple-darwin
|
||||||
sha1=3261ab99e5bb1f9f36eafa597d11491bd85da5ec
|
sha1=ad10cd4b8889fa08e193a4165ac664876a27c0dc
|
||||||
else
|
else
|
||||||
targetArch=x86_64-apple-darwin
|
targetArch=x86_64-apple-darwin
|
||||||
sha1=57810789bf2813dfa9bf5da26a712dc30b56ce16
|
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||||
fi
|
fi
|
||||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ set -euox pipefail
|
|||||||
lib_dir="$1/lib"
|
lib_dir="$1/lib"
|
||||||
additional_suffix="${2:-}"
|
additional_suffix="${2:-}"
|
||||||
set_rpath="${3:-yes}"
|
set_rpath="${3:-yes}"
|
||||||
page_size="${4:-}"
|
|
||||||
|
|
||||||
# readelf and patchelf are prerequisite tools for this script. Check
|
# readelf and patchelf are prerequisite tools for this script. Check
|
||||||
# that they are available.
|
# that they are available.
|
||||||
@@ -82,12 +81,7 @@ for lib_name in "${ffmpeg_libs[@]}"; do
|
|||||||
stub_name="${stub_name%%.*}${additional_suffix}.${stub_name#*.}" # Add additional_suffix
|
stub_name="${stub_name%%.*}${additional_suffix}.${stub_name#*.}" # Add additional_suffix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
additional_command_args=""
|
patchelf --replace-needed "${BASH_REMATCH[1]}" "${stub_name}" "$lib_path"
|
||||||
if [ -n "$page_size" ]; then
|
|
||||||
additional_command_args+="--page-size ${page_size}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
patchelf ${additional_command_args} --replace-needed "${BASH_REMATCH[1]}" "${stub_name}" "$lib_path"
|
|
||||||
fi
|
fi
|
||||||
done <<< "$(read_needed_deps)"
|
done <<< "$(read_needed_deps)"
|
||||||
|
|
||||||
|
|||||||
@@ -4,5 +4,4 @@ ntia-conformance-checker ; python_version >= '3.9'
|
|||||||
sbomaudit ; python_version >= '3.9'
|
sbomaudit ; python_version >= '3.9'
|
||||||
sbom2doc ; python_version >= '3.9'
|
sbom2doc ; python_version >= '3.9'
|
||||||
reuse<=5.1.1 ; python_version >= '3.9'
|
reuse<=5.1.1 ; python_version >= '3.9'
|
||||||
cyclonedx-python-lib==11.5.0 ; python_version >= '3.9'
|
cyclonedx-python-lib==11.0.0 ; python_version >= '3.9'
|
||||||
jsonschema>=4.20 ; python_version >= '3.12'
|
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
ARG COIN_RUNS_IN_QT_COMPANY
|
ARG COIN_RUNS_IN_QT_COMPANY
|
||||||
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
||||||
&& { printf '%s\n' \
|
&& sed -i 's;\(archive\|security\)\.ubuntu\.com;repo-clones.ci.qt.io/apt-mirror/mirror;' /etc/apt/sources.list \
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 xenial-amd64 main restricted universe multiverse' \
|
|| echo "Internal package repository not found. Using public repositories."
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 xenial-updates-amd64 main restricted universe multiverse' \
|
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 xenial-backports-amd64 main restricted universe' \
|
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 xenial-security-amd64 main restricted universe multiverse' \
|
|
||||||
> /etc/apt/sources.list; \
|
|
||||||
} \
|
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
ARG COIN_RUNS_IN_QT_COMPANY
|
ARG COIN_RUNS_IN_QT_COMPANY
|
||||||
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
||||||
&& { printf '%s\n' \
|
&& sed -i 's;\(archive\|security\)\.ubuntu\.com;repo-clones.ci.qt.io/apt-mirror/mirror;' /etc/apt/sources.list \
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 bionic-amd64 main restricted universe multiverse' \
|
|| echo "Internal package repository not found. Using public repositories."
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 bionic-updates-amd64 main restricted universe multiverse' \
|
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 bionic-backports-amd64 main restricted universe' \
|
|
||||||
'deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 bionic-security-amd64 main restricted universe multiverse' \
|
|
||||||
> /etc/apt/sources.list; \
|
|
||||||
} \
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
|
||||||
set(VCPKG_OSX_ARCHITECTURES arm64)
|
|
||||||
set(VCPKG_TARGET_ARCHITECTURE arm64)
|
|
||||||
|
|
||||||
# Default settings of the triplet from the official vcpkg registry
|
|
||||||
set(VCPKG_CRT_LINKAGE dynamic)
|
|
||||||
set(VCPKG_LIBRARY_LINKAGE static)
|
|
||||||
|
|
||||||
# Qt custom per-port customizations
|
|
||||||
if(PORT MATCHES "openssl")
|
|
||||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
|
||||||
set(VCPKG_FIXUP_ELF_RPATH ON)
|
|
||||||
endif()
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
|
||||||
set(VCPKG_OSX_ARCHITECTURES x86_64)
|
|
||||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
|
||||||
|
|
||||||
# Default settings of the triplet from the official vcpkg registry
|
|
||||||
set(VCPKG_CRT_LINKAGE dynamic)
|
|
||||||
set(VCPKG_LIBRARY_LINKAGE static)
|
|
||||||
|
|
||||||
# Qt custom per-port customizations
|
|
||||||
if(PORT MATCHES "openssl")
|
|
||||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
|
||||||
set(VCPKG_FIXUP_ELF_RPATH ON)
|
|
||||||
endif()
|
|
||||||
@@ -5,5 +5,5 @@
|
|||||||
"repository": "https://git.qt.io/aledelev/vcpkg",
|
"repository": "https://git.qt.io/aledelev/vcpkg",
|
||||||
"baseline": "9c5c2a0ab75aff5bcd08142525f6ff7f6f7ddeee"
|
"baseline": "9c5c2a0ab75aff5bcd08142525f6ff7f6f7ddeee"
|
||||||
},
|
},
|
||||||
"overlay-triplets": [ "./../triplets" ]
|
"overlay-triplets": [ "./../../shared/triplets" ]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
vcpkg_tool_release_tag=2025-09-03
|
vcpkg_tool_release_tag=2025-09-03
|
||||||
windows_x64_checksum=4523B5B2CE77BD0F6DCA55140D831EA6EB03046D5F4496C85DF94AC1A7EFAB01
|
windows_x64_checksum=4523B5B2CE77BD0F6DCA55140D831EA6EB03046D5F4496C85DF94AC1A7EFAB01
|
||||||
windows_arm64_checksum=1E8653243C0E7D73FF1F0F3F25A55C8154888F331510F9545AD200EDD3CCB962
|
windows_arm64_checksum=1E8653243C0E7D73FF1F0F3F25A55C8154888F331510F9545AD200EDD3CCB962
|
||||||
unix_checksum=f0c4b30afc2f7baa9cc4372ac325042418251343e0192dbfac94c4f602e9d3ed
|
linux_checksum=f0c4b30afc2f7baa9cc4372ac325042418251343e0192dbfac94c4f602e9d3ed
|
||||||
|
|||||||
@@ -7,22 +7,4 @@ set -ex
|
|||||||
# shellcheck source=../shared/http_proxy.txt
|
# shellcheck source=../shared/http_proxy.txt
|
||||||
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
||||||
|
|
||||||
# check using wget, if not, check with curl.
|
{ wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy; } || echo "Proxy not detected at $proxy"
|
||||||
if command -v wget > /dev/null; then
|
|
||||||
if wget --quiet --execute "http_proxy=$proxy" --spider "proxy.intra.qt.io"; then
|
|
||||||
echo "Setting http_proxy to $proxy"
|
|
||||||
export http_proxy=$proxy
|
|
||||||
else
|
|
||||||
echo "Proxy not detected at $proxy"
|
|
||||||
fi
|
|
||||||
elif command -v curl > /dev/null; then
|
|
||||||
if curl --silent --proxy "$proxy" --head "proxy.intra.qt.io"; then
|
|
||||||
echo "Setting http_proxy to $proxy"
|
|
||||||
export http_proxy=$proxy
|
|
||||||
else
|
|
||||||
echo "Proxy not detected at $proxy"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "Error: Neither 'wget' or 'curl' is installed. Cannot attempt to setup proxy."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ set_common_environment () {
|
|||||||
CMD_INSTALL="sudo install"
|
CMD_INSTALL="sudo install"
|
||||||
|
|
||||||
COIN_RUNS_IN_QT_COMPANY=false
|
COIN_RUNS_IN_QT_COMPANY=false
|
||||||
if ping -c1 repo-clones-apt.ci.qt.io >/dev/null 2>&1
|
if ping -c1 repo-clones.ci.qt.io >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
COIN_RUNS_IN_QT_COMPANY=true
|
COIN_RUNS_IN_QT_COMPANY=true
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
ffmpeg_version_default() {
|
ffmpeg_version_default() {
|
||||||
echo "n7.1.3"
|
echo "n7.1.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
download_ffmpeg() {
|
download_ffmpeg() {
|
||||||
local version="${1:-$(ffmpeg_version_default)}"
|
local version="${1:-$(ffmpeg_version_default)}"
|
||||||
local sha1="${2:-27051817deec88bed3b9652d49f9127d22268d83}"
|
local sha1="${2:-1e4e937facdbde15943dd093121836bf69f27c7c}"
|
||||||
|
|
||||||
local ffmpeg_name="FFmpeg-$version"
|
local ffmpeg_name="FFmpeg-$version"
|
||||||
local target_dir="$HOME"
|
local target_dir="$HOME"
|
||||||
|
|||||||
@@ -82,13 +82,12 @@ build_ffmpeg_android() {
|
|||||||
local cc=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang
|
local cc=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang
|
||||||
local ar=${toolchain_bin}/llvm-ar
|
local ar=${toolchain_bin}/llvm-ar
|
||||||
local ranlib=${toolchain_bin}/llvm-ranlib
|
local ranlib=${toolchain_bin}/llvm-ranlib
|
||||||
local strip=${toolchain_bin}/llvm-strip
|
|
||||||
local ffmpeg_config_options
|
local ffmpeg_config_options
|
||||||
|
|
||||||
ffmpeg_config_options=$(get_ffmpeg_config_options $build_type)
|
ffmpeg_config_options=$(get_ffmpeg_config_options $build_type)
|
||||||
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"
|
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"
|
||||||
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
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} --strip=${strip}"
|
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||||
ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
|
ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
|
||||||
if [ $page_size == "use_16kb_page_size" ]; then
|
if [ $page_size == "use_16kb_page_size" ]; then
|
||||||
ffmpeg_config_options+=" --extra-ldflags=-Wl,-z,max-page-size=16384"
|
ffmpeg_config_options+=" --extra-ldflags=-Wl,-z,max-page-size=16384"
|
||||||
@@ -116,13 +115,7 @@ build_ffmpeg_android() {
|
|||||||
|
|
||||||
if [[ "$build_type" == "shared" ]]; then
|
if [[ "$build_type" == "shared" ]]; then
|
||||||
local fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
local fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
||||||
|
sudo "${fix_dependencies}" "${target_dir}" "${libs_prefix}" "no"
|
||||||
local page_size_arg=""
|
|
||||||
if [ $page_size == "use_16kb_page_size" ]; then
|
|
||||||
page_size_arg="16384"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo "${fix_dependencies}" "${target_dir}" "${libs_prefix}" "no" "$page_size_arg"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,9 +53,6 @@ build_ffmpeg_ios() {
|
|||||||
--cc="xcrun --sdk ${target_sdk} clang -arch $target_cpu_arch" \
|
--cc="xcrun --sdk ${target_sdk} clang -arch $target_cpu_arch" \
|
||||||
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_cpu_arch" \
|
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_cpu_arch" \
|
||||||
--target-os=darwin \
|
--target-os=darwin \
|
||||||
--extra-cflags="$minos" \
|
|
||||||
--extra-cxxflags="$minos" \
|
|
||||||
--extra-objcflags="$minos" \
|
|
||||||
--extra-ldflags="$minos" \
|
--extra-ldflags="$minos" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@@ -161,8 +158,8 @@ create_xcframework() {
|
|||||||
local fw_a="$ffmpeg_source_dir/build_ios/${target_platform_a}/installed$prefix/framework/${framework_name}.framework"
|
local fw_a="$ffmpeg_source_dir/build_ios/${target_platform_a}/installed$prefix/framework/${framework_name}.framework"
|
||||||
local fw_b="$ffmpeg_source_dir/build_ios/${target_platform_b}/installed$prefix/framework/${framework_name}.framework"
|
local fw_b="$ffmpeg_source_dir/build_ios/${target_platform_b}/installed$prefix/framework/${framework_name}.framework"
|
||||||
|
|
||||||
sudo mkdir -p "$prefix/lib/"
|
sudo mkdir -p "$prefix/framework/"
|
||||||
sudo xcodebuild -create-xcframework -framework $fw_a -framework $fw_b -output "${prefix}/lib/${framework_name}.xcframework"
|
sudo xcodebuild -create-xcframework -framework $fw_a -framework $fw_b -output "${prefix}/framework/${framework_name}.xcframework"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_ffmpeg_ios "x86_64-simulator"
|
build_ffmpeg_ios "x86_64-simulator"
|
||||||
@@ -183,5 +180,9 @@ done
|
|||||||
# xcframeworks are already installed directly into the target output directory.
|
# xcframeworks are already installed directly into the target output directory.
|
||||||
# We need to install headers
|
# We need to install headers
|
||||||
sudo cp -r "$ffmpeg_source_dir/build_ios/arm64-iphoneos/installed$prefix/include" $prefix
|
sudo cp -r "$ffmpeg_source_dir/build_ios/arm64-iphoneos/installed$prefix/include" $prefix
|
||||||
|
# The set_ffmpeg_dir_env_var requires the presence of the "lib" subfolder in order to validate
|
||||||
|
# our FFmpeg install. On iOS we don't use this subfolder, we only rely on the "framework" subfolder.
|
||||||
|
# So we create a dummy "lib" folder to pass the check.
|
||||||
|
sudo mkdir -p "${prefix}/lib"
|
||||||
|
|
||||||
set_ffmpeg_dir_env_var "FFMPEG_DIR_IOS" $prefix
|
set_ffmpeg_dir_env_var "FFMPEG_DIR_IOS" $prefix
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ if [[ "$os" == "linux" ]]; then
|
|||||||
make && make install_sw install_ssldirs
|
make && make install_sw install_ssldirs
|
||||||
SetEnvVar "OPENSSL_HOME" "$opensslHome"
|
SetEnvVar "OPENSSL_HOME" "$opensslHome"
|
||||||
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
|
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
|
||||||
SetEnvVar "PKG_CONFIG_PATH" "\"$opensslHome/lib64/pkgconfig:\$PKG_CONFIG_PATH\""
|
|
||||||
if uname -a |grep -q "Debian"; then
|
if uname -a |grep -q "Debian"; then
|
||||||
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib:$LD_LIBRARY_PATH\""
|
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib:$LD_LIBRARY_PATH\""
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||||
|
|
||||||
version="7.18.0"
|
version="7.15.0"
|
||||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/qtopenapi/openapi_client_generators/openapi-generator-cli-$version.jar"
|
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/qtopenapi/openapi_client_generators/openapi-generator-cli-$version.jar"
|
||||||
AltUrl="https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/openapi-generator-cli-$version.jar"
|
AltUrl="https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/openapi-generator-cli-$version.jar"
|
||||||
SHA1="8bd615a50b15ebf5be30e612af112526a6e81ac4"
|
SHA1="bb58e257f724fb46b7f2b309a9fa98e63fd7199f"
|
||||||
targetFolder="/opt/qt-openapi/"
|
targetFolder="/opt/qt-openapi/"
|
||||||
targetFile="openapi-generator-cli.jar"
|
targetFile="openapi-generator-cli.jar"
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
|||||||
# shellcheck source=./DownloadURL.sh
|
# shellcheck source=./DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||||
|
|
||||||
zswitch=$1 # Since 7z 25.01 multi-hop symbolic links are restricted with -snl switch levels
|
|
||||||
version="20.1.3"
|
version="20.1.3"
|
||||||
baseUrl="https://download.qt.io/development_releases/prebuilt/libclang"
|
baseUrl="https://download.qt.io/development_releases/prebuilt/libclang"
|
||||||
cachedUrl="http://ci-files01-hki.ci.qt.io/input/libclang/dynamic"
|
cachedUrl="http://ci-files01-hki.ci.qt.io/input/libclang/dynamic"
|
||||||
@@ -41,7 +40,7 @@ DownloadURL "$url_cached" "$url" "$sha1" "$zip"
|
|||||||
if command -v 7zr &> /dev/null; then
|
if command -v 7zr &> /dev/null; then
|
||||||
sudo 7zr x $zip -o/usr/local/
|
sudo 7zr x $zip -o/usr/local/
|
||||||
else
|
else
|
||||||
sudo 7z x $zswitch $zip -o/usr/local/
|
sudo 7z x $zip -o/usr/local/
|
||||||
fi
|
fi
|
||||||
sudo mv /usr/local/libclang "$destination"
|
sudo mv /usr/local/libclang "$destination"
|
||||||
rm -rf $zip
|
rm -rf $zip
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ PROVISIONING_DIR="$(dirname "$0")/../../"
|
|||||||
# shellcheck source=./common.sourced.sh
|
# shellcheck source=./common.sourced.sh
|
||||||
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||||
|
|
||||||
zswitch=$1 # Since 7z 25.01 multi-hop symbolic links are restricted with -snl switch levels
|
|
||||||
libclang_version="20.1.0"
|
libclang_version="20.1.0"
|
||||||
|
|
||||||
if uname -a |grep -q Darwin; then
|
if uname -a |grep -q Darwin; then
|
||||||
@@ -62,7 +61,7 @@ DownloadURL $url_cached $url $sha1 $zip
|
|||||||
if command -v 7zr &> /dev/null; then
|
if command -v 7zr &> /dev/null; then
|
||||||
sudo 7zr x $zip -o/usr/local/
|
sudo 7zr x $zip -o/usr/local/
|
||||||
else
|
else
|
||||||
sudo 7z x $zswitch $zip -o/usr/local/
|
sudo 7z x $zip -o/usr/local/
|
||||||
fi
|
fi
|
||||||
sudo mv /usr/local/libclang "$destination"
|
sudo mv /usr/local/libclang "$destination"
|
||||||
rm -rf $zip
|
rm -rf $zip
|
||||||
|
|||||||
104
coin/provisioning/common/unix/squishInstall.sh
Executable file
104
coin/provisioning/common/unix/squishInstall.sh
Executable file
@@ -0,0 +1,104 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Copyright (C) 2020 The Qt Company Ltd.
|
||||||
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
|
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="8.1.0"
|
||||||
|
qtBranch="68x"
|
||||||
|
installFolder="/opt"
|
||||||
|
squishFolder="$installFolder/squish"
|
||||||
|
preBuildCacheUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/jenkins_build/stable"
|
||||||
|
licenseFile=".squish-license"
|
||||||
|
licenseBranch="squish_license"
|
||||||
|
licenseUrl="http://ci-files01-hki.ci.qt.io/input/squish/coin/$licenseBranch/$licenseFile"
|
||||||
|
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-x64.tar.gz"
|
||||||
|
sha1="03a0c713d0d328667df2e7804f2e4d507707b849"
|
||||||
|
else
|
||||||
|
if [ "$PROVISIONING_ARCH" = arm64 ] ; then
|
||||||
|
compressedFolder="prebuild-squish-$version-$qtBranch-linux-arm64.tar.gz"
|
||||||
|
sha1="f6a2eb69faed64f13b164fb8d056182c41d2952c"
|
||||||
|
else
|
||||||
|
compressedFolder="prebuild-squish-$version-$qtBranch-linux-x64.tar.gz"
|
||||||
|
sha1="b798417ddf4b668306cb90d551df906828644152"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
mountFolder="/tmp/squish"
|
||||||
|
sudo mkdir "$mountFolder"
|
||||||
|
sudo mkdir "$testSuiteLocal"
|
||||||
|
|
||||||
|
# Check which platform
|
||||||
|
if uname -a |grep -q Darwin; then
|
||||||
|
usersGroup="staff"
|
||||||
|
elif uname -a |grep -q "el7"; then
|
||||||
|
usersGroup="qt"
|
||||||
|
elif uname -a |grep -q "Ubuntu"; then
|
||||||
|
usersGroup="users"
|
||||||
|
else
|
||||||
|
usersGroup="users"
|
||||||
|
fi
|
||||||
|
|
||||||
|
targetFileMount="$mountFolder"/"$compressedFolder"
|
||||||
|
|
||||||
|
echo "Mounting Squish packages from $preBuildCacheUrl to $mountFolder"
|
||||||
|
echo "Mounting Squish test suite from $testSuiteUrl to $testSuiteLocal"
|
||||||
|
if uname -a |grep -q Darwin; then
|
||||||
|
sudo mount -o locallocks "$preBuildCacheUrl" "$mountFolder"
|
||||||
|
sudo mount -o locallocks "$testSuiteUrl" "$testSuiteLocal"
|
||||||
|
else
|
||||||
|
sudo mount "$preBuildCacheUrl" "$mountFolder"
|
||||||
|
sudo mount "$testSuiteUrl" "$testSuiteLocal"
|
||||||
|
fi
|
||||||
|
echo "Create $installFolder if needed"
|
||||||
|
if [ ! -d "$installFolder" ]; then
|
||||||
|
sudo mkdir "$installFolder"
|
||||||
|
fi
|
||||||
|
|
||||||
|
VerifyHash "$targetFileMount" "$sha1"
|
||||||
|
|
||||||
|
echo "Uncompress $compressedFolder"
|
||||||
|
sudo tar -xzf "$targetFileMount" --directory "$installFolder"
|
||||||
|
|
||||||
|
if uname -a |grep -q Darwin; then
|
||||||
|
sudo xattr -r -c "$squishFolder"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Download Squish license"
|
||||||
|
DownloadURL "$licenseUrl" "$licenseUrl" "$licenseSHA" "$HOME/$licenseFile"
|
||||||
|
|
||||||
|
echo "Changing ownerships"
|
||||||
|
sudo chown -R qt:$usersGroup "$squishFolder"
|
||||||
|
sudo chown qt:$usersGroup "$HOME/$licenseFile"
|
||||||
|
|
||||||
|
|
||||||
|
echo "Verifying Squish, available installations:"
|
||||||
|
ls -la $squishFolder
|
||||||
|
cd $squishFolder
|
||||||
|
|
||||||
|
for squishInstallation in */ ; do
|
||||||
|
if "$squishInstallation/bin/squishrunner" --testsuite "$testSuiteLocal" | grep "Squish test run successfully" ; then
|
||||||
|
echo "Squish in $squishInstallation tested successfully"
|
||||||
|
else
|
||||||
|
echo "Testing Squish in $squishInstallation failed! Squish wasn't installed correctly."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Clean up installation temp dirs"
|
||||||
|
echo "- Unmounting $mountFolder"
|
||||||
|
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder" || true
|
||||||
|
|
||||||
|
echo "- Unmounting $testSuiteLocal"
|
||||||
|
sudo diskutil unmount force "$testSuiteLocal" || sudo umount -f "$testSuiteLocal" || true
|
||||||
@@ -38,14 +38,14 @@ $ndkCachedUrlNightly2 = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-
|
|||||||
$ndkOfficialUrlNightly2 = "https://dl.google.com/android/repository/android-ndk-$ndkVersionNightly2-windows.zip"
|
$ndkOfficialUrlNightly2 = "https://dl.google.com/android/repository/android-ndk-$ndkVersionNightly2-windows.zip"
|
||||||
|
|
||||||
# SDK
|
# SDK
|
||||||
$toolsVersion = "19.0"
|
$toolsVersion = "2.1"
|
||||||
$toolsFile = "commandlinetools-win-13114758_latest.zip"
|
$toolsFile = "commandlinetools-win-6609375_latest.zip"
|
||||||
$sdkApi = "ANDROID_API_VERSION"
|
$sdkApi = "ANDROID_API_VERSION"
|
||||||
$sdkApiLevel = "android-36"
|
$sdkApiLevel = "android-35"
|
||||||
$sdkBuildToolsVersion = "36.0.0"
|
$sdkBuildToolsVersion = "35.0.1"
|
||||||
$toolsCachedUrl= "\\ci-files01-hki.ci.qt.io\provisioning\android\$toolsFile"
|
$toolsCachedUrl= "\\ci-files01-hki.ci.qt.io\provisioning\android\$toolsFile"
|
||||||
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
|
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
|
||||||
$toolsChecksum = "54a582f3bf73e04253602f2d1c80bd5868aac115"
|
$toolsChecksum = "e2e19c2ff584efa87ef0cfdd1987f92881323208"
|
||||||
$cmdFolder = "c:\Utils\Android\cmdline-tools"
|
$cmdFolder = "c:\Utils\Android\cmdline-tools"
|
||||||
|
|
||||||
$sdkZip = "c:\Windows\Temp\$toolsFile"
|
$sdkZip = "c:\Windows\Temp\$toolsFile"
|
||||||
@@ -96,13 +96,9 @@ if ($ndkVersionNightly2 -ne $ndkVersionLatest) {
|
|||||||
Write-Output "Android NDK = $ndkVersionNightly2" >> ~/versions.txt
|
Write-Output "Android NDK = $ndkVersionNightly2" >> ~/versions.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
# Android Command-Line Tools unpacks a directory 'cmdline-tools'. Due
|
|
||||||
# to existing code, weed to move it into 'cmdline-tools/tools'
|
|
||||||
Write-Host "Downloading Android Command-Line Tools"
|
|
||||||
$toolsFolder = Install $toolsCachedUrl $sdkZip $toolsChecksum $toolsOfficialUrl
|
$toolsFolder = Install $toolsCachedUrl $sdkZip $toolsChecksum $toolsOfficialUrl
|
||||||
Rename-Item -Path "$toolsFolder" -NewName "c:\Utils\Android\tools"
|
|
||||||
New-Item -ItemType directory -Path $cmdFolder
|
New-Item -ItemType directory -Path $cmdFolder
|
||||||
Move-Item -Path "c:\Utils\Android\tools" -Destination "$cmdFolder\tools"
|
Move-Item -Path $toolsFolder -Destination $cmdFolder\
|
||||||
Set-EnvironmentVariable "ANDROID_SDK_ROOT" "C:\Utils\Android"
|
Set-EnvironmentVariable "ANDROID_SDK_ROOT" "C:\Utils\Android"
|
||||||
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
# This script will install FFmpeg
|
# This script will install FFmpeg
|
||||||
$msys = "C:\Utils\msys64\usr\bin\bash"
|
$msys = "C:\Utils\msys64\usr\bin\bash"
|
||||||
|
|
||||||
$version="n7.1.3"
|
$version="n7.1.2"
|
||||||
$url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
$url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||||
$sha1="27051817deec88bed3b9652d49f9127d22268d83"
|
$sha1="1e4e937facdbde15943dd093121836bf69f27c7c"
|
||||||
$url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
$url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||||
$ffmpeg_name="FFmpeg-$version"
|
$ffmpeg_name="FFmpeg-$version"
|
||||||
|
|
||||||
|
|||||||
@@ -4,31 +4,31 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script will install Java SE
|
# This script will install Java SE
|
||||||
# https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html
|
# https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
|
||||||
$version_major = "21"
|
$version_major = "17"
|
||||||
|
|
||||||
$cpu_arch = Get-CpuArchitecture
|
$cpu_arch = Get-CpuArchitecture
|
||||||
switch ($cpu_arch) {
|
switch ($cpu_arch) {
|
||||||
arm64 {
|
arm64 {
|
||||||
$version = "21.0.9"
|
$version = "17.0.11"
|
||||||
$arch = "aarch64"
|
$arch = "aarch64"
|
||||||
$sha1 = "293cca7b76e3280573061f53dbe41ced527e3b4d"
|
$sha1 = "1c5984a185778ad91498b746e677d84e153d5918"
|
||||||
# Using Microsoft build https://aka.ms/download-jdk/ - no .msi available
|
# Using Microsoft build version of OpenJDK from: https://learn.microsoft.com/en-us/java/openjdk/download
|
||||||
$url_official = "https://aka.ms/download-jdk/microsoft-jdk-${version}-windows-${arch}.exe"
|
# as there are no available Windows ARM64 versions of JDK from Oracle
|
||||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\microsoft-jdk-${version}-windows-${arch}.exe"
|
$url_official = "https://aka.ms/download-jdk/microsoft-jdk-${version}-windows-${arch}.msi"
|
||||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\microsoft-jdk-${version}-windows-${arch}.msi"
|
||||||
|
$javaPackage = "C:\Windows\Temp\jdk-$version.msi"
|
||||||
# Microsoft installer does not allow to override the installation path using the regular
|
# Microsoft installer does not allow to override the installation path using the regular
|
||||||
# TARGETDIR or INSTALLDIR properties, so just hardcode the path that it uses
|
# TARGETDIR or INSTALLDIR properties, so just hardcode the path that it uses
|
||||||
$installdir = "C:\Program Files\Microsoft\jdk-$version-hotspot"
|
$installdir = "C:\Program Files\Microsoft\jdk-17.0.11.9-hotspot"
|
||||||
Break
|
Break
|
||||||
}
|
}
|
||||||
x64 {
|
x64 {
|
||||||
$version = "21.0.9"
|
$version = "17.0.10"
|
||||||
$arch = "x64"
|
$arch = "x64"
|
||||||
$sha1 = "b4b10fd43993650053c41f377af37b37a2267b74"
|
$sha1 = "d573091930076c3ffa9f74273cb41cb5c75c5400"
|
||||||
# Downloading from https://aka.ms/download-jdk/microsoft-jdk-21.0.9-windows-x64.exe
|
$url_official = "https://download.oracle.com/java/17/archive/jdk-${version}_windows-${arch}_bin.exe"
|
||||||
$url_official = "https://aka.ms/download-jdk/microsoft-jdk-${version}_windows-${arch}.exe"
|
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-$version-windows-$arch.exe"
|
||||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\microsoft-jdk-$version-windows-$arch.exe"
|
|
||||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||||
$installdir = "C:\Program Files\Java\jdk-$version_major"
|
$installdir = "C:\Program Files\Java\jdk-$version_major"
|
||||||
Break
|
Break
|
||||||
@@ -44,7 +44,7 @@ Download $url_official $url_cache $javaPackage
|
|||||||
Verify-Checksum $javaPackage $sha1
|
Verify-Checksum $javaPackage $sha1
|
||||||
|
|
||||||
if ($javaPackage.EndsWith(".exe")) {
|
if ($javaPackage.EndsWith(".exe")) {
|
||||||
Run-Executable "$javaPackage" "/SILENT /SUPPRESSMSGBOXES /ALLUSERS /DIR=`"$installdir`""
|
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||||
} else {
|
} else {
|
||||||
Run-Executable "msiexec" "/quiet /i $javaPackage"
|
Run-Executable "msiexec" "/quiet /i $javaPackage"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
# Copyright (C) 2025 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$script:nugetVersion = "v6.11.0"
|
|
||||||
$script:nugetPackage = "nuget_$nugetVersion.exe"
|
|
||||||
$script:packageRoot = "C:\Utils\NuGet\"
|
|
||||||
|
|
||||||
$script:cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\nuget\$nugetPackage"
|
|
||||||
$script:officialUrl = "https://dist.nuget.org/win-x86-commandline/$nugetVersion/nuget.exe"
|
|
||||||
$script:sdkChecksumSha1 = "5443887cfb5283da5021388d146ebb5febdc82e9"
|
|
||||||
$script:package_path = "$packageRoot\\$nugetPackage"
|
|
||||||
|
|
||||||
New-Item -ItemType Directory -Path "$packageRoot"
|
|
||||||
Download $officialUrl $cachedUrl $package_path
|
|
||||||
Verify-Checksum $package_path $sdkChecksumSha1 sha1
|
|
||||||
Write-Host "Installing Nuget"
|
|
||||||
|
|
||||||
Set-EnvironmentVariable "NUGET_EXE_PATH" "$package_path"
|
|
||||||
@@ -3,34 +3,14 @@
|
|||||||
|
|
||||||
# Install mozilla sccache
|
# Install mozilla sccache
|
||||||
|
|
||||||
|
param(
|
||||||
|
[string]$arch="x86_64-pc-windows-msvc",
|
||||||
|
[string]$version="0.2.14",
|
||||||
|
[string]$sha1="bbdceb59d6fd7b6a3af02fb36f65c8bf324757b0"
|
||||||
|
)
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$version="v0.11.0-jimis3"
|
|
||||||
$cpu_arch = Get-CpuArchitecture
|
|
||||||
switch ($cpu_arch) {
|
|
||||||
arm64 {
|
|
||||||
$arch="aarch64-pc-windows-msvc"
|
|
||||||
$sha1="be429b6c33da9408bba827815d04fceeadf6dbd1"
|
|
||||||
break
|
|
||||||
}
|
|
||||||
x64 {
|
|
||||||
$arch="x86_64-pc-windows-msvc"
|
|
||||||
$sha1="bcce35f6b39e2d1d0829f2277fd749767e057486"
|
|
||||||
break
|
|
||||||
}
|
|
||||||
x86 {
|
|
||||||
$arch="x86-pc-windows-gnu"
|
|
||||||
$sha1="287f4c3b7db21b72138704b8fe96827e6b1643a8"
|
|
||||||
$version="0.2.13-alpha-0"
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
default {
|
|
||||||
throw "Unknown architecture $cpu_arch"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$basename = "sccache-" + $version + "-" + $arch
|
$basename = "sccache-" + $version + "-" + $arch
|
||||||
$zipfile = $basename + ".tar.gz"
|
$zipfile = $basename + ".tar.gz"
|
||||||
$tempfile = "C:\Windows\Temp\" + $zipfile
|
$tempfile = "C:\Windows\Temp\" + $zipfile
|
||||||
@@ -48,9 +28,6 @@ Remove-Item -Path $tempfile
|
|||||||
# Turnoff idle timeout to avoid sccache shutting down
|
# Turnoff idle timeout to avoid sccache shutting down
|
||||||
Set-EnvironmentVariable "SCCACHE_IDLE_TIMEOUT" "0"
|
Set-EnvironmentVariable "SCCACHE_IDLE_TIMEOUT" "0"
|
||||||
|
|
||||||
# Prevents build job dying from random network I/O errors
|
|
||||||
Set-EnvironmentVariable "SCCACHE_IGNORE_SERVER_IO_ERROR" "1"
|
|
||||||
|
|
||||||
# add sccache to PATH
|
# add sccache to PATH
|
||||||
Set-EnvironmentVariable "PATH" "C:\Program Files\$basename\;$([Environment]::GetEnvironmentVariable('PATH', 'Machine'))"
|
Set-EnvironmentVariable "PATH" "C:\Program Files\$basename\;$([Environment]::GetEnvironmentVariable('PATH', 'Machine'))"
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ $vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
|
|||||||
$vcpkgRoot = "$env:VCPKG_ROOT"
|
$vcpkgRoot = "$env:VCPKG_ROOT"
|
||||||
$vcpkgInstallRoot = "armeabi-v7a-android-qt-tmp"
|
$vcpkgInstallRoot = "armeabi-v7a-android-qt-tmp"
|
||||||
|
|
||||||
Set-Location -Path "$PSScriptRoot\..\shared\vcpkg"
|
Set-Location -Path "$PSScriptRoot\vcpkg"
|
||||||
|
Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
|
||||||
|
|
||||||
Run-Executable "$vcpkgExe" "install --triplet armeabi-v7a-android-qt --x-install-root $vcpkgInstallRoot --debug"
|
Run-Executable "$vcpkgExe" "install --triplet armeabi-v7a-android-qt --x-install-root $vcpkgInstallRoot --debug"
|
||||||
|
|
||||||
New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
|
New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ $vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
|
|||||||
$vcpkgRoot = "$env:VCPKG_ROOT"
|
$vcpkgRoot = "$env:VCPKG_ROOT"
|
||||||
$vcpkgInstallRoot = "$arch-windows-qt-tmp"
|
$vcpkgInstallRoot = "$arch-windows-qt-tmp"
|
||||||
|
|
||||||
Set-Location -Path "$PSScriptRoot\..\shared\vcpkg"
|
Set-Location -Path "$PSScriptRoot\vcpkg"
|
||||||
|
Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
|
||||||
|
|
||||||
Run-Executable "$vcpkgExe" "install --triplet $arch-windows-qt --x-install-root $vcpkginstallroot --debug"
|
Run-Executable "$vcpkgExe" "install --triplet $arch-windows-qt --x-install-root $vcpkginstallroot --debug"
|
||||||
|
|
||||||
New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
|
New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
|
||||||
|
|||||||
@@ -1,89 +0,0 @@
|
|||||||
# Copyright (C) 2025 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$script:commitSha = "a8c4d08c9757c1689d832a33252ae465b97bfb9a"
|
|
||||||
$script:repoUrl = "https://git.qt.io/qtmultimedia/WindowsVirtualCamera/-/archive/$commitSha/WindowsVirtualCamera-$commitSha.zip"
|
|
||||||
$script:unzip_location = "C:\Utils\WindowsVirtualCamera"
|
|
||||||
$script:download_location = "C:\Windows\Temp\WindowsVirtualCamera.zip"
|
|
||||||
|
|
||||||
$script:nuget = [System.Environment]::GetEnvironmentVariable('NUGET_EXE_PATH', [System.EnvironmentVariableTarget]::Machine)
|
|
||||||
|
|
||||||
$script:localPath = "$unzip_location\WindowsVirtualCamera-$commitSha"
|
|
||||||
$script:solutionFile = "VCamManager.sln"
|
|
||||||
$script:buildConfig = "Release"
|
|
||||||
$script:targetPlatform = "x64"
|
|
||||||
$script:dllPath = "$localPath\$targetPlatform\$buildConfig\VCamSampleSource.dll"
|
|
||||||
|
|
||||||
# Save the current location to return later
|
|
||||||
$previousLocation = Get-Location
|
|
||||||
|
|
||||||
Write-Host "Downloading from $repoUrl to $download_location"
|
|
||||||
Invoke-WebRequest -Uri $repoUrl -OutFile $download_location
|
|
||||||
Write-Host "Extracting $download_location to $unzip_location"
|
|
||||||
Expand-Archive -Path $download_location -DestinationPath $unzip_location
|
|
||||||
Remove-Item $download_location
|
|
||||||
|
|
||||||
# Ensure we're inside repo folder
|
|
||||||
Set-Location $localPath
|
|
||||||
|
|
||||||
$hostArch = Get-CpuArchitecture
|
|
||||||
$arch = $hostArch
|
|
||||||
$result = EnterVSDevShell -HostArch $hostArch -Arch $arch
|
|
||||||
if (-Not $result) {
|
|
||||||
return $false
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "Locating MSBuild"
|
|
||||||
$vswhere = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
|
|
||||||
|
|
||||||
if (-not (Test-Path $vswhere)) {
|
|
||||||
throw "vswhere.exe not found! Path: $vswhere"
|
|
||||||
}
|
|
||||||
|
|
||||||
$msbuildPath = & $vswhere `
|
|
||||||
-latest `
|
|
||||||
-products * `
|
|
||||||
-requires Microsoft.Component.MSBuild `
|
|
||||||
-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
|
|
||||||
-find "MSBuild\**\Bin\MSBuild.exe" `
|
|
||||||
|
|
||||||
if ($LASTEXITCODE -ne 0 -or -not (Test-Path $msbuildPath)) {
|
|
||||||
throw "MSBuild NOT found. Make sure VS Build Tools are installed."
|
|
||||||
}
|
|
||||||
Write-Host "MSBuild found: $msbuildPath"
|
|
||||||
|
|
||||||
Write-Host "Restoring NuGet packages"
|
|
||||||
& $nuget restore $solutionFile
|
|
||||||
|
|
||||||
Write-Host "Building solution $solutionFile"
|
|
||||||
& "$msbuildPath" $solutionFile `
|
|
||||||
/t:Build `
|
|
||||||
/p:Configuration=$buildConfig `
|
|
||||||
/p:Platform=$targetPlatform `
|
|
||||||
/p:RestorePackagesConfig=true `
|
|
||||||
/m
|
|
||||||
|
|
||||||
if ($LASTEXITCODE -eq 0) {
|
|
||||||
Write-Host "Build succeeded"
|
|
||||||
} else {
|
|
||||||
Write-Host " Build failed with exit code $LASTEXITCODE"
|
|
||||||
exit $LASTEXITCODE
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "Registering the Virtual Camera dll"
|
|
||||||
regsvr32 /s "$dllPath"
|
|
||||||
|
|
||||||
if ($LASTEXITCODE -eq 0) {
|
|
||||||
Write-Host "Register succeeded"
|
|
||||||
} else {
|
|
||||||
Write-Host "Register failed with exit code $LASTEXITCODE"
|
|
||||||
exit $LASTEXITCODE
|
|
||||||
}
|
|
||||||
|
|
||||||
Set-EnvironmentVariable "VCAM_PATH" "$localPath\$targetPlatform\$buildConfig"
|
|
||||||
Write-Host "Environment variable VCAM_PATH set to $localPath\$targetPlatform\$buildConfig"
|
|
||||||
|
|
||||||
# Return to previous location
|
|
||||||
Set-Location $previousLocation
|
|
||||||
52
coin/provisioning/common/windows/squishInstall.ps1
Normal file
52
coin/provisioning/common/windows/squishInstall.ps1
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# Copyright (C) 2021 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
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script will pre-installed squish package for Windows.
|
||||||
|
# Squish is need by Release Test Automation (RTA)
|
||||||
|
|
||||||
|
$version = "8.1.0"
|
||||||
|
$qtBranch = "68x"
|
||||||
|
$targetDir = "C:\Utils\squish"
|
||||||
|
$squishPackage = "C:\Utils\rta_squish"
|
||||||
|
$squishUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\jenkins_build\stable"
|
||||||
|
$licenseBranch="squish_license"
|
||||||
|
$licenseUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\$licenseBranch"
|
||||||
|
$testSuiteUrl="\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\suite_test_squish"
|
||||||
|
|
||||||
|
# Squish license
|
||||||
|
$licensePackage = ".squish-license"
|
||||||
|
|
||||||
|
Write-Host "Installing Squish license to home directory"
|
||||||
|
Copy-Item $licenseUrl\$licensePackage ~\$licensePackage
|
||||||
|
|
||||||
|
if (Is64BitWinHost) {
|
||||||
|
$arch = "x64"
|
||||||
|
} else {
|
||||||
|
$arch = "x86"
|
||||||
|
}
|
||||||
|
|
||||||
|
$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
|
||||||
|
|
||||||
|
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 = "e7497b925b9a0aa17628344dbdacd6b3acd41c3b"
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$winVersion = "n/a"
|
||||||
|
}
|
||||||
|
$squishArchive = "prebuild-squish-$version-$qtBranch-$winVersion-$arch.zip"
|
||||||
|
|
||||||
|
Copy-Item "$squishUrl\$squishArchive" "C:\Utils"
|
||||||
|
Copy-Item -Recurse "$testSuiteUrl" "C:\Utils"
|
||||||
|
Verify-Checksum "C:\Utils\$squishArchive" $sha1
|
||||||
|
Extract-7Zip "C:\Utils\$squishArchive" "C:\Utils"
|
||||||
|
|
||||||
|
Remove-Item "C:\Utils\prebuild*"
|
||||||
|
|
||||||
|
Write-Host "Verifying Squish Installation for following targets:"
|
||||||
|
get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { $_.FullName }
|
||||||
|
get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { if (cmd /c $_.FullName --testsuite "C:\Utils\suite_test_squish" |Select-String -Pattern "Squish test run successfully") { Write-Host "Squish tested successfully"} else { [Environment]::Exit(1) } }
|
||||||
14
coin/provisioning/common/windows/vcpkg/vcpkg.json
Normal file
14
coin/provisioning/common/windows/vcpkg/vcpkg.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"name": "openssl",
|
||||||
|
"version": "3.0.7",
|
||||||
|
"port-version": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
"openssl",
|
||||||
|
"protobuf",
|
||||||
|
"grpc"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,20 @@
|
|||||||
# Copyright (C) 2025 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script installs Windows App SDK
|
# This script installs Windows App SDK
|
||||||
|
|
||||||
|
$script:nugetVersion = "v6.11.0"
|
||||||
|
$script:nugetPackage = "nuget_$nugetVersion.exe"
|
||||||
$script:packageRoot = "C:\Utils\WindowsAppSdk\"
|
$script:packageRoot = "C:\Utils\WindowsAppSdk\"
|
||||||
|
|
||||||
$script:package_path = [System.Environment]::GetEnvironmentVariable('NUGET_EXE_PATH', [System.EnvironmentVariableTarget]::Machine)
|
$script:cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\nuget\$nugetPackage"
|
||||||
|
$script:officialUrl = "https://dist.nuget.org/win-x86-commandline/$nugetVersion/nuget.exe"
|
||||||
|
$script:sdkChecksumSha1 = "5443887cfb5283da5021388d146ebb5febdc82e9"
|
||||||
|
$script:package_path = "$packageRoot\\$nugetPackage"
|
||||||
|
|
||||||
|
New-Item -ItemType Directory -Path "$packageRoot"
|
||||||
|
Download $officialUrl $cachedUrl $package_path
|
||||||
|
Verify-Checksum $package_path $sdkChecksumSha1 sha1
|
||||||
|
Write-Host "Installing Nuget"
|
||||||
Run-Executable "$package_path" "install Microsoft.WindowsAppSDK -OutputDirectory $packageRoot"
|
Run-Executable "$package_path" "install Microsoft.WindowsAppSDK -OutputDirectory $packageRoot"
|
||||||
|
|
||||||
$script:cpuarch = Get-CpuArchitecture
|
$script:cpuarch = Get-CpuArchitecture
|
||||||
|
|||||||
@@ -54,9 +54,7 @@ installPackages+=(libgbm-dev)
|
|||||||
installPackages+=(libxkbfile-dev)
|
installPackages+=(libxkbfile-dev)
|
||||||
installPackages+=(libxshmfence-dev)
|
installPackages+=(libxshmfence-dev)
|
||||||
installPackages+=(libxss-dev)
|
installPackages+=(libxss-dev)
|
||||||
installPackages+=(rustc)
|
# installPackages+=(nodejs) too old
|
||||||
installPackages+=(bindgen)
|
|
||||||
installPackages+=(clang)
|
|
||||||
installPackages+=(python3-html5lib)
|
installPackages+=(python3-html5lib)
|
||||||
#
|
#
|
||||||
## Common event loop handling
|
## Common event loop handling
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
sudo ethtool -K ens3 tso off
|
|
||||||
ethtool -k ens3 | grep tcp-segmentation-offload # Output: tcp-segmentation-offload: off
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user