Skip to content

Commit 5c98a32

Browse files
committed
fixes merge conflicts
2 parents 9a90c17 + 8d0c3fd commit 5c98a32

File tree

813 files changed

+23831
-5449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

813 files changed

+23831
-5449
lines changed

.ci/run_tests.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
set -e
44

5-
# check for docker-compose and docker availability
5+
# check for docker availability
66
command -v docker > /dev/null || {
77
echo "Please install docker" >&2
88
exit 1
99
}
10-
command -v docker-compose > /dev/null || {
11-
echo "Please install docker-compose" >&2
12-
exit 1
13-
}
1410

1511
IMAGE_BUILD_DEPS=qgis/qgis3-build-deps:latest
1612
UPDATE_IMAGES=yes
@@ -115,7 +111,7 @@ if test "$(docker images -q qgis3-build-deps-binary-image)" = ""; then
115111
fi
116112

117113
if test "${INTERACTIVE}" = "no"; then
118-
echo "--=[ Running tests via docker-compose"
114+
echo "--=[ Running tests via docker compose"
119115
COMMAND=${QGIS_WORKSPACE_MOUNTPOINT}/.docker/docker-qgis-test.sh
120116
COMMAND_ARGS="${TESTS_TO_RUN}"
121117
else
@@ -129,7 +125,7 @@ mkdir -p /tmp/minio_tests/test-bucket && chmod -R 777 /tmp/minio_tests
129125
# Create an empty webdav folder with appropriate permissions so www user can write inside it
130126
mkdir -p /tmp/webdav_tests && chmod 777 /tmp/webdav_tests
131127

132-
docker-compose \
128+
docker compose \
133129
-f .docker/docker-compose-testing.yml \
134130
run \
135131
-w "${QGIS_WORKSPACE_MOUNTPOINT}" \

.ci/test_blocklist_qt6.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ test_core_compositionconverter
33
test_core_expression
44
test_core_labelingengine
55
test_core_layoutpicture
6+
# test_core_ogcutils runs fine locally on Fedora:rawhide but not on CI
67
test_core_ogcutils
78
test_core_vectortilelayer
89
test_gui_processinggui
@@ -41,15 +42,12 @@ PyQgsPythonProvider
4142
PyQgsAnnotation
4243
PyQgsAuthenticationSystem
4344
PyQgsBlockingProcess
44-
PyQgsBookmarkModel
4545
PyQgsCodeEditor
4646
PyQgsDelimitedTextProvider
4747
PyQgsEditWidgets
4848
PyQgsElevationProfileCanvas
4949
PyQgsProject
50-
PyQgsFieldModel
5150
PyQgsFloatingWidget
52-
PyQgsJsonUtils
5351
PyQgsLayoutHtml
5452
PyQgsLineSymbolLayers
5553
PyQgsMapBoxGlStyleConverter
@@ -61,7 +59,6 @@ PyQgsRasterAttributeTable
6159
PyQgsRasterLayerRenderer
6260
PyQgsShapefileProvider
6361
PyQgsTextRenderer
64-
PyQgsOGRProvider
6562
PyQgsSpatialiteProvider
6663
PyQgsSymbolLayerReadSld
6764
PyQgsVectorLayerCache
@@ -81,4 +78,5 @@ ProcessingQgisAlgorithmsTestPt3
8178
ProcessingQgisAlgorithmsTestPt4
8279
ProcessingGdalAlgorithmsVectorTest
8380
ProcessingGrassAlgorithmsImageryTest
81+
# PyQgsProviderRegistry runs fine locally on Fedora:rawhide but not on CI
8482
PyQgsProviderRegistry

.docker/docker-qgis-build.sh

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,11 @@ pushd ${CTEST_BUILD_DIR} > /dev/null
3535
echo "${bold}Running cmake...${endbold}"
3636
echo "::group::cmake"
3737

38-
if [[ -f "/usr/lib64/ccache/clang" ]]; then
39-
export CC=/usr/lib64/ccache/clang
40-
export CXX=/usr/lib64/ccache/clang++
41-
else
42-
export CC=/usr/lib/ccache/clang
43-
export CXX=/usr/lib/ccache/clang++
44-
fi
45-
4638
BUILD_TYPE=Release
4739

40+
export CC=/usr/bin/clang
41+
export CXX=/usr/bin/clang++
42+
4843
if [[ "${WITH_CLAZY}" = "ON" ]]; then
4944
# In release mode, all variables in QgsDebugMsg would be considered unused
5045
BUILD_TYPE=Debug
@@ -75,7 +70,7 @@ fi
7570
cmake \
7671
-GNinja \
7772
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
78-
-DUSE_CCACHE=OFF \
73+
-DUSE_CCACHE=ON \
7974
-DBUILD_WITH_QT6=${BUILD_WITH_QT6} \
8075
-DWITH_DESKTOP=ON \
8176
-DWITH_ANALYSIS=ON \

