aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* GitHub actions: Bump Xcode version to 14.3v2.0.22.0Ivan Komissarov2023-06-071-21/+30
| | | | | | | And remove old 12.5 job. Change-Id: I96a990e9417603d19dc841546e858f9b68665f25 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: bump Qt version for iOS to 6.5Ivan Komissarov2023-05-301-2/+2
| | | | | Change-Id: I4e8d4374d6335b0ccb288ef692cca4003563e082 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: Update Qt on Windows to 6.5Ivan Komissarov2023-05-051-6/+6
| | | | | Change-Id: I47c9e736e3a453660379c14276922103c3bf5daf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: bump Qt versions on mac to 6.5.0Ivan Komissarov2023-05-031-7/+14
| | | | | | | | ... and on iOS to 6.3.2 since newer versions are not supported yet. Change-Id: I7f021bedc59d7ae25793830db1e27f5f4a6f0a24 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: bump Xcode version to 14.2Ivan Komissarov2023-05-021-10/+10
| | | | | Change-Id: Ia650a42f6b88fd8eceb1bf24663baeee17835e35 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* grpc: Fix macOS CI againChristian Kandeler2023-03-171-1/+1
| | | | | Change-Id: I224ace97588400f540f155eed68495345f1d55a9 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Protobuf: Let users provide extra grpc libs for linkingChristian Kandeler2023-02-161-0/+1
| | | | | | | ... and make use of that in the CI. Change-Id: I7e246e265a311ba24ebd6cde808445039d4c3e93 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Build Qbs with Qt 6 by defaultIvan Komissarov2023-02-151-25/+20
| | | | | Change-Id: I78ca74c27ccea64331a0995a0e611b8c79411fcb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: add UBSAN jobIvan Komissarov2023-01-311-0/+10
| | | | | Change-Id: Ib98b51305b491f3c1b54af2bf03738df08c5f789 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: make ASAN build a separate jobIvan Komissarov2023-01-101-1/+10
| | | | | | | | | | We might want to add UB sanitizer job in the future. Also, this should speed up linux test jobs such as Android that currently use ASAN binaries. Change-Id: I277c5d2713d88b5e706f76b7a098f82d3f9483f2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RIP QMake buildIvan Komissarov2022-12-161-7/+0
| | | | | | | | | | We have been supported CMake build for quite some time so users should have plenty of time to adapt. Ubuntu, Brew and macports also use CMake for building QBS. Change-Id: Ib78177f4a7ca8cdea1a2f3a8eac8bfe804674f32 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: Bump Xcode versionIvan Komissarov2022-11-021-19/+20
| | | | | Change-Id: I490133c1c4b25752142f2b82a9878394cad1b885 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: print all threads on crashIvan Komissarov2022-10-271-1/+1
| | | | | Change-Id: I3c72d98147ebe4b4d61512a87c9bc72effe6b431 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: select default xcode before running testsIvan Komissarov2022-10-271-0/+8
| | | | | | | | | | | | | | | Some tests, such as TestBlackbox::minimumSystemVersion or TestBlackbox::emptyProfile use the default Xcode version instead of the one specified by the profile. This leads to fails of those tests with very old/new xcode versions. Fix that by making sure that the default Xcode is the same as the one specified via profile. Change-Id: I6d741ece7924d836c1fc66b496fe135bb47de72e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix macos runner nameIvan Komissarov2022-08-291-2/+2
| | | | | | | | It's macos-11, not macos-11.0, see https://github.com/actions/runner-images Change-Id: I336faf2c055a8b63b0fd0e1b0af8c4224f42dc2c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: also run iOS tests with XCode 13.4.1Ivan Komissarov2022-08-241-1/+1
| | | | | | | This amends 1f751bf3ee3d14d9018b14528100238d018e9f2e. Change-Id: I03580e3ad22bc8d4c76565389980f74bb6aa97d6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: do not fail Windows buildsIvan Komissarov2022-08-221-0/+1
| | | | | | | ... if pkgconfiglite fails to install. Change-Id: If4999bdf032f55015fe3fb17ffb229ac570c91e7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: use XCode 13.4.1 instead of 13.4Ivan Komissarov2022-08-221-3/+3
| | | | | Change-Id: Ia630278077856643a07c0b7671f6b048e4720342 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Merge branch '1.23' into masterIvan Komissarov2022-08-221-2/+0
|\ | | | | | | Change-Id: I1640aa670bd12be70b794286deda4d420bb491df
| * GitHub actions: do not install pkgconfig into baremetal testsv1.23.21.23Ivan Komissarov2022-08-211-2/+0
| | | | | | | | | | Change-Id: I48238045173213a48f64ec4f047fd3a9d3ad63ea Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* | Update focal-qt6 image to Qt 6.2.4Ivan Komissarov2022-08-101-2/+2
| | | | | | | | | | Change-Id: I098072d593d927d52b56e06d48e3fbe018c072a4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | GitHub actions: enable sanitizer for the Qt6 buildIvan Komissarov2022-08-091-2/+2
| | | | | | | | | | Change-Id: I1222e7d9a49439d6f0067ae2b1e38da113bb3faa Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | GitHub actions: Update Windows jobsIvan Komissarov2022-08-081-5/+5
|/ | | | | Change-Id: I22bee562fd134ff128a73448ac06878cb2357811 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update static docker image to Qt 6.3.1Christian Kandeler2022-08-021-1/+1
| | | | | Change-Id: I6ebb9976cd003e9d1a6bbf0a16730088c4c4fb8c Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* GitHub actions: Update macOS jobsIvan Komissarov2022-07-281-20/+20
| | | | | | | | | | Also, remove XCode 10.3 because macos-10.15 runner is deprecated. Cherry-picked f169b258e95e329d81c42ddfd65b084fd97e47ef. Change-Id: I680c996ae1de63ad9d75cdb15c185f7ac3d5e275 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix Windows CIIvan Komissarov2022-02-241-3/+3
| | | | | Change-Id: I982d647067155820ae51b707aa4b303ee64fe4ff Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for other platforms supported by Digital MarsDenis Shienkov2022-02-171-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the following target platforms: * DOS - both 32/16 bit. * Windows - 16 bit. Also, more specifically, the target is controlled by the `cpp.extenderName` property, which is the DOS extender to use. The Digital Mars support the following DOS extenders: * Rational 16 bit DOS Extender * ZPM 16 bit DOS Extender * DOSX 32 bit DOS Extender * Pharlap 32 bit DOS Extender which have the following names `dosr`, `dosz`, `dosx`, `dosp`. The user can set any of the desired values in the `cpp.extenderName` property (also this property can be empty that means no any extender is used). Right now the `qbs-setup-toolchain` utility creates all possible supported profiles with the required pre-configured properties: Profile 'dmc-8_57_0-windows-x86' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-windows-x86_16' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-dosx-x86' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-dosp-x86' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-dosr-x86_16' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-dosz-x86_16' created for 'C:/dm/bin/dmc.exe'. Profile 'dmc-8_57_0-dos-x86_16' created for 'C:/dm/bin/dmc.exe'. Compiling with DOS extenders requires additional external utilities and libraries (depending on the extender type). Some of them are no longer available at the moment, so the tests in CI are only done for the `dmc-windows-x86`, `dmc-windows-x86_16`, and `dmc-dos-x86_16` profiles. Change-Id: I221d2995900c63605c8552b825bf0c4d55171f5c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Disable Windows Baremetal testsIvan Komissarov2022-02-091-1/+2
| | | | | | | We no longer have access to the VM and it was shutted down. Change-Id: I5ec6f09e10b87c9a4898ee5494dc42a9d9962371 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for other platforms supported by Open WatcomDenis Shienkov2022-02-091-2/+27
| | | | | | | | | | | | | This patch adds support for the following target platforms: * DOS - both 32/16 bit. * OS/2 - both 32/16 bit. * Windows - 16 bit. Also all these platforms covered in CI tests. Change-Id: Ie75d9203c50f4d61546b19328992ff0e107d9942 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Configure CI for Digital Mars compilerDenis Shienkov2022-02-081-0/+7
| | | | | | | ... and also as fix the typo in the DmcProbe.qbs file. Change-Id: I2f62b862b900c92be97c6eb6a9b461ac5973b8ea Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add Qt 6.3 Android image and update ANDROID_PLATFORMRaphael Cotty2022-02-061-0/+6
| | | | | | | | | | | | | Add docker image focal-android-630 and corresponding github action. Update ANDROID_PLATFORM to "android-30" because Qt AndroidManifest uses property allowNativeHeapPointerTagging (QTBUG-97009) since 6.2.1 which was added in API30. Also update android test because bug QTBUG-97834 was solved in Qt 6.3. Change-Id: Id45701433a779d2c6cb8dfdbfb0676e2daad6f88 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Long live Open Watcom toolchainDenis Shienkov2022-02-041-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds basic support for the Open Watcom toolchain. This patch uses the `owcc` compiler (supplied with the toolchain), which is a wrapper that supports the POSIX standard. Reason is that the native OW compiler and linker has a limitations in the command line arguments (e.g. they have wrong quotes handling and so on). This patch supports both the latest official version v1.9 and also its fork v2.0. Also added the CI autotests for the version v2.0 for the Windows host. These autotests only perform a limited number of tests (only the bare-metal tests) due to the following toolchain limitations: * The toolchain does not have STL support (there seems to be some kind of the partial support in the form of separate legacy STL ports). * The toolchain support something compatible with the C++98 standard. * The toolchain does not support the shared libraries on Linux hosts. These limitations make it impossible or unjustified to reuse most of the available tests (it requires a lot of work). There was also an attempt to set up CI for tests on Linux host, but for some reason the toolchain installer crashes on CI (although it works fine on a local PC with Ubuntu). Change-Id: Iecf76f51f0b09d31a89683f786b9cd7a825f235e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Add qt6 static docker imageRaphael Cotty2021-11-211-0/+6
| | | | | | | | Add qt6.2 docker image and github action Fixes: QBS-1534 Change-Id: Ia1675697fbd6bcbaabfafc11940bf5cb9447206b Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Android: Add android image for Qt 6.2Raphael Cotty2021-10-251-0/+6
| | | | | Change-Id: Ib48209643b755954f0f38c3f1bcfb487e23cf292 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* GitHub actions: fix macOS pipelineIvan Komissarov2021-10-211-4/+4
| | | | | | | Xcode version has been changed from 12.5 to 12.5.1 Change-Id: I8ab21a0982aeb0d426d20a378e22dc790a552cdd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add android testing with different ndk versionsRaphael Cotty2021-09-301-0/+18
| | | | | | | | | | | | | New docker images are added to test different android ndks. Those images don't have Qt so only a subset of the tests are run. So far I added 3 images: r23 (LTS), r21e (LTS) and r19c (minimum one). The other android images also have a new ANDROID_NDK_VERSION argument set to the r23. Change-Id: Iaa7c80b9cac1c7888b3297fac13333d22a9ad0bc Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* GitHub actions: bump Xcode version to 12.5Ivan Komissarov2021-09-201-22/+28
| | | | | | | | | Also, use fixed OS version for building Qbs - we don't want 'macos-latest' to be changed in the future. Also, run ios and ios-simulator tests with 12.5. Change-Id: I5345fb7b583c69b97299e6e695c17ac33026e13f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: add doc jobIvan Komissarov2021-09-201-1/+5
| | | | | | | | | | | This job monitors only changes in documentation files and uploads generated html files as a resulting artifact. Also, ignore changes in documentation files when running tests - this is more environment-friendly and saves a lot of time. Change-Id: I807a5a246d8b9527ada2e9e5cd23234b9278b1b0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: specify checksum for pkgconfigliteIvan Komissarov2021-09-171-1/+1
| | | | | | | Otherwise, download fails when HTTPS link is not available Change-Id: Id4590c60cef3a1776e5800f777d6e8728b84479f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add Qt6 build with QbsIvan Komissarov2021-08-011-0/+10
| | | | | Change-Id: Ic14e9d75f2c71d2f795598b6857ffbf105814ce8 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* baremetal: Long live COSMIC toolchain for COLDFIRE architectureDenis Shienkov2021-05-311-0/+3
| | | | | | | | | | | | | | | This patch adds support for Cosmic Software compiler for the bare metal platforms: * https://www.cosmicsoftware.com/download.php Note that this compiler only works on Windows host platforms. Also the COSMIC toolchain has been added to the Github CI. Fixes: QBS-1648 Change-Id: I39dfeef1c5696e69bed8969890cf4f8fdb3c2741 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Long live COSMIC toolchain for HCS12 architectureDenis Shienkov2021-05-301-0/+3
| | | | | | | | | | | | | | | This patch adds support for Cosmic Software compiler for the bare metal platforms: * https://www.cosmicsoftware.com/download.php Note that this compiler only works on Windows host platforms. Also the COSMIC toolchain has been added to the Github CI. Fixes: QBS-1640 Change-Id: I7ab0c8099437fce962632ff87177e37fd04f82d2 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Long live COSMIC toolchain for HCS08 architectureDenis Shienkov2021-05-291-0/+3
| | | | | | | | | | | | | | | This patch adds support for Cosmic Software compiler for the bare metal platforms: * https://www.cosmicsoftware.com/download.php Note that this compiler only works on Windows host platforms. Also the COSMIC toolchain has been added to the Github CI. Fixes: QBS-1641 Change-Id: I755fcd3b2a89d0d40fda8b7f9da3d72ee1918df5 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Long live COSMIC toolchain for STM8 architectureDenis Shienkov2021-05-281-0/+3
| | | | | | | | | | | | | | | This patch adds support for Cosmic Software compiler for the bare metal platforms: * https://www.cosmicsoftware.com/download.php Note that this compiler only works on Windows host platforms. Also the COSMIC toolchain has been added to the Github CI. Fixes: QBS-1639 Change-Id: Iffba0bc550c5d168fb453c7a325b2c9be06d4195 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Long live COSMIC toolchain for STM32 ARM architectureDenis Shienkov2021-05-281-0/+3
| | | | | | | | | | | | | | | | | | This patch adds support for Cosmic Software compiler for the bare metal platforms: * https://www.cosmicsoftware.com/download.php Note that this compiler only works on Windows host platforms. Right now this patch implements support for ARM architecture for STM32 microcontrollers. But in the future it is simple to extend it and for other architectures (e.g. for STM8, HC08 and so on). Also the COSMIC toolchain has been added to the Github CI. Change-Id: Iabdfd61cc427155117730db46e067004ceb07102 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* cmake: Add Qt6 buildIvan Komissarov2021-05-181-5/+7
| | | | | | | Also, switch Linux CMake job to build Qbs with Qt6 Change-Id: I188845a7cc086a8c87dbb7445ea95f99b26d94ef Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* cmake: Add bundled QtScript buildIvan Komissarov2021-05-181-0/+3
| | | | | | | | | | | | Also, make QtScript dependency optional like we do in the Qbs build. Tested on macOS, Linux and Windows. CMake 3.15 is now required for the CMP0092 policy which removes default warning flags from CMAKE_CXX_FLAGS. Change-Id: I199fb802d5ad72d1ac8d5a89c05372c43581c95d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: only run baremetal job when run by botIvan Komissarov2021-05-171-0/+1
| | | | | Change-Id: I3a235b3c2ba36778f0df76e9f777e3d053d855c7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix building debug infoIvan Komissarov2021-05-101-0/+1
| | | | | | | | | | This fixes building and arhiving the debug information. We do not build debug info in release build for now to avoid including it in the archive - it should be in a separate archive Change-Id: I01878676190b410b3b76c9bb477dd74bf4cdd767 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix path to mingw archiveIvan Komissarov2021-05-101-1/+1
| | | | | | | This amends 4206f5d2697729436bd9cfb7bfee869c275283be. Change-Id: I14b8df04783af0d5adb7aa98593ccaba8c2844bf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>