Skip to content

Commit 186fc31

Browse files
committed
Github action: Add Ubuntu 22.04 builds
1 parent e9a6e7d commit 186fc31

File tree

2 files changed

+112
-1
lines changed

2 files changed

+112
-1
lines changed

.github/actions/build-and-test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
shell: bash
3636
working-directory: build
3737
env:
38-
CXXFLAGS: -pedantic -Wextra -Werror
38+
CXXFLAGS: -pedantic -Wextra ${{ env.EXTRA_FLAGS }} -Werror
3939

4040
- name: build
4141
run: make -j3 all man

.github/workflows/ci.yml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,117 @@ jobs:
239239
- uses: ./.github/actions/ubuntu-prerequisites
240240
- uses: ./.github/actions/build-and-test
241241

242+
ubuntu22-pg14-clang14-jit:
243+
runs-on: ubuntu-22.04
244+
245+
env:
246+
CC: clang-14
247+
CXX: clang++-14
248+
LUA_VERSION: 5.4
249+
LUAJIT_OPTION: ON
250+
POSTGRESQL_VERSION: 14
251+
POSTGIS_VERSION: 3
252+
CPP_VERSION: 17
253+
BUILD_TYPE: Debug
254+
255+
steps:
256+
- uses: actions/checkout@v3
257+
- uses: ./.github/actions/ubuntu-prerequisites
258+
- uses: ./.github/actions/build-and-test
259+
260+
ubuntu22-pg14-clang14-proj6:
261+
runs-on: ubuntu-22.04
262+
263+
env:
264+
CC: clang-14
265+
CXX: clang++-14
266+
LUA_VERSION: 5.4
267+
LUAJIT_OPTION: OFF
268+
POSTGRESQL_VERSION: 14
269+
POSTGIS_VERSION: 3
270+
CPP_VERSION: 17
271+
USE_PROJ_LIB: 6
272+
BUILD_TYPE: Debug
273+
274+
steps:
275+
- uses: actions/checkout@v3
276+
- uses: ./.github/actions/ubuntu-prerequisites
277+
- uses: ./.github/actions/build-and-test
278+
279+
ubuntu22-pg14-clang14-noproj:
280+
runs-on: ubuntu-22.04
281+
282+
env:
283+
CC: clang-14
284+
CXX: clang++-14
285+
LUA_VERSION: 5.3
286+
LUAJIT_OPTION: OFF
287+
POSTGRESQL_VERSION: 14
288+
POSTGIS_VERSION: 3
289+
CPP_VERSION: 17
290+
USE_PROJ_LIB: off
291+
BUILD_TYPE: Debug
292+
293+
steps:
294+
- uses: actions/checkout@v3
295+
- uses: ./.github/actions/ubuntu-prerequisites
296+
- uses: ./.github/actions/build-and-test
297+
298+
ubuntu22-pg14-clang14-cpp17:
299+
runs-on: ubuntu-22.04
300+
301+
env:
302+
CC: clang-14
303+
CXX: clang++-14
304+
LUA_VERSION: 5.4
305+
LUAJIT_OPTION: OFF
306+
POSTGRESQL_VERSION: 14
307+
POSTGIS_VERSION: 3
308+
CPP_VERSION: 17
309+
USE_PROJ_LIB: 6
310+
BUILD_TYPE: Debug
311+
312+
steps:
313+
- uses: actions/checkout@v3
314+
- uses: ./.github/actions/ubuntu-prerequisites
315+
- uses: ./.github/actions/build-and-test
316+
317+
ubuntu22-pg14-gcc12-release:
318+
runs-on: ubuntu-22.04
319+
320+
env:
321+
CC: gcc-12
322+
CXX: g++-12
323+
EXTRA_FLAGS: -Wno-stringop-overread
324+
LUA_VERSION: 5.4
325+
LUAJIT_OPTION: ON
326+
POSTGRESQL_VERSION: 14
327+
POSTGIS_VERSION: 3
328+
CPP_VERSION: 17
329+
BUILD_TYPE: Release
330+
331+
steps:
332+
- uses: actions/checkout@v3
333+
- uses: ./.github/actions/ubuntu-prerequisites
334+
- uses: ./.github/actions/build-and-test
335+
336+
ubuntu22-pg14-gcc12-release-nolua:
337+
runs-on: ubuntu-22.04
338+
339+
env:
340+
CC: gcc-12
341+
CXX: g++-12
342+
EXTRA_FLAGS: -Wno-stringop-overread
343+
POSTGRESQL_VERSION: 14
344+
POSTGIS_VERSION: 3
345+
CPP_VERSION: 17
346+
BUILD_TYPE: Release
347+
348+
steps:
349+
- uses: actions/checkout@v3
350+
- uses: ./.github/actions/ubuntu-prerequisites
351+
- uses: ./.github/actions/build-and-test
352+
242353
windows:
243354
strategy:
244355
fail-fast: false

0 commit comments

Comments
 (0)