summaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.0' into masterIvan Komissarov2023-05-111-6/+6
|\ | | | | | | Change-Id: I0322637bf5e81873da34f36e108611b163076e5f
| * 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>
* | Merge 2.0 into masterChristian Kandeler2023-05-031-16/+23
|\ \ | |/ | | | | Change-Id: I521dd5baab4b4374f9221a163ba8e83531edf8bb
| * 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>
* | GitHub actions: Build release binaries without test codeChristian Kandeler2023-04-241-0/+3
| | | | | | | | | | Change-Id: I1addff78e199139b95b3dd6e904655adf1e20f51 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Merge 2.0 into masterChristian Kandeler2023-03-211-1/+1
|\ \ | |/ | | | | Change-Id: I5ec89e4f1260c8d8b669eeb94bb1fefcea9de01b
| * grpc: Fix macOS CI againChristian Kandeler2023-03-171-1/+1
| | | | | | | | | | Change-Id: I224ace97588400f540f155eed68495345f1d55a9 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Merge 2.0 into masterChristian Kandeler2023-03-061-7/+3
|\ \ | |/ | | | | Change-Id: If8cf6ccf0bb3bc57f8589d5b742a26a6c85dbc1c
| * docker: update Windows imageIvan Komissarov2023-02-211-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | - install latest vs2019 compiler - install latest win10 SDK - add vswhere to simplify searching VS - update Qt to 6.2.4 - update Qbs to 1.24.0 - drop support for 32-bit packages in choco Change-Id: I0a57baf160307b84e62fea5c56687efcce7fe42c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add docker image focal-android-642 and workaround armv7 packageRaphael Cotty2023-03-051-0/+6
|/ | | | | | | | | Add docker image focal-android-642 and corresponding github action. Add workaround QTBUG-111713 to correct Qt 6.4.2 android armv7 package. Change-Id: I8f7c5fd566237d4c490fb6014b0a4efbb6f04a53 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>
* GitHub actions: update macos release jobIvan Komissarov2023-02-151-4/+2
| | | | | Change-Id: Ie3b62927baf9009666e4f69ef87a0205a1e512f2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Build Qbs with Qt 6 by defaultIvan Komissarov2023-02-153-27/+22
| | | | | Change-Id: I78ca74c27ccea64331a0995a0e611b8c79411fcb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Switch JavaScript back-endChristian Kandeler2023-02-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer clang versions seem to expose serious bugs in QtScript, whose complexity makes it difficult to track them down. We therefore switch to the more light-weight QuickJS, which offers all the features we need (most notably property access interception), as well as good performance. To save some porting effort, we removed the long-deprecated loadFile() and loadExtension() functions. During the porting procedure, we noticed and fixed thread safety issues in artifact access from JS commands. We consider this change important enough to bump the major version, so the next release will be 2.0. Detailed benchmarking data is below. In summary, we see a modest speed- up at the cost of a similarly modest increase in memory consumption (with the exception of project resolving on macOS, which has become a bit slower). Importantly, the increase does not rise with project size, as the comparison of qbs vs Qt Creator shows. Output of qbs_benchmarker on Linux with qbs as test project: ========== Performance data for Resolving ========== Old instruction count: 12870602895 New instruction count: 11923459780 Relative change: -8 % Old peak memory usage: 61775848 Bytes New peak memory usage: 67583424 Bytes Relative change: +9 % ========== Performance data for Rule Execution ========== Old instruction count: 4074062223 New instruction count: 3887473574 Relative change: -5 % Old peak memory usage: 35123704 Bytes New peak memory usage: 38398392 Bytes Relative change: +9 % ========== Performance data for Null Build ========== Old instruction count: 1104417596 New instruction count: 1011033948 Relative change: -9 % Old peak memory usage: 24461824 Bytes New peak memory usage: 25325920 Bytes Relative change: +3 % Output of qbs_benchmarker on Linux with Qt Creator as test project: ========== Performance data for Resolving ========== Old instruction count: 67166450352 New instruction count: 60772791018 Relative change: -10 % Old peak memory usage: 327011616 Bytes New peak memory usage: 343724176 Bytes Relative change: +5 % ========== Performance data for Rule Execution ========== Old instruction count: 71684351183 New instruction count: 67051936965 Relative change: -7 % Old peak memory usage: 374913688 Bytes New peak memory usage: 387790992 Bytes Relative change: +3 % ========== Performance data for Null Build ========== Old instruction count: 8383156078 New instruction count: 7930705668 Relative change: -6 % Old peak memory usage: 180468360 Bytes New peak memory usage: 182490384 Bytes Relative change: +1 % Real-world data building Qt Creator (using qbs --log-time, several runs, removing outliers): macOS: Resolving: 43s -> 47s Rule execution: 17s -> 14s Windows: Resolving: 18s -> 16s Rule execution: 22s -> 17s Fixes: QBS-913 Fixes: QBS-1103 Fixes: QBS-1126 Fixes: QBS-1227 Fixes: QBS-1684 Change-Id: Ie5088155026e85bbd1e303f1c67addb15810a3cb Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* 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: Update mingwChristian Kandeler2022-10-141-1/+1
| | | | | | | | | 8.1 has a bug that we run into when compiling quickjs (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86048). Change-Id: I1df7e7f3e2e0d39f44d1c8636f74c3333167db0d Reviewed-by: Richard Weickelt <richard@weickelt.de> 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>
* Include qtscript into a tarballIvan Komissarov2022-08-031-1/+3
| | | | | | Fixes: QBS-1703 Change-Id: Idb33b9e2336c5b7fb7df37472fb6728ff06dd751 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 building release packagesIvan Komissarov2022-03-291-1/+1
| | | | | Change-Id: Ic3957b7dbaf449bb52af117d8a84fc3752a9309f 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-082-0/+22
| | | | | | | ... 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-042-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Docker/github action: update mirrors and use Qtc 5.0.3Raphael Cotty2021-12-102-2/+2
| | | | | | | Update available mirrors which all provide Qtc 5.0.3. Change-Id: I9315c607bbdfd6a7fdb8a8e00f99df41aba8b97f 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-202-23/+29
| | | | | | | | | 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-202-1/+43
| | | | | | | | | | | 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>