Commit Graph

5103 Commits

Author SHA1 Message Date
Heikki Halmet
b51d7ca210 Fix Android NDK root environment variable for RHEL 9 nightly run
Change-Id: I5e3ff1fd8d339cc42b5f20ea3f91d5a8ecc92c71
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-09-21 15:05:50 +03:00
Heikki Halmet
bf1c196e41 Provisioning: Install Node.js for SLES 15
WebEngine requires node.js version 12 or later

Pick-to: 6.4 6.2
Change-Id: I9ff5ebbfcaf328445149e6d0b95e02dd0febf5c3
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2022-09-21 12:58:53 +03:00
Heikki Halmet
8a72b1de99 Support multiple Android NDK versions
We need to verify latest Android NDK version in all
Qt6 branches and we need to retain the NDK version we
had when the specific branch was released at the first time.

Verification of the latest NDK will be done during integrations
in 'dev' branch and with older brances it will be done using
nightly build targets

Task-number: QTQAINFRA-4990
Change-Id: I2a96e419d403820f55f4244230c28ad09dc9095b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2022-09-20 10:30:05 +03:00
Heikki Halmet
911505cd37 Provisioning: Fix Protobuf installation for Ubuntu 22.04
Cmake environment variable need to be read from .bash_profile
(or .bashrc) instead of .profile with Ubuntu 22.04

Change-Id: Ic0589666e48946ba05366304407a0e5824b27a2c
Reviewed-by: Liang Qi <liang.qi@qt.io>
2022-09-20 07:30:03 +00:00
Heikki Halmet
de8a8879bd Add Ubuntu 22.04 xwayland to Nightly build
Change-Id: Ic9878e4223e77a49df4daab2514e516b7b46545f
Reviewed-by: Liang Qi <liang.qi@qt.io>
2022-09-20 09:30:01 +02:00
Heikki Halmet
7dcf1c8a4b Add InsignificantTests flag for openSUSE 15
New provisioned openSUSE will start failing to
tst_QNetworkReply::contentEncodingBigPayload. This should be fixed in
QTBUG-106016 but requires Qt5 submodule update which is blocked currently.
Meanwhile let's use Insignificant flag for openSUSE autotests to get
provisioning changes in.

Change-Id: Ib9a8b61f35f6e105440308af44c2d96605ea3b27
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-09-20 10:29:59 +03:00
Ville-Pekka Karhu
982b8ddb3d Pre-provisioning: macOS 12 README update
Pick-to: 6.4 6.2
Change-Id: I43194f6b2d7d6b1be74333fb9e9282adb49ed6fc
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-09-19 09:09:44 +03:00
Alexey Edelev
15c3907d68 Disable top-level builds for platforms with the TargetBuildOnly feature
TargetBuildOnly builds are broken, since host Qt is not provided and
tools cannot be run correctly for top-level builds. Temporary disable
them.

Task-number: QTBUG-87480
Change-Id: I996e1300cab6bd1383333c686a67e00b55829e5f
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-09-16 15:35:05 +02:00
Alexandru Croitor
06e1b81a7d Add Windows CI platform configurations for the qmake2cmake repo
Change-Id: Id21cc5c62e51fa3f1041e76201f4a6c914eb5e1e
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-09-16 07:29:30 +00:00
Toni Saario
d5381608ba Run bic tests
The way of running bic tests has changed. Now tests need to be run on
qt5 level where all modules are present and intermodule includes can
be handled.

Task-number: QTBUG-100698
Change-Id: Ic68c019988718485201602f279530c501f6e6ba3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-09-15 08:54:31 +03:00
Mårten Nordheim
0770d0db8f Update protobuf script for macos 13 arm
Amends ad84c5cb8a and
134c07923c

Change-Id: Ia0f63d4e2cfe106c4ddfa63fe98609209e7a3b78
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-09-13 10:24:38 +02:00
Topi Reinio
505eb9e3a8 coin: Update provisioned qdoc, qtattributionsscanner binaries
Latest qdoc introduced a new command (\modulestatus) as well as other
fixes and improvements.

Pick-to: 6.4
Change-Id: Idcbd96bc1ec17c81d51c2413f6435ee1b7e12946
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2022-09-12 10:14:34 +02:00
Heikki Halmet
1661a1c50c Fix link to common protobuf script
Protobuf script name was renamed recently

