aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-12-10 20:33:21 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-12-12 18:29:14 +0100
commit0bd404bcbd7c3e9e8d5ed58fcb69b95bf7b91e07 (patch)
tree14aa3463d3658c50b8747209018b7981c195675f
parentc9bdb9a01ed47698926899d9102ca758a1f4a0f5 (diff)
downloadlibssh-0bd404bcbd7c3e9e8d5ed58fcb69b95bf7b91e07.tar.gz
libssh-0bd404bcbd7c3e9e8d5ed58fcb69b95bf7b91e07.tar.xz
libssh-0bd404bcbd7c3e9e8d5ed58fcb69b95bf7b91e07.zip
gitlab-ci: Add minimal build
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 169135a8..15070703 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,6 +45,25 @@ fedora/openssl_1.1.x/x86_64:
paths:
- obj/
+fedora/openssl_1.1.x/x86_64/minimal:
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
+ script:
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DWITH_SFTP=OFF -DWITH_SERVER=OFF -DWITH_ZLIB=OFF -DWITH_PCAP=OFF
+ -DUNIT_TESTING=ON -DCLIENT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
+ tags:
+ - shared
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - obj/
+
# Address sanitizer doesn't mix well with LD_PRELOAD used in the testsuite
# so, this is only enabled for unit tests right now.
# TODO: add -DCLIENT_TESTING=ON -DSERVER_TESTING=ON