Skip to content

Commit 72ac94d

Browse files
authored
Add Fedora 43 to CI pipeline (#493)
Also some Docker updates to simplify testing with an actual dataset and mapnik.xml file.
1 parent dec0fc0 commit 72ac94d

15 files changed

Lines changed: 72 additions & 57 deletions

File tree

.github/actions/cmake/package/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
working-directory: build
3434

3535
- name: Upload `mod_tile` package artifact
36-
uses: actions/upload-artifact@v4
36+
uses: actions/upload-artifact@v6
3737
with:
3838
if-no-files-found: ignore
3939
name: Package Artifacts - ${{ env.CPACK_PACKAGE_FILE_NAME }}${{ matrix.mapnik_latest && ' (Latest Mapnik)' || '' }}

.github/actions/cmake/test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
if: failure()
2121

2222
- name: Upload `mod_tile` test artifacts on failure
23-
uses: actions/upload-artifact@v4
23+
uses: actions/upload-artifact@v6
2424
with:
2525
name: Test Artifacts - ${{ env.TEST_ARTIFACT_NAME }}
2626
path: build/tests

.github/actions/coverage/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ runs:
6262
shell: bash --noprofile --norc -euxo pipefail {0}
6363

6464
- name: Upload `mod_tile` coverage artifacts
65-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v6
6666
with:
6767
name: Coverage Artifacts - ${{ env.COVERAGE_ARTIFACT_NAME }}${{ matrix.mapnik_latest && ' (Latest Mapnik)' || '' }}
6868
path: |

.github/actions/dependencies/build-and-install/mapnik/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ runs:
1010
steps:
1111
- name: Cache "Checkout `Mapnik`" & "Build `Mapnik`"
1212
id: cache-mapnik
13-
uses: actions/cache@v4
13+
uses: actions/cache@v5
1414
with:
1515
path: |
1616
mapnik-build
1717
mapnik-src
1818
key: ${{ matrix.image || matrix.os || matrix.box_freebsd || github.job }}-${{ matrix.compiler }}-mapnik-${{ inputs.version }}
1919

2020
- name: Checkout `Mapnik`
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
path: mapnik-src
2424
ref: ${{ inputs.version != 'latest' && format('v{0}', inputs.version) || '' }}

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
image:
2323
- "debian:12"
2424
- "debian:13"
25-
- "fedora:41"
2625
- "fedora:42"
26+
- "fedora:43"
2727
- "opensuse/leap:15"
2828
- "ubuntu:22.04"
2929
on_default_branch:
@@ -77,7 +77,7 @@ jobs:
7777
if: startsWith(matrix.image, 'opensuse/')
7878

7979
- name: Checkout code
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v6
8181

8282
- name: Install dependencies
8383
uses: ./.github/actions/dependencies/install
@@ -134,7 +134,7 @@ jobs:
134134
image: ${{ matrix.image }}
135135
steps:
136136
- name: Checkout code
137-
uses: actions/checkout@v4
137+
uses: actions/checkout@v6
138138

139139
- name: Install dependencies
140140
uses: ./.github/actions/dependencies/install
@@ -191,7 +191,7 @@ jobs:
191191
- on_default_branch: false
192192
steps:
193193
- name: Checkout code
194-
uses: actions/checkout@v4
194+
uses: actions/checkout@v6
195195

196196
- name: Install dependencies
197197
uses: ./.github/actions/dependencies/install
@@ -257,7 +257,7 @@ jobs:
257257
fail-fast: false
258258
steps:
259259
- name: Checkout code
260-
uses: actions/checkout@v4
260+
uses: actions/checkout@v6
261261

262262
- name: Set `BUILD_PARALLEL_LEVEL` & `TEST_PARALLEL_LEVEL`
263263
run: |

.github/workflows/docker-image-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Lint with hadolint
20-
uses: hadolint/hadolint-action@v3.1.0
20+
uses: hadolint/hadolint-action@v3.3.0
2121
with:
2222
dockerfile: Dockerfile*
2323
failure-threshold: warning
@@ -34,8 +34,8 @@ jobs:
3434
- archlinux
3535
- debian-12
3636
- debian-13
37-
- fedora-41
3837
- fedora-42
38+
- fedora-43
3939
- opensuse-leap-15
4040
- opensuse-leap-16
4141
- ubuntu-22.04
@@ -60,7 +60,7 @@ jobs:
6060
fail-fast: false
6161
steps:
6262
- name: Checkout repository
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@v6
6464

6565
- name: Build & Start
6666
run: docker compose up --build --detach ${{ matrix.service-name }}

.github/workflows/flawfinder-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
security-events: write
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424

2525
- name: flawfinder_scan
2626
uses: david-a-wheeler/[email protected]
@@ -29,6 +29,6 @@ jobs:
2929
output: "flawfinder_results.sarif"
3030

3131
- name: Upload analysis results to GitHub Security tab
32-
uses: github/codeql-action/upload-sarif@v3
32+
uses: github/codeql-action/upload-sarif@v4
3333
with:
3434
sarif_file: ${{github.workspace}}/flawfinder_results.sarif

.github/workflows/install-package-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
image: ${{ matrix.image }}
3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
- name: Install mod_tile & renderd
3737
uses: ./.github/actions/dependencies/install/apt-get

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929
- name: Provision environment
3030
uses: ./.github/actions/dependencies/install/apt-get
3131
with:
@@ -55,7 +55,7 @@ jobs:
5555
git diff --patch > ArtisticStyleFormattingFixes.patch
5656
if: failure()
5757
- name: Upload `ArtisticStyleFormattingFixes.patch` file
58-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@v6
5959
with:
6060
name: ArtisticStyleFormattingFixes.patch
6161
path: ArtisticStyleFormattingFixes.patch
@@ -66,7 +66,7 @@ jobs:
6666
runs-on: ubuntu-latest
6767
steps:
6868
- name: Checkout code
69-
uses: actions/checkout@v4
69+
uses: actions/checkout@v6
7070
- name: Provision environment
7171
run: pip install --user cmakelint
7272
- name: Run linter
@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ubuntu-latest
8282
steps:
8383
- name: Checkout code
84-
uses: actions/checkout@v4
84+
uses: actions/checkout@v6
8585
- name: Provision environment
8686
run: npm install prettier
8787
- name: Run linter

docker/archlinux/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN --mount=type=cache,sharing=locked,id=archlinux:${archlinux_version}-/var/cac
3535
git \
3636
glib2 \
3737
iniparser \
38+
jemalloc \
3839
lcov \
3940
libmemcached \
4041
make \
@@ -53,7 +54,8 @@ RUN CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)" && export CMAKE_BUILD_PARALLEL_LEVEL &
5354
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
5455
-DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run \
5556
-DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc \
56-
-DENABLE_TESTS:BOOL=ON && \
57+
-DENABLE_TESTS:BOOL=ON \
58+
-DMALLOC_LIB:STRING=jemalloc && \
5759
cmake --build .
5860
RUN CTEST_PARALLEL_LEVEL="$(nproc)" && export CTEST_PARALLEL_LEVEL && \
5961
ctest --output-on-failure
@@ -76,6 +78,7 @@ RUN --mount=type=cache,sharing=locked,id=archlinux:${archlinux_version}-/var/cac
7678
curl \
7779
glib2 \
7880
iniparser \
81+
jemalloc \
7982
libmemcached \
8083
mapnik \
8184
memcached \

0 commit comments

Comments
 (0)