Change-Id: I9bafc35524a5bf89ca5d91b7649eb6641845792c
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2022-09-12 10:01:49 +03:00
Heikki Halmet
1a499546a3 Add Red Hat 9.0 to Nightly Builds
Task-number: QTQAINFRA-5111
Change-Id: I4f3871795a663f479d7a417405c48635725fdcae
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-09-08 15:56:44 +03:00
Alexey Edelev
134c07923c Rename protobuf provisioning scripts
Use correct protobuf project name for provisioning scripts.
This also should trigger provisioning for all the involved platforms.

Change-Id: I4cfa74c1d41f497db528ee3ae152db1d51de821a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-09-08 10:27:57 +02:00
Alexey Edelev
ad84c5cb8a Update protobuf provisioning scripts
Enable protobuf provisioning for all linux platforms, since it's
required to build qtbase with protobuf support.

Delete install_protobuff for macos 10.14 since it's not used and
wouldn't build without special casing.

Change-Id: I9c7dea876c45dbcbfc3110b106ae683bbe9179ec
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-09-08 10:27:54 +02:00
Mårten Nordheim
b09cac4448 Build & install protobuf on windows
Change-Id: Ic66bf6afba3ca53e13bfcd079471658eacfb528e
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2022-09-07 14:22:17 +02:00
Pasi Petäjäjärvi
08ba3ff882 CI: Use TCP protocol by default when mounting on QNX qemu
Ubuntu 22.04 has entirely disabled using UDP protocol for NFS mounting
support and QNX mount command uses that by default.

https: //discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668

Fixes: QTBUG-104229
Pick-to: 6.4 6.3 6.2
Change-Id: I9457153ca524009bc7358346a873b8842a65c50a
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-09-07 13:00:02 +03:00
Toni Saario
2056362e26 Remove dummy test instructions
These cause Coin to spawn VM for setting one env variable.

Change-Id: Ie782edc11382dace7a22ac16b1c58a2e9d26905f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-09-07 07:18:05 +00:00
Simo Fält
c58560db14 Provisioning: Disable application reopen after reboot
This is required with physical Mac machines.

Task-number: QTQAINFRA-5094
Change-Id: Ic1fad436d76d04e1dbce778f57bb69d8124548e7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-09-06 09:11:04 +03:00
Qt Submodule Update Bot
3954a2d69d Update submodules on 'dev in qt/qt5'
Change-Id: I24b8a901bb05f69f636295883642610b093f573a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-09-04 04:04:52 +00:00
Johanna Äijälä
6754cb362a Provisioning: update Squish 7.0.1
Update Squish to 7.0.1, include versions with Qt6.3 and 6.2 support.

Pick-to: 6.4
Pick-to: 6.3
Change-Id: I2bd7cd51a41befdbf2ef242eb72c2c2add84f733
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-09-04 07:04:51 +03:00
Liang Qi
e679091f50 Provisioning: Install xcb-cursor libs and headers
Task-number: QTQAINFRA-5067
Change-Id: I8199eb36868cdb66baf4228d5cd3e7fa627acf76
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-09-03 09:11:23 +02:00
Assam Boudjelthia
8cc7a5f450 Coin: Add Android OpenSSL scripts to macOS 12 provisioning target
Fixes: QTBUG-105594
Pick-to: 6.4 6.3 6.3.2
Change-Id: I4980f27e216c627c1675d04ed1bb5f5b9d62f2c0
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-08-29 04:35:51 +00:00
Tor Arne Vestbø
ffd7bc3bd7 coin: Prepare for removing macOS 10.14 as a supported deployment target
Change-Id: I9fcee3df2d9bfeb8f920df8a30e3e1b556874fd4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-28 23:01:28 +00:00
Tor Arne Vestbø
3a0ea2804d coin: Skip default configs in macOS 13 nighly builds
We don't need the license check when verifying macOS 13 compatibility.

Change-Id: Ib39e187ae339c0754719773f8317ead17328f201
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-29 01:01:19 +02:00
Tor Arne Vestbø
d3867057b9 coin: Install local Homebrew formulas explicitly as formula
Otherwise we end up with scary warnings like:

