diff options
author | Andreas Schneider <asn@samba.org> | 2020-03-23 18:49:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2020-03-24 11:20:03 +0100 |
commit | 3f0088a09ee3bab5d66ac703271a9381e1828017 (patch) | |
tree | d174872943dffa477cb1d18052fe598cc0e859f4 | |
parent | 97fdcec92ee34cf061222e3d12c2624ec7ab4ff7 (diff) | |
download | pam_wrapper-3f0088a09ee3bab5d66ac703271a9381e1828017.tar.gz pam_wrapper-3f0088a09ee3bab5d66ac703271a9381e1828017.tar.xz pam_wrapper-3f0088a09ee3bab5d66ac703271a9381e1828017.zip |
gitlab-ci: Add ubuntu target
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 440521d..a381629 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ variables: FEDORA_BUILD: buildenv-fedora CENTOS7_BUILD: buildenv-centos7 TUMBLEWEED_BUILD: buildenv-tumbleweed + UBUNTU_BUILD: buildenv-ubuntu centos7/x86_64: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS7_BUILD @@ -208,3 +209,21 @@ tumbleweed/static-analysis: when: on_failure paths: - obj/scan + +ubuntu/x86_64: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU_BUILD + script: + - mkdir -p obj && cd obj && cmake + -DCMAKE_BUILD_TYPE=RelWithDebInfo + -DPICKY_DEVELOPER=ON + -DUNIT_TESTING=ON .. && + make -j$(nproc) && ctest --output-on-failure + tags: + - shared + except: + - tags + artifacts: + expire_in: 1 week + when: on_failure + paths: + - obj/ |