1# Test jobs
2build-each-commit-gcc:
3  stage: test
4  image: registry.gitlab.com/xen-project/xen/${CONTAINER}
5  variables:
6    CONTAINER: debian:stretch
7    XEN_TARGET_ARCH: x86_64
8    CC: gcc
9  script:
10    - 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
11    - mv ../build-each-commit-gcc.log .
12  artifacts:
13    paths:
14      - '*.log'
15    when: always
16  dependencies: []
17  tags:
18    - x86_64
19  except:
20    - master
21    - smoke
22    - /^coverity-tested\/.*/
23    - /^stable-.*/
24
25qemu-smoke-x86-64-gcc:
26  stage: test
27  image: registry.gitlab.com/xen-project/xen/${CONTAINER}
28  variables:
29    CONTAINER: debian:stretch
30  script:
31    - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
32  artifacts:
33    paths:
34      - smoke.serial
35      - '*.log'
36    when: always
37  dependencies:
38    - debian-stretch-gcc-debug
39  tags:
40    - x86_64
41  except:
42    - master
43    - smoke
44    - /^coverity-tested\/.*/
45    - /^stable-.*/
46
47qemu-smoke-x86-64-clang:
48  stage: test
49  image: registry.gitlab.com/xen-project/xen/${CONTAINER}
50  variables:
51    CONTAINER: debian:stretch
52  script:
53    - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
54  artifacts:
55    paths:
56      - smoke.serial
57      - '*.log'
58    when: always
59  dependencies:
60    - debian-unstable-clang-debug
61  tags:
62    - x86_64
63  except:
64    - master
65    - smoke
66    - /^coverity-tested\/.*/
67    - /^stable-.*/
68
69qemu-smoke-x86-64-gcc-pvh:
70  stage: test
71  image: registry.gitlab.com/xen-project/xen/${CONTAINER}
72  variables:
73    CONTAINER: debian:stretch
74  script:
75    - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
76  artifacts:
77    paths:
78      - smoke.serial
79      - '*.log'
80    when: always
81  dependencies:
82    - debian-stretch-gcc-debug
83  tags:
84    - x86_64
85  except:
86    - master
87    - smoke
88    - /^coverity-tested\/.*/
89    - /^stable-.*/
90
91qemu-smoke-x86-64-clang-pvh:
92  stage: test
93  image: registry.gitlab.com/xen-project/xen/${CONTAINER}
94  variables:
95    CONTAINER: debian:stretch
96  script:
97    - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
98  artifacts:
99    paths:
100      - smoke.serial
101      - '*.log'
102    when: always
103  dependencies:
104    - debian-unstable-clang-debug
105  tags:
106    - x86_64
107  except:
108    - master
109    - smoke
110    - /^coverity-tested\/.*/
111    - /^stable-.*/
112