aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Add Docker for macOSHeikki Halmet2023-01-125-0/+91
| | | | | | | | | Needed by RTA tests Pick-to: 6.5 6.4 Task-number: QTQAINFRA-5171 Change-Id: I26ac10421ba32d68ffdef523fd97f710cd6bcaab Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Provision FFmpeg library for AndroidSamuel Mira2023-01-112-8/+111
| | | | | | | Pick-to: 6.4 6.5 Fixes: QTBUG-100474 Change-Id: I5cc6f645bd020628bc6a77d4a5d42575f4fcf979 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
* Start using OpenSSL 3.0.7 in CIHeikki Halmet2023-01-1011-39/+61
| | | | | | | | Task-number: QTQAINFRA-4889 Change-Id: I3e335395762710d520ca93a5996d1b21d202ed4e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Suppress warnings from Integrity buildsTatiana Borisova2023-01-081-1/+1
| | | | | | | | | | | We are seeing ~200 000 compiler warnings coming from Integrity compiler not seen on other compilers. Suppress these as a hotfix reduce the load on CI. Change-Id: Ibd0a47b1c5f2b6ce2612fc1c466096a032cc9a65 Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Update default python3 version in winSimo Fält2023-01-064-13/+11
| | | | | | | | | | | Change amends 95e9f8da9ae84858e58af659735cc43d177af12e after new version of win templates were introduced. Pick-to: 6.4 6.5 Change-Id: Idd370025201c66e3da5a3bde71573ad8461c4164 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Change to use sha256 signed opengl32 mesa dll filesHeikki Halmet2023-01-021-6/+6
| | | | | | | Pick-to: 6.5 6.4 6.2 5.15 Task-number: QTBUG-108774 Change-Id: I7d2716aa23215b783365c293c968aeeef6626126 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Provisioning: Update default python3 versionSimo Fält2022-12-296-17/+12
| | | | | | | | | Removing python3.6 and replacing it with more recent versions. Pick-to: 6.4 6.5 Change-Id: If8cd4c369e4fc9ff8dc7d53865b80b588f278091 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
* Provisioning: Install missing perl-FindBin package to rhel9Simo Fält2022-12-281-0/+2
| | | | | | | FindBin.pm was moved from perl-intepreter package to separate package. Change-Id: I6e889555f573a7dc9ae3d736d9b1c014eb6da656 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* wasm: update emscripten to 3.1.25Morten Sørvig2022-12-282-2/+2
| | | | | | | | Qt 6.5 will require emscripten 3.1.25 Change-Id: I23e0d0b6951a4d69aa431710114ec2c06f7afcc3 Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add RHEL 9 to CIHeikki Halmet2022-12-232-16/+41
| | | | | | | | | This will replace RHEL 8 Task-number: QTQAINFRA-5111 Change-Id: Ib65e9b7a2afa85418d5113261bc83ba915b2bce0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Provisioning: Upgrade Xcode version to 14.2 for macOS 12 & 13Heikki Halmet2022-12-206-9/+9
| | | | | | | | | | Change also upgrades command line tools Pick-to: 6.4 6.2 5.15 Change-Id: I6cdceba07dcecf5b0be394dc147c16e084800763 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* coin: Remove macOS 10.14 provisioning scriptsTor Arne Vestbø2022-12-1344-711/+0
| | | | | | | They are no longer used by any configuration for 6.5 Change-Id: I14c41f0b66b52670dfe86f5bb975bc3665bb5a98 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Add provisioning for gRPCKonrad Kujawa2022-12-0713-0/+787
| | | | | | | | | Add provisioning scripts to install gRPC. gRPC is requirement to build QtGrpc Task-number: QTBUG-105492 Change-Id: I1a6d008a1d2c1616000909aacdb721401f706168 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Bump macOS minimum deployment target to 11 for 3rd party dependenciesAlexey Edelev2022-11-293-4/+4
| | | | | | | | 3rd party dependencies should be built using the same minimum deployment target as Qt uses for compatibility. Change-Id: I2edb2c19b90757898f6dcb76ad60602ae2249ebc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Provisioning: MSVC 2019 update: Add Vswhere helper functionOliver Wolff2022-11-281-6/+48
| | | | | | Pick-to: 6.4 6.2 Change-Id: Idd6bf24450d9447c38c39c64abff5b55d71c12b9 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Pin mesa-libEGL and mesa-libGL versions for RHEL 9Heikki Halmet2022-11-271-2/+3
| | | | | | | | | Version 22.1.5-2.el9 cause crash with Xorg during bootup. Older version seems to work correctly Task-number: QTQAINFRA-5302 Change-Id: I470ce3d3a9941b17c6e6c31778bc1ee91659e5a5 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add qtattributionsscanner binaries built on Ubuntu 22.04Heikki Halmet2022-11-262-5/+3
| | | | | | | | Libicu66 installation can be removed now Task-number: QTQAINFRA-4926 Change-Id: I3c8b67e9445c1268aeaf16bf1539cabb50b2cf86 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* CMake: Update provisioned CMake to version 3.24.2Alexandru Croitor2022-11-263-9/+9
| | | | | | | | | | | | | | | | | | | | Needed to fix iOS Xcode generator builds when using Xcode 14. Otherwise compiler identification fails due to a code-signing error. We hit it in our iOS MinimalStaticTests configuration. error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. (in target 'CompilerIdCXX' from project 'CompilerIdCXX') See https://gitlab.kitware.com/cmake/cmake/-/issues/23719 Amends eee152ca704d501189905122a904255f581b3256 Fixes: QTQAINFRA-5044 Change-Id: Idabd78e6e28816a8fc4dd7e627de82f2c622c54e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add the missing protobuf provisioning script for MacOS 11 x86_64Alexey Edelev2022-11-251-0/+46
| | | | | | Change-Id: I5c607a05b2f040e90cc0c4a2220d8565881c4983 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
* Adjust CMAKE_OSX_DEPLOYMENT_TARGET for protobuf package across MacOS platformsAlexey Edelev2022-11-251-1/+1
| | | | | Change-Id: Ie9f1b2273c437016fd51173e330a5df4cc924ebc Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Add optional dependencies for QtWebEngineAllan Sandfeld Jensen2022-11-242-1/+10
| | | | | | | To better use system libraries and reduce the size of webengine libs Change-Id: I626327e123ee93bc25f5b40d5adbdffa6dfb772d Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Make bootstrap autostart run without terminalHeikki Halmet2022-11-247-0/+144
| | | | | | | | | | | | | | | | | Terminal in UI might cause issues with Autotest This patch makes bootstrap-agent run in a background shell wrapper. The wrapper waits 20secs for the VM's network to come up and exits with an error if it doesn't. After that it waits for 20secs for the context image to be mounted. If no context image is mounted after that, it waits for one minute and makes one mounting attempt, before launching bootstrap-agent with or without context. Pick-to: 6.4 6.2 Task-number: COIN-966 Change-Id: I9a3e490325d1fd7c0583b6d5db5eb2023e042571 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Add diffutils to msys2Artem Dyomin2022-11-241-1/+1
| | | | | | | | cmp command is used by ffmpeg ./configure Pick-to: 6.4 Change-Id: If80664d6c3318b7605c69d50e7606a1ec10840ea Reviewed-by: Lars Knoll <lars@knoll.priv.no>
* Enable llvm-mingw ffmpeg windows buildArtem Dyomin2022-11-241-44/+78
| | | | | | | | | | | | | | | - Added build of ffmpeg for llvm-mingw - Improved build errors handling - Refactoring: decompose script into a few functions Build example: https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1668780311363 See tests for LLVM-x64, they passed Pick-to: 6.4 Change-Id: I59fe28ba6eb8e65ef5c4c3d08343ff72f349bd21 Reviewed-by: Lars Knoll <lars@knoll.priv.no> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add universal libusb binaries to macOSSamuli Piippo2022-11-242-0/+22
| | | | | | | | | | | | | | | | Brew does not support universal binaries, but provides separate amd64 and arm64 packages. We need to add arm64 binaries for libus, so that the universal builds work also for QDB. Use brew to fetch both architecture packages and use them to create universal libs for the libusb. Remove from macOS 10.14, add to macOS 12 arm. Task-number: QTBUG-107457 Pick-to: 6.2 Change-Id: If19fd6d303a20d8742c88ea11d5b30cc55f45d6b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Update Protobuf to 21.9 versionKonrad Kujawa2022-11-232-6/+6
| | | | | Change-Id: Ia25251b87ea993f47046b9cfff3d0b024b57277f Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Fixup protobuf provisioning scripts on linux machinesMårten Nordheim2022-11-234-1/+139
| | | | | | | Amends 134c07923cc1a29e1a4e749cfde9d6067ffd4266 Change-Id: I53ddfc390068dd7ed5ab3867c632027c0b9b24f2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Provisioning: Restore qdoc/qtattributionsscanner binaries on Ubuntu 22.04Topi Reinio2022-11-182-0/+75
| | | | | | | | | The binaries were built on Ubuntu 20.04 and need a specific version of libicu to work. Temporarily install libicu66 to be able to use common binaries on both 20.04 and 22.04. Change-Id: Ibb0bec24f1451ec48a79c6c978256c9d1474adee Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Add Windows 10 22H2 to CIHeikki Halmet2022-11-1876-0/+344
| | | | | | | | | | | | Pre-installed to tier 1: MSVC 2022 17.3.6 plus build tools MSVC 2019 16.11.20 plus build tools MSVC 2015 update 3 14.0.25420.1 Task-number: QTQAINFRA-5262 Change-Id: Ibcc2950dd7edef0d6aa92cef7e602a69da8498d9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add Windows 11 22H2 to CIHeikki Halmet2022-11-1874-0/+339
| | | | | | | | | | Windows 11 21H2 will be replaced by 22H2 version Task-number: QTQAINFRA-5203 Pick-to: 6.4 Change-Id: Iad18055cf84d9c1ff38984611c820b1c23d663a2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* Update QDoc libclang to 15.0.0Luca Di Sera2022-11-172-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `libclang_version` variable is now updated to the current version, 15.0.0, in both "coin/provisioning/common/unix/libclang.sh" and "coin/provisioning/common/windows/libclang.ps1". The naming of the artifacts for the provided library was slightly changed from previous versions. Before, the version number would contain two integers separated by a dot. The generated artifact would be named after this version number, with the dot removed. That is, for example, for version 12.0, a release artifact would be called "libclang-release_120.*". The updated two version uses a three segments version number and, furthermore, the artifacts name do not collapse the separating dots such that a release artifact would be called "libclang-release_15.0.0.*". To support the new naming scheme, some processing was removed from both provisioning scripts. For Windows, the line removing all dots from the `libclang_version` variable was removed. For Unix, the removal of the dots in the `libclang_version` variable when expanding the variable to generate the target urls to retrieve the artifact was removed, using the bare value of the variable itself. For Unix provisioning, the artifacts for some of the platform, namely "CentOS" and "Ubuntu 22.04", are not provided anymore. "CentOS" was replaced by "Rhel8.4" on "gcc10.0", hence the target url for the redhat platform was modified based on the new name. The "Ubuntu 22.04" artifacts were not provided, such that the platform was removed. The sha1 of the target artifacts on both provisioning script was updated for all platforms. Task-number: QTBUG-107199 Pick-to: 6.4 Change-Id: I873680825b0953e897c610fb0b47f3cd90625646 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* coin: Update provisioned qdoc, qtattributionsscanner binariesTopi Reinio2022-11-171-2/+2
| | | | | | | | | | | | | | Update qdoc to a version that queries system include paths from the compiler, avoiding spurious documentation warnings in some environments. Update qtattributionsscanner to a version that fails the documentation build on incorrect input, i.e. incorrectly formatted qt_attribution.json files. Pick-to: 6.4 Fixes: QTBUG-108353 Change-Id: I3a64f7810cddafcbf9de66bd1d848c18f5677ad0 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Provisioning: Remove MSVC 2019 build tools updateHeikki Halmet2022-11-151-3/+5
| | | | | | | | | | Running vsinstaller twice seems to cause problems. Second installation get stuck and it can't be used again. Seems like somethin get corrupted. Pick-to: 6.4 6.2 5.15 Task-number: QTQAINFRA-5090 Change-Id: Ic638879ea2f70bc74c028bff24daceb50e98480d Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* provisioning: Check successful installation of MSVC 2019 updateOliver Wolff2022-11-101-0/+10
| | | | | | | | | | Using vswhere we can make sure if the MSVC 2019 update finished with the right version. For further safety we check, if the installation is complete and launchable. Pick-to: 6.4 6.3 6.2 5.15 Change-Id: I90e84bf4922647b4ff30ba93a207b9d5e1a96120 Reviewed-by: Simo Fält <simo.falt@qt.io>
* provisioning: Make sure that MSVC 2019 version is added to versions.txtOliver Wolff2022-11-101-1/+2
| | | | | | | | | | | If MSVC 2022 is installed in CI machines, vswhere -latest without any additional version information will return the latest version of 2022. By limiting the version range (>=16, <17) we make sure that only the latest version of MSVC 2019 is returned. Pick-to: 6.4 6.3 6.2 5.15 Change-Id: I8f92099f030660c1914ffb728efc9a55eadf4808 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix ffmpeg build on windows CIArtem Dyomin2022-11-101-1/+1
| | | | | | | | | | | | | | | | | Ffmpeg was not compiled because of failed yasm installation on msys2. The installation failed due to checking pgp signatures. Current fix adds keys refreshing that fixes the problem (checked on CI and on local machine) Note, currently the ffmpeg build works with msvc and mingw, additional settings for llvm should be added in next commits. Build example: https://testresults.qt.io/coin/integration/qt/qtmultimedia/tasks/web_qt_qtmultimedia_1667916985085 Pick-to: 6.4 Change-Id: Iff305e896bfb382c0c4030235cc2ad942cbbc002 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
* Provisioning: Update Xcode version to 14.1Heikki Halmet2022-11-096-8/+8
| | | | | | | | Command line tools are also updated Pick-to: 6.4 Change-Id: Ic1d0882d395e014a4f33ed139c90800b3ba71cbf Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Add Android 12 emulator for CI testingAssam Boudjelthia2022-11-091-2/+5
| | | | | | | | | | | | | | | Add Android 12 emulator to make sure tests are verified on a recent Android release. Android 12 has only x64 emulator version from sdkmanager and x86_64 is better in any case. This patch only adds the emulator, but doesn't enable its use, that is done under another patch. Task-number: QTQAINFRA-4748 Task-number: QTQAINFRA-4733 Change-Id: Ic1569fb1afa5b2d02e6eadea1d9a8eac0a378d98 Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* wasm: Add actual emscripten installation to path in coinDavid Skoland2022-11-091-4/+7
| | | | | | | | | | | I'm not sure where the emscripten-$version came from, maybe that's how it used to be? In any case, in the current version (3.1.x), the installation folder is in upstream/emscripten, so add PATH there to access all emscripten utils. Pick-to: 6.4 Change-Id: I648feae21bc5caecc3f0bf0a7d16238680a85590 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Add openSUSE LEAP 15.4 (KDE) to CIHeikki Halmet2022-11-0422-0/+620
| | | | | | | | | | | Graphichs Platform: X11 (System default) in image with suffix 50 Graphics Platform: Wayland (Plasma (Wayland) in image with suffix 51 Pick-to: 6.4 6.2 5.15 Task-number: QTQAINFRA-5049 Change-Id: If4b208bc12bd272c757aac61ffc9ef7a88df8f7c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Provisioning: Fix for checking the installed Android openssl versionHeikki Halmet2022-11-021-1/+1
| | | | | | Pick-to: 6.4 Change-Id: I2b180772da0e16aa69c7044eacc9c8ee617c6217 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Pre-provisioning RHEL9: Make needed changes for autotestHeikki Halmet2022-11-012-53/+5
| | | | | | | | | | | | | | * Disable all notifications * Disable Hot corner and windows key from showing the GNOME Shell Activities overlayfeature. * Switch to use GNOME Classic: Autotest start failing because terminal session remains in Activities Overview when using Standard (wayland display server) Task-number: QTQAINFRA-5111 Change-Id: Id0cd7e53cfad08313b9c0b622f2f9de8240448f3 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning macOS 13: Upgrade Xcode version to 14.1_Release_Candidate_2Heikki Halmet2022-10-272-3/+3
| | | | | | | This will also upgrade Command line tools Change-Id: I9425170ceb2f09ec74fdb70ab6101804aa1d31fe Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Update LLVM MinGW to 15.0.0Tony Sarajärvi2022-10-173-20/+20
| | | | | | Task-number: QTQAINFRA-5214 Change-Id: I5ae09182dfbafdeaa8d23acf3d7c9cca0ca5f108 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove protobuf provisioning for x86 windowsMårten Nordheim2022-10-171-2/+0
| | | | | | | | Since it's not used in any way for building Qt and breaks provisioning where it is used. Change-Id: Ib20e24274498c8b55658ac409f9644ce3c598864 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update Android NDK to version r25bMatti Paaso2022-10-1710-17/+17
| | | | | | | | | | Update NDK to version r25b and prebuilt openssl 1.1.1m built with it. Change log: https://github.com/android/ndk/wiki/Changelog-r25 Task-number: QTBUG-105397 Change-Id: I501f43066e7ba8af8a57efdbee6c4a625bb80852 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Provisioning: Update to Xcode 14.1 beta 3 on macOS 13 ARMVille-Pekka Karhu2022-10-132-3/+3
| | | | | Change-Id: If7cacf8118fff3e7e14d4cad68c886732d54d4c5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Install patchelf on openSUSE 15.3Joerg Bornemann2022-10-121-0/+3
| | | | | | | | | On this platform we test CMake 3.16, and for that we need the patchelf tool. Otherwise, the CMake deployment test will fail when trying to set rpaths. Change-Id: I2418390ba0776a19c5ab19042f3b8c4e12db6ecb Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Provisioning: Update to Xcode 14 on macOS 12 IntelVille-Pekka Karhu2022-10-112-5/+5
| | | | | Change-Id: I95e0c590b74f14aec4fd16a104e429a64c442414 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Provisioning: Use OpenSSL 3 version with Red Hat 9Heikki Halmet2022-10-112-1/+99
| | | | | | | | | OpenSSL 3 is default version when installing OpenSSL with yum. We need to use OpenSSL 3 also with Android Change-Id: If283c68d00d9a41131044fe245b5e84b39fd4744 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>