aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
-rw-r--r--.travis.yml4
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7c51609..6bb6ce6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,18 @@ build:
- config.log
when: always
+build-sanitizer-asserts:
+ script:
+ - autoreconf -fi
+ - ./configure --enable-option-checking=fatal --prefix=/ --enable-sanitizer --enable-asserts
+ - make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy/gcc-sanitizer-asserts)" V=s
+ stage: build
+ artifacts:
+ paths:
+ - deploy/
+ - config.log
+ when: always
+
build-debian:
script:
- dpkg-buildpackage -b -us -uc
diff --git a/.travis.yml b/.travis.yml
index 630d2bb..2a10729 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,10 @@ script:
- ./configure --enable-option-checking=fatal --prefix=/
- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy/gcc)" V=s
- make clean
+# default gcc build with sanitizer and assertions
+- ./configure --enable-option-checking=fatal --prefix=/ --enable-sanitizer --enable-asserts
+- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy/gcc-sanitizer-asserts)" V=s
+- make clean
# debian build
- dpkg-buildpackage -b -us -uc
- make clean