Files
xen/automation/gitlab-ci/test.yaml
T
Wei Liu 1d1f161153 gitlab-ci: allow specifying base and tip in build test
We will soon provide this new capability to humans and automated
systems.

The default behaviour is retained: tip and base are passed by Gitlab
CI.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
2019-05-15 11:01:06 +01:00

112 lines
2.4 KiB
YAML

# 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:
- BASE=${BASE_SHA:-${CI_COMMIT_BEFORE_SHA}} TIP=${TIP_SHA:-${CI_COMMIT_SHA}} ./automation/gitlab-ci/build-each-commit.sh 2>&1 | tee ../build-each-commit-gcc.log
- mv ../build-each-commit-gcc.log .
artifacts:
paths:
- '*.log'
when: always
dependencies: []
tags:
- x86_64
except:
- master
- smoke
- /^coverity-tested\/.*/
- /^stable-.*/
qemu-smoke-x86-64-gcc:
stage: test
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
variables:
CONTAINER: debian:stretch
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
artifacts:
paths:
- smoke.serial
- '*.log'
when: always
dependencies:
- debian-stretch-gcc-debug
tags:
- x86_64
except:
- master
- smoke
- /^coverity-tested\/.*/
- /^stable-.*/
qemu-smoke-x86-64-clang:
stage: test
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
variables:
CONTAINER: debian:stretch
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
artifacts:
paths:
- smoke.serial
- '*.log'
when: always
dependencies:
- debian-unstable-clang-debug
tags:
- x86_64
except:
- master
- smoke
- /^coverity-tested\/.*/
- /^stable-.*/
qemu-smoke-x86-64-gcc-pvh:
stage: test
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
variables:
CONTAINER: debian:stretch
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
artifacts:
paths:
- smoke.serial
- '*.log'
when: always
dependencies:
- debian-stretch-gcc-debug
tags:
- x86_64
except:
- master
- smoke
- /^coverity-tested\/.*/
- /^stable-.*/
qemu-smoke-x86-64-clang-pvh:
stage: test
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
variables:
CONTAINER: debian:stretch
script:
- ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
artifacts:
paths:
- smoke.serial
- '*.log'
when: always
dependencies:
- debian-unstable-clang-debug
tags:
- x86_64
except:
- master
- smoke
- /^coverity-tested\/.*/
- /^stable-.*/