summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-11-21 16:36:09 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-23 14:45:24 +0100
commit6d3941e71b33c9b9fb53e3de84d044a935c96994 (patch)
treecd706303e5bf0d391dfd0d096bdf0e69da86fac8
parente5553a92d9ed34d2926673b0e672d7c43b33a1d2 (diff)
downloadlibssh-6d3941e71b33c9b9fb53e3de84d044a935c96994.tar.gz
libssh-6d3941e71b33c9b9fb53e3de84d044a935c96994.tar.xz
libssh-6d3941e71b33c9b9fb53e3de84d044a935c96994.zip
gitlab-ci: Add Ubuntu target (based on Fedora one)
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c273e13..046225fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
variables:
BUILD_IMAGES_PROJECT: libssh/build-images
FEDORA_BUILD: buildenv-fedora
+ UBUNTU_BUILD: buildenv-ubuntu
CENTOS7_BUILD: buildenv-centos7
TUMBLEWEED_BUILD: buildenv-tumbleweed
MINGW_BUILD: buildenv-mingw
@@ -187,6 +188,29 @@ fedora/csbuild:
paths:
- obj-csbuild/
+ubuntu/openssl_1.1.x/x86_64:
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU_BUILD
+ script:
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_INSTALL_PREFIX=/tmp/local
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DWITH_BLOWFISH_CIPHER=ON
+ -DWITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON
+ -DWITH_DEBUG_CRYPTO=ON
+ -DWITH_DEBUG_PACKET=ON -DWITH_DEBUG_CALLTRACE=ON
+ -DUNIT_TESTING=ON -DCLIENT_TESTING=ON -DSERVER_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure && make install
+ tags:
+ - shared
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - obj/
+
# That is a specific runner that we cannot enable universally.
# We restrict it to builds under the $BUILD_IMAGES_PROJECT project.
freebsd/x86_64: