summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-06-18 16:20:50 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-06-18 16:20:50 +0200
commitc1673240298b1c443d3a9b56410a63295b8771d5 (patch)
tree362cc76ad8e35aac699427b99b8d449a7fabf804 /.gitlab-ci.yml
parent3d21c3d2933c69be088a326c0c02933bd43bb404 (diff)
downloadgnutls-c1673240298b1c443d3a9b56410a63295b8771d5.tar.gz
Added gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..f0a9285ff9
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,51 @@
+Build with separate build dir:
+ script:
+ - git submodule update --init && make autoreconf && mkdir -p build && cd build &&
+ ../configure --with-included-libtasn1 --disable-doc --disable-valgrind-tests &&
+ make -j2 && make check -j3
+ - cat tests/test-suite.log
+ tags:
+ - fast
+ except:
+ - tags
+Build minimal:
+ 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:
+ - fast
+ except:
+ - tags
+Build and Check with valgrind:
+ script:
+ - git submodule update --init && make autoreconf && LDFLAGS="-L/usr/local/lib" ./configure
+ --with-included-libtasn1 --disable-doc && make -j4 && make check -j4
+ - cat tests/test-suite.log
+ tags:
+ - fast
+ except:
+ - tags
+Build and Check with asan:
+ script:
+ - git submodule update --init && make autoreconf &&CFLAGS="-fsanitize=address -g
+ -O2" LDFLAGS="-lasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests
+ && make -j4 && make check -j4
+ - cat tests/test-suite.log
+ tags:
+ - fast
+ except:
+ - tags
+Build and Check:
+ script:
+ - git submodule update --init && make autoreconf && ./configure --with-included-libtasn1
+ --disable-doc --disable-valgrind-tests && make -j2 && make check -j3
+ - cat tests/test-suite.log
+ tags:
+ - slow
+ except:
+ - tags