Skip to content

Commit 4f27b1c

Browse files
authored
Merge pull request #2322 from joto/actions-build-sanitizer
CI: Also build with address and UB sanitizer
2 parents ad4ff1f + a082a29 commit 4f27b1c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,27 @@ jobs:
296296
- uses: ./.github/actions/linux-cmake
297297
- uses: ./.github/actions/build-and-test
298298

299+
ubuntu24-pg17-clang16-san:
300+
runs-on: ubuntu-24.04
301+
302+
env:
303+
CC: clang-16
304+
CXX: clang++-16
305+
EXTRA_FLAGS: -fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer
306+
LDFLAGS: -fsanitize=address,undefined
307+
LUA_VERSION: 5.3
308+
LUAJIT_OPTION: OFF
309+
POSTGRESQL_VERSION: 17
310+
POSTGIS_VERSION: 3
311+
BUILD_TYPE: Debug
312+
PSYCOPG: 3
313+
314+
steps:
315+
- uses: actions/checkout@v4
316+
- uses: ./.github/actions/ubuntu-prerequisites
317+
- uses: ./.github/actions/linux-cmake
318+
- uses: ./.github/actions/build-and-test
319+
299320
ubuntu24-pg17-gcc12-cpp20:
300321
runs-on: ubuntu-24.04
301322

0 commit comments

Comments
 (0)