Error: Failed to load cask: ./coin/provisioning/common/macos/libiodbc.rb
Cask 'libiodbc' is unreadable: wrong constant name #<Class:0x00007fb4f589d2d8>
Warning: Treating ./coin/provisioning/common/macos/libiodbc.rb as a formula.

Pick-to: 6.4 6.3 6.2
Change-Id: Ief1b78c70367c740ce7eeca9110c3cf41372f53a
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-08-29 01:01:00 +02:00
Heikki Halmet
97f8d33586 Remove SLES 15 SP3 from CI
SLES 15 SP3 will be replaced by SLES 15 SP4

Task-number: QTQAINFRA-5068
Change-Id: I60f0ec02d71d1db162f1238df7ad853ff0df2d6e
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2022-08-28 09:12:37 +03:00
Heikki Halmet
a5b9ca03e1 Add SLES 15 SP4 to CI
Python-xml library was dropped out - not supported anymore.

Task-number: QTQAINFRA-5068
Change-Id: I6695b4456279143839c38637a5e67a754cafae19
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2022-08-28 09:12:33 +03:00
Tatiana Borisova
41f0e6d7b0 Exclude timezone functionality from INTEGRITY build
- Device doesn't support full functionality

Pick-to: 6.3 6.4
Change-Id: Ie0293e9d1ec9c5500e2c63e0c7ff8cc32015a454
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-08-26 19:39:14 +00:00
Heikki Halmet
d4602891f2 Update Xcode version to 13.2.1 for macOS 11
This is needed for QTQAINFRA-5109

Task-number: QTQAINFRA-5109
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: I49dafa26ef2aafe6e1c9f9cab87486675283c305
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-08-26 22:30:43 +03:00
Ville-Pekka Karhu
c310e97097 Add provisioning for ARM macOS 13 beta
Task-number: QTQAINFRA-5066
Change-Id: I0ff36bea066b51e086b10b817769ca3f22190201
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-08-23 09:45:37 +03:00
Heikki Halmet
73234745bb Add Ubuntu 22.04 to Nightly CI
Targets will be non-blocking and only in nightly run for now

Task-number: QTQAINFRA-4926
Change-Id: I7b229c1ccc34da4f1843dac3c25e19f7df819489
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-23 07:56:38 +03:00
Heikki Halmet
5af40232de Include needed Platform dependency for nightly QNX_710 windows target
Change-Id: I753245ae5641a45286c394cfb2696da6796d664d
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-23 07:56:35 +03:00
Heikki Halmet
337a90e6dc CI Nightly: Add macOS 13 Beta with TestOnly feature
Task-number: QTQAINFRA-5058
Change-Id: I9cc318e90c1f77ff5c27f408a3a3239f1b1e8a5f
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-23 07:56:33 +03:00
Heikki Halmet
f794796984 Fix rmt client setup to repo-clones
Change-Id: I36d8f24b19135345a2829e7521585c0cba9fc41f
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-08-21 21:22:17 +03:00
Heikki Halmet
0507008ff6 Provisioning: Update MSVC 2019 version to 16.11.18 in Tier 1
Older version seems to have issues with installer when updating
the visual studio and buildtools versions through installer via
command line.

Task-number: QTQAINFRA-5090
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: Iaec5391ed7bc9780374a7f971624522dae2feee6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2022-08-17 08:32:21 +03:00
Volker Hilsheimer
aab85286b7 Fix calling of script creating shared folders
The calling script for each platform missed the leading ". " so
powershell never executed the script. Sadly, provisioning still
succeeded.

Add some log output to the script doing the work to verify that
the file system is what is expected to be at the end. If it's not,
then the cd'ing into the shares will fail and the script will
return with a non-zero exit.

Pick-to: 6.4
Change-Id: I8fe85c7e202132525876cdddf41750732f69aaf9
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-08-17 06:25:55 +02:00
Simo Fält
e8495fc86e Add wrapper for sccache command in Linux and macOS
The sccache tends to fail every now and then. Adding a wrapper
which calls build tools directly if first call with sccacche fails.

Task-number: COIN-740
Pick-to: 6.2 6.3 6.4
Change-Id: Ic03cf991da585d1569387118183763497ea73b72
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-12 07:45:00 +00:00
Simo Fält
a992ba9205 Provisioning: Remove git installation from macOS 10.14
The script uses homebrew which does not support 10.14 anymore and it
fails. The git was installed due to Conan, but with TestOnly config
it does not need git.

