1# All ubuntu-20.04 jobs should run successfully in an environment
2# setup by the scripts/ci/setup/build-environment.yml task
3# "Install basic packages to build QEMU on Ubuntu 20.04/20.04"
4
5ubuntu-20.04-s390x-all-linux-static:
6 needs: []
7 stage: build
8 tags:
9 - ubuntu_20.04
10 - s390x
11 rules:
12 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
13 - if: "$S390X_RUNNER_AVAILABLE"
14 script:
15 # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
16 # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
17 - mkdir build
18 - cd build
19 - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
20 - make --output-sync -j`nproc`
21 - make --output-sync -j`nproc` check V=1
22 - make --output-sync -j`nproc` check-tcg V=1
23
24ubuntu-20.04-s390x-all:
25 needs: []
26 stage: build
27 tags:
28 - ubuntu_20.04
29 - s390x
30 rules:
31 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
32 - if: "$S390X_RUNNER_AVAILABLE"
33 script:
34 - mkdir build
35 - cd build
36 - ../configure --disable-libssh
37 - make --output-sync -j`nproc`
38 - make --output-sync -j`nproc` check V=1
39
40ubuntu-20.04-s390x-alldbg:
41 needs: []
42 stage: build
43 tags:
44 - ubuntu_20.04
45 - s390x
46 rules:
47 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
48   when: manual
49   allow_failure: true
50 - if: "$S390X_RUNNER_AVAILABLE"
51   when: manual
52   allow_failure: true
53 script:
54 - mkdir build
55 - cd build
56 - ../configure --enable-debug --disable-libssh
57 - make clean
58 - make --output-sync -j`nproc`
59 - make --output-sync -j`nproc` check V=1
60
61ubuntu-20.04-s390x-clang:
62 needs: []
63 stage: build
64 tags:
65 - ubuntu_20.04
66 - s390x
67 rules:
68 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
69   when: manual
70   allow_failure: true
71 - if: "$S390X_RUNNER_AVAILABLE"
72   when: manual
73   allow_failure: true
74 script:
75 - mkdir build
76 - cd build
77 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
78 - make --output-sync -j`nproc`
79 - make --output-sync -j`nproc` check V=1
80
81ubuntu-20.04-s390x-tci:
82 needs: []
83 stage: build
84 tags:
85 - ubuntu_20.04
86 - s390x
87 rules:
88 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
89   when: manual
90   allow_failure: true
91 - if: "$S390X_RUNNER_AVAILABLE"
92   when: manual
93   allow_failure: true
94 script:
95 - mkdir build
96 - cd build
97 - ../configure --disable-libssh --enable-tcg-interpreter
98 - make --output-sync -j`nproc`
99
100ubuntu-20.04-s390x-notcg:
101 needs: []
102 stage: build
103 tags:
104 - ubuntu_20.04
105 - s390x
106 rules:
107 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
108   when: manual
109   allow_failure: true
110 - if: "$S390X_RUNNER_AVAILABLE"
111   when: manual
112   allow_failure: true
113 script:
114 - mkdir build
115 - cd build
116 - ../configure --disable-libssh --disable-tcg
117 - make --output-sync -j`nproc`
118 - make --output-sync -j`nproc` check V=1
119