aboutsummaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* GitHub actions: fix nodejs warningsIvan Komissarov2024-04-172-74/+38
| | | | | | | | | | | Upgrade upload-artifact@ and chace@ actions. Don't use the timestamp for the cache anymore. Caches are unique for the branch anyway, no need to make them even more unique. Change-Id: Ia0decbb9450030fb28d6608de3ac6aea4eb25d14 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: adapt release jobs to JammyIvan Komissarov2024-04-081-5/+5
| | | | | Change-Id: Ic267b0fe752bb0ea823b4bc207f2f400ff461af6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: remove Focal imageIvan Komissarov2024-02-271-12/+0
| | | | | Change-Id: I9cc2a4dd7c2baef682cead318d711e7cedb898cc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update clang-tidy job to JammyIvan Komissarov2024-02-271-1/+1
| | | | | Change-Id: Ice564ac6cfb6092db54f10dd0608d1299f752a84 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: change extra jobs to JammyIvan Komissarov2024-02-271-3/+3
| | | | | Change-Id: I90a95895c736a8e19e8f2945614b52ec7040f2a3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GutHub actions: fix archive suffixesIvan Komissarov2024-02-261-10/+10
| | | | | | | | | This amends f31b3fe24d1dbd92e47b050df68d3a5b8aa286ae, 569f804a75c045785a626f2cc8806af9e5ae5978 and 60a18f09fa547af064fb851e72b816ee25bf71a3. Change-Id: Idfc923e21b7e64024032fe4b929abc53562d127e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: update qt4 image to JammyIvan Komissarov2024-02-191-1/+1
| | | | | Change-Id: Ic81ffb3a65ceb0e373b9bc2981ccd6f6b67b5df1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: upgrade baremetal image to JammyIvan Komissarov2024-02-191-15/+15
| | | | | Change-Id: I8881561219215c534ec41261511d3210faa815d6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: upgrade Android images to JammyIvan Komissarov2024-02-191-8/+8
| | | | | Change-Id: I87101508891fb49237e8a05c6d272b8fc27117d6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: reduce number of Android imagesIvan Komissarov2024-02-191-14/+0
| | | | | | | Only Qt LTS images remain. Change-Id: Ic3fa3b661601a684f75b7e8ce6d74fa3bf0edab4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: update qt5 image to JammyIvan Komissarov2024-02-191-2/+2
| | | | | | | As well as GitHub actions jobs. Change-Id: Ic942f953c4ba7aebe9062280134e9ea0b7b9da0c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: Update static Qt image to JammyIvan Komissarov2024-02-191-2/+2
| | | | | | | As well as GitHub actions job. Change-Id: Ic294a11fa6902f5825a4c73812e1afc0070ffff8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: switch Linux tests to JammyIvan Komissarov2024-02-191-8/+21
| | | | | | | ...with the exception of Android, Qt5 and static Qt tests Change-Id: I0ffe0b119859c33e0086f9dc1173aaf823e5b3fc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix QtC versionIvan Komissarov2024-02-161-1/+1
| | | | | | | | | | The '9.0.1' version was removed from the mirror we use to install QtC. Bump version to '11.0.3' to use newer Qbs. Change-Id: If884d8b2cf9c1d2844ad01a80ebb37c3fc94eff9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: Add Jammy-qt6 jobIvan Komissarov2024-02-151-6/+20
| | | | | Change-Id: I38fa9d66a8e136c498f5826e2d3d84fe06bafe89 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: bump macOS versionIvan Komissarov2024-02-132-2/+2
| | | | | | | macos-11 is deprecated Change-Id: I4ce2c5373e09fe1396d58ff8ffd318eb037f13c0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add clang-format jobIvan Komissarov2024-01-111-0/+16
| | | | | Change-Id: I325a3843e9b35eb92d911d3f8c6ed55976962950 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: bump Xcode versionIvan Komissarov2024-01-081-19/+19
| | | | | Change-Id: I1527740715b362fa4ff0be176e1b813baebad557 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix Windows buildIvan Komissarov2023-12-111-0/+1
| | | | | Change-Id: I52622831cf9d0641ce1c24f53697baf24c891528 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix building release packagesIvan Komissarov2023-11-272-2/+2
| | | | | | | | | After updating Qt version, old Xcode we use to build packages were no longer able to target the minimum required macOS veriosn. Fix that by using newer Xcode version. Change-Id: Idf5171bc20a1f8e2053e45d4920917e769025955 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Docker: Update Qt version in Windows imageChristian Kandeler2023-11-241-1/+1
| | | | | | | | With Qt 6.5, qhelpgenerator crashes when building the documentation, which prevents us from building release packages. Change-Id: I51b30ef6a6bf18d9032aa27ac6afae5edf558c18 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Merge 2.1 into masterChristian Kandeler2023-08-251-0/+20
|\ | | | | | | Change-Id: Id331ef3cc9e7b48470d391c1c3e917bb323e41f7
| * GitHub actions: add xcode-less job on macOSIvan Komissarov2023-08-221-0/+20
| | | | | | | | | | Change-Id: Ie535183ced8ee200c506b54d4958976f321cb7fb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Docker: Update Qt in Windows imageChristian Kandeler2023-08-231-1/+1
|/ | | | | | | | Qt 6.2 prints annoying warning messages when using QProcess in non-Qt threads. Change-Id: Id6e3d65052595c6b492bd53ad73160aed84100a3 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* GitHub actions: fix macOS jobv2.1.0Ivan Komissarov2023-07-071-1/+1
| | | | | | | | | Use qbspkgconfig in proto examples. Pass additional libs to proto/grpc tests. Change-Id: Ic3018fcb5b2350610a4ab70b97efad1abaac9252 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* docker: update qt static imageIvan Komissarov2023-06-261-1/+1
| | | | | | | ...and install llvm into it to be able to build qdoc Change-Id: I9b468403fe690eed482c379a0c78ed5c1cd6e0a7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GitHub actions: fix Xcode profilesIvan Komissarov2023-06-191-4/+4
| | | | | | | This amends 134d6b6666c1d121b6134a02c4766576705700aa. Change-Id: I037a538c85c7c03f4e7449d5628ad839356501ed Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* GutHub actions: remove redundant jobIvan Komissarov2023-06-161-10/+0
| | | | | Change-Id: Id74fceeca982e2ec5ad5f4f7a7517f26705c2e5c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Merge 2.0 into 2.1Christian Kandeler2023-06-091-21/+30
|\ | | | | | | Change-Id: I3a2da652e00ff2adb5e899ce99ad7ed1b8ca37b2
| * 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>
* | Merge 2.0 into masterChristian Kandeler2023-05-311-2/+2
|\| | | | | | | Change-Id: I76567aa0358b81da55cc2be0eee70c4c61de2b13
| * 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>
* | android: remove old Qt versions from CIIvan Komissarov2023-05-221-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideally, we need to rebuild all images when docker file is changed and maintaning that amount of images is quite a burden. Also, most users use LTS versions like 5.15, 6.2, 6.5 or the latest Qt version. Leave 6.3 and 6.4 for now in order to test regressions since there were some breaking changes in these versions. Change-Id: Id4f7e817119f3226c1a2350d0e6f4772da162943 Reviewed-by: Raphaƫl Cotty <raphael.cotty@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add docker image focal-android-650 and workaround armv7 packageRaphael Cotty2023-05-191-0/+6
| | | | | | | | | | Change-Id: I2a0be7bf2102f738be3fd6b184d21982b359f3b8 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | 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>