From 9b8b3f300f1f8aa93d7d4590d92bc746ce6412cb Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 27 Feb 2019 17:26:42 +0000 Subject: [PATCH] automation: introduce a test to build each commit This is added to the test stage so that its failure won't block other things. Signed-off-by: Wei Liu Acked-by: Doug Goldstein --- automation/gitlab-ci/test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index fea097941e..c9d454abb8 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -1,4 +1,27 @@ # Test jobs +build-each-commit-gcc: + stage: test + image: registry.gitlab.com/xen-project/xen/${CONTAINER} + variables: + CONTAINER: debian:stretch + XEN_TARGET_ARCH: x86_64 + CC: gcc + script: + - ./automation/gitlab-ci/build-each-commit.sh 2>&1 | tee build-each-commit-gcc.log + artifacts: + paths: + - '*.log' + when: always + dependencies: + - debian-stretch-gcc-debug + tags: + - x86_64 + except: + - master + - smoke + - /^coverity-tested\/.*/ + - /^stable-.*/ + qemu-smoke-x86-64-gcc: stage: test image: registry.gitlab.com/xen-project/xen/${CONTAINER} -- 2.39.5