.github/workflows/build-docker.yml

-184
This file was deleted.

.github/workflows/code_layout.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,24 @@ jobs:
154154
steps:
155155
- name: Checkout
156156
uses: actions/checkout@v4
157+
157158
- name: Install Requirements
158159
run: |
159160
sudo apt install -y \
160161
expect \
161162
silversearcher-ag
162-
- uses: tj-actions/changed-files@v42
163+
164+
- name: Retrieve changed files
165+
uses: tj-actions/changed-files@v44
163166
id: changed_files
164167
with:
165-
separator: ' '
168+
separator: " "
169+
166170
- name: Spell Test
167-
run: ./scripts/spell_check/check_spelling.sh -r "${{ steps.changed_files.outputs.all_changed_files }}"
171+
if: steps.changed_files.outputs.any_changed == 'true'
172+
env:
173+
ALL_CHANGED_FILES: ${{ steps.changed_files.outputs.all_changed_files }}
174+
run: echo "$ALL_CHANGED_FILES" | ./scripts/spell_check/check_spelling.sh
168175

169176
sip_check:
170177
runs-on: ubuntu-latest

.github/workflows/macos-build.yml

+13-27
Original file line numberDiff line numberDiff line change
@@ -38,36 +38,17 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v4
4040

41-
- name: Prepare build cache for pull request
42-
uses: pat-s/[email protected]
43-
if: github.event_name == 'pull_request'
41+
- name: Restore build cache
42+
uses: actions/cache/restore@v4
4443
with:
4544
path: ${{ env.CCACHE_DIR }}
46-
key: build-mac-ccache-${{ github.actor }}-${{ github.head_ref }}-${{ github.sha }}
47-
# The head_ref or source branch of the pull request in a workflow run.
48-
# The base_ref or target branch of the pull request in a workflow run.
45+
key: build-ccache-mac-${{ github.event.pull_request.base.ref || github.ref_name }}
4946
restore-keys: |
50-
build-mac-ccache-${{ github.actor }}-${{ github.head_ref }}-
51-
build-mac-ccache-refs/heads/${{ github.base_ref }}-
52-
build-mac-ccache-refs/heads/master-
53-
54-
- name: Prepare build cache for branch/tag
55-
# use a fork of actions/cache@v2 to upload cache even when the build or test failed
56-
uses: pat-s/[email protected]
57-
if: github.event_name != 'pull_request'
58-
with:
59-
path: ${{ env.CCACHE_DIR }}
60-
# The branch or tag ref that triggered the workflow run. For branches this in the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>
61-
key: build-mac-ccache-${{ github.ref }}-${{ github.sha }}
62-
restore-keys: |
63-
build-mac-ccache-${{ github.ref }}-
64-
build-mac-ccache-refs/heads/master-
47+
build-ccache-mac-master
6548
66-
67-
# Qt caching
6849
- name: Cache Qt
6950
id: cache-qt
70-
uses: actions/cache@v4.0.0
51+
uses: actions/cache@v4
7152
with:
7253
path: ${{ env.DEPS_CACHE_DIR }}/Qt/${{ env.QT_VERSION }}
7354
key: mac-qt-${{ env.QT_VERSION }}
@@ -90,7 +71,7 @@ jobs:
9071
# QGIS-deps caching
9172
- name: Cache qgis-deps
9273
id: cache-deps
93-
uses: actions/cache@v4.0.0
74+
uses: actions/cache@v4
9475
with:
9576
path: ${{ env.DEPS_CACHE_DIR }}/QGIS/qgis-deps-${{ env.QGIS_DEPS_VERSION }}.${{ env.QGIS_DEPS_PATCH_VERSION }}
9677
key: mac-qgis-deps-${{ env.QGIS_DEPS_VERSION }}.${{ env.QGIS_DEPS_PATCH_VERSION }}
@@ -109,8 +90,6 @@ jobs:
10990
mkdir -p ${DEPS_CACHE_DIR}
11091
mkdir -p ${DEPS_CACHE_DIR}/QGIS
11192
112-
113-
11493
- name: Install Qt and deps
11594
env:
11695
QT_ALREADY_CACHED: ${{ steps.cache-qt.outputs.cache-hit }}
@@ -150,3 +129,10 @@ jobs:
150129
run: |
151130
cd ${BUILD_DIR}
152131
make -j $(sysctl -n hw.ncpu)
132+
133+
- name: Save build cache for push only
134+
uses: actions/cache/save@v4
135+
if: ${{ github.event_name == 'push' }}
136+
with:
137+
path: ${{ env.CCACHE_DIR }}
138+
key: build-ccache-mac-${{ github.ref_name }}-${{ github.run_id }}

0 commit comments

Comments
 (0)