]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: added C99 target for the library
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 5 Apr 2016 07:08:14 +0000 (09:08 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 5 Apr 2016 07:09:04 +0000 (09:09 +0200)
This compiles the library using gcc options for the C99
standard.

.gitlab-ci.yml

index 9392a5fb9f88531a8aa14d9879549047e78ab417..77dff4ac23044a2e4f756c17d0ca122e23f04b93 100644 (file)
@@ -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