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:
27 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
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:
46 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
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:
62 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
66 - ../configure --enable-debug --disable-libssh
68 - make --output-sync -j`nproc`
69 - make --output-sync -j`nproc` check V=1
71 ubuntu-18.04-s390x-clang:
79 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
84 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
85 - make --output-sync -j`nproc`
86 - make --output-sync -j`nproc` check V=1
88 ubuntu-18.04-s390x-tci:
96 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
100 - ../configure --disable-libssh --enable-tcg-interpreter
101 - make --output-sync -j`nproc`
103 ubuntu-18.04-s390x-notcg:
111 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
116 - ../configure --disable-libssh --disable-tcg
117 - make --output-sync -j`nproc`
118 - make --output-sync -j`nproc` check V=1
120 # All ubuntu-20.04 jobs should run successfully in an environment
121 # setup by the scripts/ci/setup/qemu/build-environment.yml task
122 # "Install basic packages to build QEMU on Ubuntu 18.04/20.04"
123 ubuntu-20.04-aarch64-all-linux-static:
131 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
133 # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
134 # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
137 - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
138 - make --output-sync -j`nproc`
139 - make --output-sync -j`nproc` check V=1
140 - make --output-sync -j`nproc` check-tcg V=1
142 ubuntu-20.04-aarch64-all:
150 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
154 - ../configure --disable-libssh
155 - make --output-sync -j`nproc`
156 - make --output-sync -j`nproc` check V=1
158 ubuntu-20.04-aarch64-alldbg:
166 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
170 - ../configure --enable-debug --disable-libssh
172 - make --output-sync -j`nproc`
173 - make --output-sync -j`nproc` check V=1
175 ubuntu-20.04-aarch64-clang:
183 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
188 - ../configure --disable-libssh --cc=clang-10 --cxx=clang++-10 --enable-sanitizers
189 - make --output-sync -j`nproc`
190 - make --output-sync -j`nproc` check V=1
192 ubuntu-20.04-aarch64-tci:
200 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
204 - ../configure --disable-libssh --enable-tcg-interpreter
205 - make --output-sync -j`nproc`
207 ubuntu-20.04-aarch64-notcg:
215 - if: '$CI_COMMIT_BRANCH =~ /^staging/'
220 - ../configure --disable-libssh --disable-tcg
221 - make --output-sync -j`nproc`
222 - make --output-sync -j`nproc` check V=1