358 Commits

Author SHA1 Message Date
Nyall Dawson
57ac8670c1 Silence github check annotations 2025-05-09 06:21:37 +10:00
Jean Felder
ad66b27aff Revert "Temporarily remove grass from Qt 5 CI"
This reverts commit b3cdf9e8a31595f4aae206c60c63a822dede07e0.

With the ubuntugis ppa removed, grass can now be installed.
2025-03-13 07:21:24 +10:00
Jean Felder
c94d4e40e2 ci: Build PDAL from source for the linux qt5 version
The docker image used to compile the linux qt5 version and to launch
the unit tests is based on ubuntu 24.04. However, this version does
not provide the PDAL package anymore. As a workaround, the `ubuntugis`
ppa has been added to get PDAL. However, this may introduce some
package installation conflicts.

This issue is fixed by downloading the latest PDAL version and compile
it. This way, the ubuntugis ppa can be removed and this solve the
installation conflicts. With this change, it is now necessary to
install `GDAL` and `PROJ` dev packages in the `binary-only` only
image because they are needed to compile PDAL from source.
2025-03-13 07:21:24 +10:00
Nyall Dawson
b3cdf9e8a3 Temporarily remove grass from Qt 5 CI
Ubuntugis-unstable has broken packages, no workaround
2025-03-10 11:02:34 +10:00
Nyall Dawson
a7b0542934 Resurrect SQL server testing on CI 2025-02-22 19:47:49 +10:00
Jean Felder
f9e2fd71c1
docker-qgis-clangtidy: Remove unecessary clang-tidy-diff script download
This script is already part of the of the `clang-tidy-15` package
2025-02-18 16:20:37 +01:00
Jean Felder
ce8cd3d551
docker-qgis-clangtidy: Downgrade clang-tidy version to match ubuntu 24.04
At the moment the clang-tidy CI fails on each file with the following
message:

```
error: PCH file uses an older PCH format that is no longer supported
[clang-diagnostic-error]
```

This is because clang-tidy version 18 is used while QGIS
compilation is achieved with clang 15. Indeed, QGIS is built with
clazy support which relies on clang 15.

