summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-11-15 17:16:19 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-11-15 17:18:07 +0100
commit8dca13d889ab1e124424901aa3a4c268227d9fb2 (patch)
tree47994bad0d162dac3856edb9343a21e251e8c7e0 /.gitlab-ci.yml
parent47bfbbf50ff48b0946ca921aa94c914b2e2defce (diff)
downloadgnutls-8dca13d889ab1e124424901aa3a4c268227d9fb2.tar.gz
Added CI build rules
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..664ee645d8
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,45 @@
+Compile minimal library:
+ script:
+ - git submodule update --init && make autoreconf && ./configure --with-included-libtasn1
+ --disable-doc --disable-dtls-srtp-support --disable-alpn-support --disable-rsa-export
+ --disable-heartbeat-support --disable-srp-authentication --disable-psk-authentication
+ --disable-anon-authentication --disable-dhe --disable-ecdhe --disable-openpgp-authentication
+ --disable-ocsp --disable-session-tickets --disable-openssl-compatibility --disable-non-suiteb-curves
+ --disable-nls --disable-crywrap --disable-libdane --without-p11-kit --without-tpm
+ --without-zlib --disable-doc --disable-tests && make -j4
+ tags:
+ - x86-64
+ - nettle2
+ except:
+ - tags
+Build and Check with valgrind:
+ script:
+ - git submodule update --init && make autoreconf && ./configure
+ --disable-non-suiteb-curves --with-included-libtasn1 --disable-doc && make -j4 && make check -j4
+ - cat tests/test-suite.log
+ tags:
+ - x86-64
+ - nettle2
+ except:
+ - tags
+Build and Check with asan:
+ script:
+ - git submodule update --init && make autoreconf &&CFLAGS="-fsanitize=address -g
+ -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile
+ && make -j4 && make check -j4
+ - cat tests/test-suite.log
+ tags:
+ - x86-64
+ - nettle2
+ except:
+ - tags
+Build and Check - separate build dir (x86-64):
+ script:
+ - git submodule update --init && make autoreconf && mkdir -p build && cd build && ../configure
+ --disable-non-suiteb-curves --with-included-libtasn1 --enable-seccomp-tests --disable-valgrind-tests --disable-doc && make -j4 && make check -j4
+ - cat tests/test-suite.log
+ tags:
+ - x86-64
+ - nettle2
+ except:
+ - tags