Commit Graph

106 Commits

Author SHA1 Message Date
Eike Ziller
176be6a563 COIN/GitHub: Switch to Qt 6.6.0
Which we use for the packages

Change-Id: I7fa6c001f356ca23409444567d94246731d0fffe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-10-24 07:52:02 +00:00
Cristian Adam
184509228a GitHub: Mark build as failed if the tests fail
We have now 100% test pass rate, so we want to keep it this way.

Change-Id: Ie7dc5fa24921a1b32eff09470cc77ba01e65939a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-13 16:37:25 +00:00
Cristian Adam
c32022f085 GitHub/Coin: Update LLVM/Clang to 17.0.1
Change-Id: I0cc3e3640eb60cd991fba073f8d32d3de9b900fe
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-09-27 14:32:59 +00:00
Cristian Adam
263b1e70ef Clang/LLVM: Update to version 17.0.0-rc4
Change-Id: Ica6c5db764db8c3b8105c168f9001d7de3c6c5c1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-19 11:41:22 +00:00
Eike Ziller
ad16dba14c GitHub/COIN: Use Qt 6.5.2
Change-Id: Id2c7b7080ac2efb05e93d88804007fc3f61e1dc3
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-07-25 13:20:57 +00:00
Cristian Adam
4d77487382 GitHub Actions: Use major version changelog also for pre-releases
Amends 332c47ba69

Change-Id: I08057e9d75b2900b829c225bf1e73f3ae82737d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 13:05:30 +00:00
Cristian Adam
332c47ba69 GitHub Actions: Do not fail for missing change log file
When using special tags e.g. beta, rcX, the change log file might not
exist.

Change-Id: I87a4b14f5a00f510763c41d189b815f9f503f90d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-13 09:56:19 +00:00
Eike Ziller
648cf50d85 Coin/GitHub: Switch to Qt 6.5.1 and LLVM 16.0.2
Change-Id: Ida29b97f937e374935e853eff62b30777a9142aa
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-05-26 06:15:00 +00:00
Eike Ziller
51df19270b Merge remote-tracking branch 'origin/10.0'
Change-Id: I7cfdfc13097d5037fea597ecba98ae902a0c5afb
2023-05-12 12:24:39 +02:00
Cristian Adam
430f07cf38 GitHub Actions: Use universal for macOS only for releases
For the regular checks we should be as fast as possible.

Change-Id: If5b14f6ac48aebdefced137f74fc8ecdd72f741b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-05-12 08:06:52 +00:00
Eike Ziller
44aaad4c2f COIN/GitHub: Bump to Qt 6.5.0
Change-Id: I8c2122b7f35d049f0249631fc6e045b79dff9fbc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-21 06:37:23 +00:00
Eike Ziller
c842b96f77 COIN/GitHub: Use Qt 6.4.3 and LLVM 16.0.0
Change-Id: I95ddc7a95b5761d29b111f3eff3fdfc014efaa51
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-04-13 09:37:49 +00:00
Cristian Adam
53397306b9 LLVM/Clang: Update to version 16.0.0-rc2
This was the newest release tag last week.

Change-Id: Idd272db9dc7ff797023fac72ea8a252729d979b3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-02-22 11:40:31 +00:00
Cristian Adam
72de50df83 GitHub Actions: Some cleanup
- use the release tag for the artifact name instead of github.run_id
- add releases notes to the github release page
- enable macos universal builds
- add architecture in the artifact name

Change-Id: I478d2fb677b60fb2e59c154d538af94d1fddfac5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-02-14 11:43:48 +00:00
Eike Ziller
97323e14f0 GitHub/Linux: Fix missing chrpath for deployment
Change-Id: If1ea7b04bd6636183c90a2471f6b68998036e923
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-07 08:00:26 +00:00
Eike Ziller
78cad18135 GitHub: Create and upload Debian packages
Change-Id: I989ef46e9e99de4291f582d096ad6dc44d7b47ec
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-07 08:00:17 +00:00
Eike Ziller
c6853ff32a GitHub: Fix ccache archive downloading if there is none
Change-Id: I54fcac1a86c6f101469a695aa3610ae755354271
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-07 08:00:08 +00:00
Eike Ziller
adc874f690 COIN/GitHub: Use Qt 6.4.2
Change-Id: Ia66ce7e0a8ebf988c1af9888ddb7e9461f0cac05
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-06 08:28:17 +00:00
Cristian Adam
d852ec53a1 GitHub Actions / COIN: Update Qt to 6.4.0
Amends 169f2c4af6 due to the task
number QTBUG-108593.

Change-Id: Id3ab685632e32fad953d837d2f7ab357b034d739
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-11-28 13:53:25 +00:00
Cristian Adam
169f2c4af6 GitHub Actions / COIN: Update Qt to 6.4.1
Change-Id: Icf1600c761989914e5de5ed024d7f4c4f2f01e18
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-11-15 17:27:06 +00:00
Cristian Adam
73ba7e8f98 GitHub Actions: Remove deprecation warnings
This removes the warnings that the jobs display due to upgrades
that will be done for the internal GitHub Actions services.

