1# All ubuntu-22.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 22.04"
4
5ubuntu-22.04-s390x-all-linux-static:
6 extends: .custom_runner_template
7 needs: []
8 stage: build
9 tags:
10 - ubuntu_22.04
11 - s390x
12 rules:
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$S390X_RUNNER_AVAILABLE"
15 script:
16 - mkdir build
17 - cd build
18 - ../configure --enable-debug --static --disable-system
19   || { cat config.log meson-logs/meson-log.txt; exit 1; }
20 - make --output-sync -j`nproc`
21 - make --output-sync check-tcg
22 - make --output-sync -j`nproc` check
23
24ubuntu-22.04-s390x-all:
25 extends: .custom_runner_template
26 needs: []
27 stage: build
28 tags:
29 - ubuntu_22.04
30 - s390x
31 timeout: 75m
32 rules:
33 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
34 - if: "$S390X_RUNNER_AVAILABLE"
35 script:
36 - mkdir build
37 - cd build
38 - ../configure --disable-libssh
39   || { cat config.log meson-logs/meson-log.txt; exit 1; }
40 - make --output-sync -j`nproc`
41 - make --output-sync -j`nproc` check
42
43ubuntu-22.04-s390x-alldbg:
44 extends: .custom_runner_template
45 needs: []
46 stage: build
47 tags:
48 - ubuntu_22.04
49 - s390x
50 rules:
51 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
52   when: manual
53   allow_failure: true
54 - if: "$S390X_RUNNER_AVAILABLE"
55   when: manual
56   allow_failure: true
57 script:
58 - mkdir build
59 - cd build
60 - ../configure --enable-debug --disable-libssh
61   || { cat config.log meson-logs/meson-log.txt; exit 1; }
62 - make clean
63 - make --output-sync -j`nproc`
64 - make --output-sync -j`nproc` check
65
66ubuntu-22.04-s390x-clang:
67 extends: .custom_runner_template
68 needs: []
69 stage: build
70 tags:
71 - ubuntu_22.04
72 - s390x
73 rules:
74 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
75   when: manual
76   allow_failure: true
77 - if: "$S390X_RUNNER_AVAILABLE"
78   when: manual
79   allow_failure: true
80 script:
81 - mkdir build
82 - cd build
83 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
84   || { cat config.log meson-logs/meson-log.txt; exit 1; }
85 - make --output-sync -j`nproc`
86 - make --output-sync -j`nproc` check
87
88ubuntu-22.04-s390x-tci:
89 needs: []
90 stage: build
91 tags:
92 - ubuntu_22.04
93 - s390x
94 rules:
95 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
96   when: manual
97   allow_failure: true
98 - if: "$S390X_RUNNER_AVAILABLE"
99   when: manual
100   allow_failure: true
101 script:
102 - mkdir build
103 - cd build
104 - ../configure --disable-libssh --enable-tcg-interpreter
105   || { cat config.log meson-logs/meson-log.txt; exit 1; }
106 - make --output-sync -j`nproc`
107
108ubuntu-22.04-s390x-notcg:
109 extends: .custom_runner_template
110 needs: []
111 stage: build
112 tags:
113 - ubuntu_22.04
114 - s390x
115 rules:
116 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
117   when: manual
118   allow_failure: true
119 - if: "$S390X_RUNNER_AVAILABLE"
120   when: manual
121   allow_failure: true
122 script:
123 - mkdir build
124 - cd build
125 - ../configure --disable-libssh --disable-tcg
126   || { cat config.log meson-logs/meson-log.txt; exit 1; }
127 - make --output-sync -j`nproc`
128 - make --output-sync -j`nproc` check
129