diff options
author | Niels Möller <nisse@lysator.liu.se> | 2019-01-21 23:07:27 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-01-21 23:07:27 +0100 |
commit | fbc93be6db0828d6393a83526189550d8fde5241 (patch) | |
tree | 89a2c7cf0798ecd07734c226dabd6dffeaa87c80 /.gitlab-ci.yml | |
parent | 479026dfe3f2bd3c4db43f6d5e9390a1731ff2ad (diff) | |
download | nettle-fbc93be6db0828d6393a83526189550d8fde5241.tar.gz |
.gitlab-ci.yml: Add -std=c89 and -DNDEBUG builds.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae01adcd..ecd95ad3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,26 @@ build/mini-gmp: - shared except: - tags +build/c89: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - ./.bootstrap && + ./configure CC='gcc -std=c89' --disable-static --disable-assembler --disable-documentation && make -j4 && + make check -j4 + tags: + - shared + except: + - tags +build/ndebug: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - ./.bootstrap && + ./configure CPPFLAGS='-DNDEBUG' --disable-static --disable-assembler --disable-documentation && make -j4 && + make check -j4 + tags: + - shared + except: + - tags build/ubsan: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD script: |