Commit f8281380 authored by Ondřej Surý's avatar Ondřej Surý Committed by Mark Andrews
Browse files

Add AddressSanitizer enabled build to GitLab CI

(cherry picked from commit a8649cc2)
parent f1ad5bcc
...@@ -247,6 +247,15 @@ build:debian:sid:amd64: ...@@ -247,6 +247,15 @@ build:debian:sid:amd64:
<<: *debian_sid_amd64_image <<: *debian_sid_amd64_image
<<: *build_job <<: *build_job
build:asan:debian:sid:amd64:
variables:
CC: gcc
CFLAGS: "-Wall -Wextra -O2 -g -fsanitize=address,undefined"
LDFLAGS: "-fsanitize=address,undefined"
EXTRA_CONFIGURE: "--with-libidn2"
<<: *debian_sid_amd64_image
<<: *build_job
build:debian:sid:i386: build:debian:sid:i386:
variables: variables:
EXTRA_CONFIGURE: "--without-eddsa" EXTRA_CONFIGURE: "--without-eddsa"
...@@ -271,6 +280,12 @@ unittest:debian:sid:amd64: ...@@ -271,6 +280,12 @@ unittest:debian:sid:amd64:
dependencies: dependencies:
- build:debian:sid:amd64 - build:debian:sid:amd64
unittest:asan:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *unit_test_job
dependencies:
- build:asan:debian:sid:amd64
unittest:debian:sid:i386: unittest:debian:sid:i386:
<<: *debian_sid_i386_image <<: *debian_sid_i386_image
<<: *unit_test_job <<: *unit_test_job
...@@ -295,6 +310,12 @@ systemtest:debian:sid:amd64: ...@@ -295,6 +310,12 @@ systemtest:debian:sid:amd64:
dependencies: dependencies:
- build:debian:sid:amd64 - build:debian:sid:amd64
systemtest:asan:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *system_test_job
dependencies:
- build:asan:debian:sid:amd64
systemtest:debian:sid:i386: systemtest:debian:sid:i386:
<<: *debian_sid_i386_image <<: *debian_sid_i386_image
<<: *system_test_job <<: *system_test_job
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment