]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
automation: introduce a test to build each commit
authorWei Liu <wei.liu2@citrix.com>
Wed, 27 Feb 2019 17:26:42 +0000 (17:26 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 5 Apr 2019 10:15:38 +0000 (11:15 +0100)
This is added to the test stage so that its failure won't block other
things.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/gitlab-ci/test.yaml

index fea097941e60b57499978820b6e1ecaaa5be05ff..c9d454abb8f8e09258fa0e556f0fcd83b29acdc9 100644 (file)
@@ -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}