Change-Id: I4865c7e61f3da04a00f14657a87ecdd63c24325c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-11-14 14:56:37 +00:00
Eike Ziller
5ae23f8c66 Merge remote-tracking branch 'origin/8.0'
Conflicts:
	.github/workflows/build_cmake.yml
	src/plugins/qmldesigner/components/connectioneditor/dynamicpropertiesmodel.cpp
	src/plugins/qmldesigner/components/materialeditor/materialeditorview.h
	src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
	src/plugins/qmldesigner/designercore/model/model.cpp

Change-Id: I111b9140375b894a5487cc012b17cc32100bdb8d
2022-09-13 11:15:16 +02:00
Eike Ziller
c9e0d08571 COIN/GitHub: Use Qt 6.3.2
Change-Id: If49d111eec5cd4b4a229c3f21ff282733dd3fbb2
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-09-12 11:59:17 +00:00
Cristian Adam
91c88c7390 Clang: Update to LLVM/Clang 15.0.0
Change-Id: I31599c3f7e869be7553c21d889df8fa870b1b93f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-09-08 08:31:24 +00:00
Cristian Adam
825a3a5e7e GitHub Actions: Update MSVC runner to windows-latest
Also change to MSVC 2022, which is the only MSVC compiler present
on the windows-latest runner.

MSVC 2022 is backwards compatible with MSVC 2019 and should work
fine with our Qt 6.3.1 MSVC 2019 package.

Change-Id: Id9967de33d2fea03f86243f8d54d369095918cfe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-18 07:50:35 +00:00
Cristian Adam
7b0664f4e4 GitHub Actions: Update the docker alpine image used for tests
Also increase timeout to 300s.

Currently only the Linux runner is running the docker test,
and building on Linux is usually the fastest. Should not
affect the overall job time.

Change-Id: Ie7aa72da1ffac987ef732ad0fb8076d473d00185
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-14 12:19:24 +00:00
Cristian Adam
5088781693 GitHub Actions: Use software OpenGL driver for tests on Linux
As done for the Windows configuration. macOS comes automagically with
a software renderer.

Change-Id: Ifa64fc80f9ce69b87fb589675e794ac3b537cc48
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-14 08:54:37 +00:00
Cristian Adam
9c09ade2ed GitHub Actions: Use software OpenGL driver for tests on Windows
Since some tests are failing due to missing OpenGL context, I assume
the GitHub Actions Windows runners do not have OpenGL drivers.

Change-Id: I7951f0906d37bc1d513e77540fdd379a71cbed60
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-14 08:52:36 +00:00
Cristian Adam
9b8fd63cd0 GitHub Actions: (re) Enable running of tests
The precheck tests have only a few cases which should not block the
runners anymore.

Change-Id: I00bea0d208aa646dbdb4c146f46fdb853bc8aa5b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-07 09:32:02 +00:00
Eike Ziller
6767b9b737 COIN/GitHub: Use Qt 6.3.1
Change-Id: I2485ef1ec0414d503a907d69fcc277f80d569286
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-06-17 11:20:41 +00:00
Cristian Adam
50bbe41acc GitHub Actions: Update Qt version to 6.3.0
To be in sync with coin and packaging jobs.

Change-Id: I71e95e8283c70a17c42dadeb893ad4b24977f574
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-06-14 08:36:15 +00:00
Cristian Adam
f4bf5f5cd7 GitHub: Add pull request template
Add a pull request template to inform the potential contributor that the
github Qt Creator presence a mirror is, and that the only way to
contribuite is through gerrit.

Change-Id: I5ddc93f182aaaa87e465677a28705ac5efa04f7f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-06-13 15:26:31 +00:00
Cristian Adam
e608243ee5 GitHub Actions / Coin: Update LLVM/Clang to 14.0.3
To be in sync with the official packaging.

Change-Id: I28712ad1e8234d4911b2afcce949e1e919bf8e92
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-05-18 10:59:27 +00:00
Eike Ziller
0c35d79e39 GitHub/COIN: Use LLVM 14.0.0 final
Change-Id: I03c25423a32cfe5084342f6a6293dfd159e93783
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-04-04 11:13:54 +00:00
Cristian Adam
1b22558857 GitHub Actions: (re) Enable MinGW build
Both LLVM/Clang 14.0 and Qt 6.2.3 dependencies have been compiled
with MinGW 11.2.0

Change-Id: I14dc8b62d243f21dc31ba72605d5aa4b16085279
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-03-03 09:28:31 +00:00
Cristian Adam
1778008067 GitHub Actions: Update ccache to version 4.6
Change-Id: I112d3860c6e1b66be70d5cf2b11f026bafa624ad
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-03-02 10:06:50 +00:00
Cristian Adam
e1e5d2a68d GitHub Actions: Update LLVM/Clang to version 14.0
Change-Id: I168661c4a4c2a52e824b1cfaa8ed45db1d8682dc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-03-02 10:06:42 +00:00
Eike Ziller
8851810658 GitHub: Explicitly use MSVC 2019 machines
windows-latest is "transitioning to 2022" currently, and that seems to
mean that for some users this is already 2022 and for some still 2019.
Explicitly state something.

Change-Id: I1e7ba6fa60b9fe44c78505b322ff8278c2e41ee6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-02-17 13:07:42 +00:00
Eike Ziller
a50561591a Bump Qt version for GitHub and COIN to what we use in official binaries
Disable MinGW build on GitHub because of toolchain incompatibilities.

Change-Id: Ie5f09e3463b05f7cda8694180c9d7e562a7624e7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-02-11 10:26:00 +00:00
Cristian Adam
9976f7a57d GitHub Actions: Disable running of tests
Currently the macOS job runner is failing sporadically and since the
tests are only 99% passing and they are only informative only if the
developer actively checks a test in the output log.

Change-Id: Id75d8d05c5fd45f2cc15e08b20973646a06ff6bd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-06 19:04:27 +00:00
Cristian Adam
1bd4355bb9 GitHub Actions: Fix upload of release artifacts
For the tagged release commits two artifacts were missing, see:
https://github.com/qt-creator/qt-creator/actions/runs/1529947256

This commit fixes this.

Change-Id: Idd046426aa4793194a43d235ff47caa6a02e1957
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-10 09:02:09 +00:00
Cristian Adam
1fdc358eef GitHub Actions: Add 10 retries for file download
I have noticed that some jobs fail due to missing ninja or ccache
executable.

With the 10 times retries I hope that these failures will go away.

Change-Id: I2d893e0c6cefc69bc4c5f841ae154d4f83f7a922
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 14:49:02 +00:00
Cristian Adam
5e8fd8d0f8 GitHub Actions: Limit the number of cores to 75% for testing
Hopefully this will help with the macOS host which tends to fail
at running tests with:

 The hosted runner: GitHub Actions X lost communication with the server.
 Anything in your workflow that terminates the runner process, starves
 it for CPU/Memory, or blocks its network access can cause this error.

Change-Id: I2ead1efd1526332cc2045fee7db4a76831f2e333
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-06 10:32:36 +00:00
Cristian Adam
e6957808ec GitHub Actions: Build macOS dmg file only on release
The regular builds should be as fast as possible.

Change-Id: I76b9ac009831192053f2163b1f73fb2183f3e791
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-30 12:06:19 +00:00
Cristian Adam
7f1b2bda9d GitHub Actions: Increase number of artifacts to search after cache
By default it's 30 per page and one page. Increasing to 100 per page
and trying out 10 pages should provide recent results.

Change-Id: I46d8e20a35f94d2ef81cc0bbead4bade66a17f5a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-30 11:59:04 +00:00
Cristian Adam
4a41f97a48 GitHub Actions: Store ccache storage directory as artifact
GitHub Actions cache action uses the branch name to scope the file
caching, which when using with a gerrit bot can lead to cache
misses.

By using the cache storage as an artifact we can always get the
artifacts if previous jobs created them.

By upgrading to v2 of actions/download/upload artifact we remove
the v1 problem of the upload action that creates a directory name
with the name of the artifact, which leads to failed release
uploads.

Change-Id: I8cb8c3242b58f709f51202852ad45d42b833fa84
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-30 09:54:45 +00:00
Cristian Adam
8b341a4109 GitHub Actions: Ignore doc and dist changes
Also remove the pull_request support for github actions, since we
don't support the pull request workflow for contributions.

Change-Id: Ia0a1ab7c996f679195fde455c1f06911077d6deb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-29 15:12:42 +00:00
Cristian Adam
478f68042b GitHub Actions: Fix failures when commit message had certain characters
The variable was not quoted and in certain cases the CMake code checking
for ccache clearing messages would error and the job would fail.

See 28a20b75bab8908e43ebf553a2ae2ef52775861b

Change-Id: I7703a547129b3294b6d8094035a272e5d35c5c60
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-23 17:19:40 +00:00
Cristian Adam
a4791debf0 GitHub Actions: Use actions/cache v1
Update to latest v1 actions/cache, instead of using a fixed version.
For example v1.1.1 increased the cache version from 2GB to 5GB!

Change-Id: Ib312016f5e0e07771451049cf2d4cd3ce0225837
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-23 16:09:51 +00:00
Cristian Adam
d177a20bb8 GitHub Actions: Separate ccache cache based on ide major version
This way master, which now is version 7 won't interfere with 6.0 branch
which will have version 6.

When branches share the same cache the ccache hit rate is now ~40%,
which is too low.

Reduce the ccache size so that the 5GB would host multiple branch
versions.

Change-Id: If29c917fb47f4e1fdab4b4257af8b0625f6f219e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-11-21 11:08:17 +00:00