1 # The CI jobs defined here require GitLab runners installed and
2 # registered on machines that match their operating system names,
3 # versions and architectures. This is in contrast to the other CI
4 # jobs that are intended to run on GitLab's "shared" runners.
6 # Different than the default approach on "shared" runners, based on
7 # containers, the custom runners have no such *requirement*, as those
8 # jobs should be capable of running on operating systems with no
9 # compatible container implementation, or no support from
10 # gitlab-runner. To avoid problems that gitlab-runner can cause while
11 # reusing the GIT repository, let's enable the clone strategy, which
12 # guarantees a fresh repository on each job run.
16 # All ubuntu-18.04 jobs should run successfully in an environment
17 # setup by the scripts/ci/setup/build-environment.yml task
18 # "Install basic packages to build QEMU on Ubuntu 18.04/20.04"
19 ubuntu-18.04-s390x-all-linux-static:
26 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
27 - if: "$S390X_RUNNER_AVAILABLE"
29 # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
30 # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
33 - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
34 - make --output-sync -j`nproc`
35 - make --output-sync -j`nproc` check V=1
36 - make --output-sync -j`nproc` check-tcg V=1
38 ubuntu-18.04-s390x-all:
45 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
46 - if: "$S390X_RUNNER_AVAILABLE"
50 - ../configure --disable-libssh
51 - make --output-sync -j`nproc`
52 - make --output-sync -j`nproc` check V=1
54 ubuntu-18.04-s390x-alldbg:
61 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
63 - if: "$S390X_RUNNER_AVAILABLE"
68 - ../configure --enable-debug --disable-libssh
70 - make --output-sync -j`nproc`
71 - make --output-sync -j`nproc` check V=1
73 ubuntu-18.04-s390x-clang:
80 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
82 - if: "$S390X_RUNNER_AVAILABLE"
87 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
88 - make --output-sync -j`nproc`
89 - make --output-sync -j`nproc` check V=1
91 ubuntu-18.04-s390x-tci:
98 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
100 - if: "$S390X_RUNNER_AVAILABLE"
105 - ../configure --disable-libssh --enable-tcg-interpreter
106 - make --output-sync -j`nproc`
108 ubuntu-18.04-s390x-notcg:
115 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
117 - if: "$S390X_RUNNER_AVAILABLE"
122 - ../configure --disable-libssh --disable-tcg
123 - make --output-sync -j`nproc`
124 - make --output-sync -j`nproc` check V=1
126 # All ubuntu-20.04 jobs should run successfully in an environment
127 # setup by the scripts/ci/setup/qemu/build-environment.yml task
128 # "Install basic packages to build QEMU on Ubuntu 18.04/20.04"
129 ubuntu-20.04-aarch64-all-linux-static:
136 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
137 - if: "$AARCH64_RUNNER_AVAILABLE"
139 # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
140 # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
143 - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
144 - make --output-sync -j`nproc`
145 - make --output-sync -j`nproc` check V=1
146 - make --output-sync -j`nproc` check-tcg V=1
148 ubuntu-20.04-aarch64-all:
155 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
157 - if: "$AARCH64_RUNNER_AVAILABLE"
162 - ../configure --disable-libssh
163 - make --output-sync -j`nproc`
164 - make --output-sync -j`nproc` check V=1
166 ubuntu-20.04-aarch64-alldbg:
173 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
174 - if: "$AARCH64_RUNNER_AVAILABLE"
178 - ../configure --enable-debug --disable-libssh
180 - make --output-sync -j`nproc`
181 - make --output-sync -j`nproc` check V=1
183 ubuntu-20.04-aarch64-clang:
190 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
192 - if: "$AARCH64_RUNNER_AVAILABLE"
197 - ../configure --disable-libssh --cc=clang-10 --cxx=clang++-10 --enable-sanitizers
198 - make --output-sync -j`nproc`
199 - make --output-sync -j`nproc` check V=1
201 ubuntu-20.04-aarch64-tci:
208 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
210 - if: "$AARCH64_RUNNER_AVAILABLE"
215 - ../configure --disable-libssh --enable-tcg-interpreter
216 - make --output-sync -j`nproc`
218 ubuntu-20.04-aarch64-notcg:
225 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
227 - if: "$AARCH64_RUNNER_AVAILABLE"
232 - ../configure --disable-libssh --disable-tcg
233 - make --output-sync -j`nproc`
234 - make --output-sync -j`nproc` check V=1