Commit 6c73f8d6 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 1b9bc18a
...@@ -246,7 +246,16 @@ build:debian:sid:amd64: ...@@ -246,7 +246,16 @@ build:debian:sid:amd64:
EXTRA_CONFIGURE: "--without-eddsa" EXTRA_CONFIGURE: "--without-eddsa"
<<: *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"
...@@ -270,7 +279,13 @@ unittest:debian:sid:amd64: ...@@ -270,7 +279,13 @@ unittest:debian:sid:amd64:
<<: *unit_test_job <<: *unit_test_job
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
...@@ -294,7 +309,13 @@ systemtest:debian:sid:amd64: ...@@ -294,7 +309,13 @@ systemtest:debian:sid:amd64:
<<: *system_test_job <<: *system_test_job
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