This issue is fixed by using clang version 15 instead of version 18 in
`docker-qgis-clangtidy.sh`.
2025-02-18 16:20:35 +01:00
Julien Cabieces
6de7612345 ci(ClangTidy): Disable unity build for clang-tidy
"Unity builds" build everything into a unique cpp file. That's
problematic for clang-tidy which rely on compile_command.json to
figure out how to build each file. Without these informations, clang-tidy
displayed false errors (missing include file for instance)
2025-02-14 07:35:15 +10:00
Matthias Kuhn
658ecdcea9 Remove legacy include (for ubuntu precise) 2024-12-30 16:35:20 +01:00
t0b3
443513504b CI: upgrade to ubuntu 24.04 2024-12-20 15:35:24 +10:00
t0b3
5737c9808c fix: libaio on noble is incompatible for oracle client
see https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
2024-12-14 11:40:10 +10:00
Nyall Dawson
befc78e3f5 Run oauth2 python test on qt6 builds 2024-12-13 13:54:37 +10:00
t0b3
954d54a53d CI: upgrade oracle binaries 2024-12-12 07:37:27 +01:00
t0b3
85dc8b0cfc CI: upgrade to nodejs v22 2024-12-12 09:43:43 +10:00
Even Rouault
d42bb6101e Fix OAuth2 configuration <--> JSON serialization/deserialization on QT6 2024-12-04 06:51:03 +10:00
Nyall Dawson
ac7a7fc78e Use mold linker for fedora CI builds 2024-12-03 10:48:53 +10:00
Even Rouault
8dd4f8455c Fix issue with .gch ccach'ing not working with QT6 and gcc 2024-12-03 04:39:49 +10:00
Even Rouault
ddaca73dbf Due to the introduction of precompiled headers, ccache builds require setting 'ccache -set-config sloppiness=pch_defines,time_macros' 2024-12-03 04:39:49 +10:00
Even Rouault
5e5cb683c5 CI: set ENABLE_UNITY_BUILDS=ON for run-test.yml 2024-12-03 04:39:49 +10:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Nyall Dawson
cd1dcbf8ca When excluding tests, only exclude exact matches
Otherwise eg an entry in the blocklist for PyQgsAnnotation will
prevent the PyQgsAnnotationRectTextItem test from running
2024-10-17 17:58:49 +10:00
Maxim Rylov
6116658c1c HANA: Upgrade EULA agreement to version 3.2 2024-04-04 17:58:25 +02:00
Denis Rouzaud
bc080cad16
improve build workflow (#56614)
* improve build workflow

use upstream cache save/restore actions
simplify the build cache saving since we only save build cache on push
use native docker action

* login on push only

* fix tags

* fix login

* fix tag

* do not push local tags

* correctly setup ccache

* define compiler

* fix docker tags

* remove personal branch
2024-03-01 19:56:27 +01:00
Nyall Dawson
fc045d85a5 Run Qt 6 tests on Fedora 39 2024-02-13 19:49:42 +10:00
Nyall Dawson
63774f0ec9 Disable webengine sandboxing on ci 2024-02-12 12:48:27 +10:00
Nyall Dawson
dde1839278 Test building on qt6 ci with PDF4Qt 2024-02-12 12:48:27 +10:00
Nyall Dawson
d36af626d0 Also install gdal on qt6 ci 2024-02-10 17:25:22 +10:00
Nyall Dawson
6c7a539f98 Install gdal-python-tools on qt6 ci 2024-02-10 17:25:22 +10:00
Jorge Tornero
9195dbd057
Support for serial port sensor baudrate selection (#55848) 2024-02-06 13:53:11 +07:00
Nyall Dawson
62b7427959 Install some extra utils required by tests 2024-01-31 10:06:33 +10:00
Nyall Dawson
779155f634 Don't double refresh dnf repos 2024-01-22 11:06:57 +10:00
Nyall Dawson
61ce85a47a Add a few more libraries to Qt6 ci 2024-01-19 19:44:48 +10:00
Nyall Dawson
2089453a15 Don't use verbose logging when downloading hana client
This causes thousands of lines to be added to the CI logs, which
is partially responsible for the github log pages freezing browsers
2024-01-19 12:48:08 +10:00
Julien Cabieces
f10f3d2d1f [PyQt6] Build binding on CI 2024-01-16 12:18:11 +10:00
Nyall Dawson
9a0cbc0051 Build grass plugin on qt6 ci 2024-01-06 14:10:22 +10:00
Nyall Dawson
d04355ca0d Build with webengine support on Qt6 CI builds 2023-12-21 04:43:57 +10:00
Loïc Bartoletti
5b4449602b rm clangtidy_checks.txt and it's usage since it's not needed, thanks to .clang-tidy file 2023-12-13 12:14:42 +01:00
Nyall Dawson
58e2ddb7e5 Drop OTB Processing provider
As discussed in https://lists.osgeo.org/pipermail/qgis-developer/2023-November/066221.html

This plugin needs to be ported to a 3rd party plugin by a motivated maintainer.
2023-11-27 10:09:16 +10:00
pathmapper
e85792e572 Use node 18 to fix build 2023-11-03 03:52:32 +10:00
pathmapper
5ed37a4114 Update install node in docker image
ref https://github.com/qgis/QGIS/pull/55116
2023-11-03 03:52:32 +10:00
Nyall Dawson
d611b6840f Add draco to ci containers 2023-08-07 08:06:55 +10:00
Nyall Dawson
0f38389f36 Remove temporary qt6 downgrade, move to 6.5.1 2023-06-05 14:46:58 +10:00
Nyall Dawson
0192a60ba4 Downgrade all 2023-05-10 11:58:24 +10:00
Nyall Dawson
ef954214d9 yes 2023-05-10 11:58:24 +10:00
Nyall Dawson
73c7e4756b Missing run 2023-05-10 11:58:24 +10:00
Nyall Dawson
0fc3efbbde Try to workaround https://bugreports.qt.io/browse/QTBUG-113227
on qt6 ci builds
2023-05-10 11:58:24 +10:00
Nyall Dawson
74636ce19b Build and test GRASS provider (not plugin) on qt6 builds 2023-05-03 13:57:17 +10:00
Nyall Dawson
a8849b254b Use distro packages for qt6 library versions 2023-04-27 14:47:55 +10:00
Nyall Dawson
b0d0eadb2e Lang C.UTF-8 2023-04-27 14:47:55 +10:00
Nyall Dawson
1d1f121512 Bump distro version 2023-04-27 14:47:55 +10:00