Task-number: QTBUG-105554
Pick-to: 6.2 6.3 6.4
Change-Id: I542780d32ebd7054c75a6afa357b3fac898b93cb
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-08-12 07:34:55 +00:00
Alexey Edelev
c0ecadc049 Use macOS version from the packaging rules to build Qt
Use macOS 12 as the building platform for Qt. macOS 10.14 will be
deprecated as the building platform in Qt 6.5.

Pick-to: 6.4 6.3 6.2
Change-Id: I14d850a489efced84aa1e7e294d2ae75f5efa3de
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2022-08-05 09:49:39 +00:00
Tor Arne Vestbø
860bd111e2 coin: Build and test iOS on macOS 12
Ensures a recent Xcode version is used.

Pick-to: 6.2 6.3 6.4
Change-Id: I15b82417d336af3ea9ad385bd6d1f4e08d64c6c0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-08-04 11:58:35 +02:00
Qt Submodule Update Bot
2935818781 Update submodules on 'dev in qt/qt5'
Change-Id: I35953f78c1aa6a158591cb1edcb00286f30d2f45
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-28 21:22:02 +00:00
Piotr Srebrny
51c663d171 Build static FFmpeg library on macOS
This patch modifies linux/ffmpeg-install.sh to work also for macOS.
The FFmpeg libraries are installed under /usr/local both for Linux
and macOS.

Since macOS x64 does not have the lzma lib for arm64 architecture
installed by default, I disable this libraries for FFmpeg. This
only affects the TIFF image decoder that we do not use.

Added the execute permission to the ubuntu scripts.

Change-Id: Ib8623c6a9bcdd24c89045ede0494839fb9cd2ecc
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-07-28 09:56:16 +02:00
Qt Submodule Update Bot
e1d4acf4b0 Update submodules on 'dev in qt/qt5'
Change-Id: I018a3010f7dfb80a1d887703d4b213b36bed848c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-27 00:15:28 +00:00
Simo Fält
b830beb222 COIN: Replace macos-12-arm64-tests with x86_64 in default precheck
There is a shortage of arm based Mac machines in CI so we have
to spare the resources for now.

Pick-to: 6.2 6.3 6.4
Change-Id: Ifda8d6fb5ef3224dd001c6bdf2cf2cd14b8cff8a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-21 14:10:01 +03:00
Axel Spoerl
aa9095d4cd Harden cache delete script and extend to all Linux CI platforms
Log script activities and deleted toplevel cache files/directories.
Use sudo to override permissions in cache.
Remove legacy single file based cache if it exists by error.
Create cache directory with appropriate permissions if missing.

Pick-to: 6.4 6.3 6.2 5.15
Change-Id: Id6ad930bf8ba9233eeea8a7602d25c98d0058409
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-07-20 16:23:58 +00:00
Simo Fält
b794125ee9 Enable QtMultimedia FFmpeg plugin build in packaging configs
Change-Id: I932baddbd940df945e07cdfcb298dc6095b45f69
Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
2022-07-20 07:46:32 +03:00
Axel Spoerl
aa6a82d990 Implement cache cleanup script for openSuSE
Provisioning openSuSE VMs with a populated /home/qt.cache creates
flaky crashes of plasmashell during KDE/Plasma startup.
This scrip wipes the directory at the end of provisioning

Pick-to: 6.4 6.3 6.2 5.15
Fixes: COIN-897
Change-Id: If61f86843e7b81dfee85610b1cd73bb15ce26658
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-20 01:48:56 +00:00
Ivan Solovev
a0a56986e5 qt5: update qtlocation sha
qtlocation is an ignored module, because it's not yet officially
supported in Qt 6. However, it is checked out when someone clones the
repo and wants to build Qt from sources.
The sha of the checked-out commit for qtlocation is very old, the repo
contains both qtlocation and qtpositioning sources at that revision.
It is causing configuration errors, because we now have qtpositioning in
its own repo, so we get duplicated targets.

This commit bumps the revision of qtlocation submodule to the current
dev HEAD. This will eliminate the configuration problems.

Change-Id: Ia5de4d1357ea657b42465e473d5b6e02a2bb6f30
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-19 18:02:46 +02:00