Commit a8649cc2 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Add AddressSanitizer enabled build to GitLab CI

parent 5bc8feab
...@@ -275,6 +275,15 @@ build:debian:sid:amd64: ...@@ -275,6 +275,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:clang:debian:stretch:i386: build:clang:debian:stretch:i386:
variables: variables:
CC: clang CC: clang
...@@ -320,6 +329,12 @@ unittest:debian:sid:amd64: ...@@ -320,6 +329,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:clang:debian:stretch:amd64: unittest:clang:debian:stretch:amd64:
<<: *debian_stretch_amd64_image <<: *debian_stretch_amd64_image
<<: *unit_test_job <<: *unit_test_job
...@@ -362,6 +377,12 @@ systemtest:debian:sid:amd64: ...@@ -362,6 +377,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