diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-09-12 09:00:15 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-09-12 09:00:15 +0200 |
commit | e5ebabc97c4b2ac51cd2e8a7bb92c045b334bc05 (patch) | |
tree | 125844963717aec31462bd618b06bfb6beaf1d1f | |
parent | 8471c9a6ee4f5af844ca09bf3f7a5b8ef958d3fd (diff) |
gitlab-ci, travis-ci: build ptunnel-ng with sanitizer and assertions enabled
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | .gitlab-ci.yml | 12 | ||||
-rw-r--r-- | .travis.yml | 4 |
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 |