From 28748db0b26a96328d403525f6ed0226dd2453b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Sun, 12 Aug 2018 17:43:14 +0200 Subject: [PATCH 1/2] paste config.log to output if configure ends up with failure --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47a7e5fa40..feaaa12c60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,7 +115,7 @@ stages: - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}" # - ./autogen.sh script: - - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr $EXTRA_CONFIGURE + - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr $EXTRA_CONFIGURE || cat config.log - make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1 artifacts: expire_in: '1 hour' From 9c950e5961c73017b6dd12efe24b979e9f366ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 14 Aug 2018 18:59:53 +0200 Subject: [PATCH 2/2] Add install test job --- .gitlab-ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index feaaa12c60..93a3a37d1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,12 +115,19 @@ stages: - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}" # - ./autogen.sh script: - - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr $EXTRA_CONFIGURE || cat config.log + - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr --prefix=$HOME/.local $EXTRA_CONFIGURE || cat config.log - make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1 artifacts: expire_in: '1 hour' untracked: true +.install_test: &install_test_job + stage: test + before_script: + - mkdir $HOME/.local + script: + - make install + .system_test: &system_test_job stage: test before_script: @@ -333,6 +340,12 @@ systemtest:debian:sid:i386: dependencies: - build:debian:sid:i386 +install:debian:sid:amd64: + <<: *debian_sid_amd64_image + <<: *install_test_job + dependencies: + - build:debian:sid:amd64 + pkcs11:build:debian:sid:amd64: variables: CC: gcc