summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-05 09:08:14 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-05 09:09:04 +0200
commitcf0972ef1bdc78ee0156c7fbdb0f59a34aeb800a (patch)
tree98bb602c52ad9f634814587c0986d8fa603a0880
parente13a432eb052c58896d10389fb33d2b35ae1aaeb (diff)
downloadgnutls-cf0972ef1bdc78ee0156c7fbdb0f59a34aeb800a.tar.gz
.gitlab-ci.yml: added C99 target for the library
This compiles the library using gcc options for the C99 standard.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9392a5fb9f..77dff4ac23 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,7 +40,15 @@ Build and Check - separate build dir (x86):
- nettle3
except:
- tags
-Build and ABI-check (x86-64):
+Build with C99 flags:
+ script:
+ - make autoreconf && mkdir -p build && cd build &&
+ CFLAGS="-g -O2 -std=c99" ../configure --disable-doc --disable-cxx --disable-guile --disable-non-suiteb-curves && make -j4 -C gl && make -j4 -C lib && make -j4 -C libdane
+ tags:
+ - nettle3
+ except:
+ - tags
+Build with ABI-check (x86-64):
script:
- make autoreconf && mkdir -p build && cd build &&
../configure --disable-doc --disable-cxx --disable-guile --disable-non-suiteb-curves && make -j4 && make abi-check