xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision 2a196de1)
1include:
2  - local: '/.gitlab-ci.d/crossbuild-template.yml'
3
4cross-armel-system:
5  extends: .cross_system_build_job
6  needs:
7    job: armel-debian-cross-container
8  variables:
9    IMAGE: debian-armel-cross
10
11cross-armel-user:
12  extends: .cross_user_build_job
13  needs:
14    job: armel-debian-cross-container
15  variables:
16    IMAGE: debian-armel-cross
17
18cross-armhf-system:
19  extends: .cross_system_build_job
20  needs:
21    job: armhf-debian-cross-container
22  variables:
23    IMAGE: debian-armhf-cross
24
25cross-armhf-user:
26  extends: .cross_user_build_job
27  needs:
28    job: armhf-debian-cross-container
29  variables:
30    IMAGE: debian-armhf-cross
31
32cross-arm64-system:
33  extends: .cross_system_build_job
34  needs:
35    job: arm64-debian-cross-container
36  variables:
37    IMAGE: debian-arm64-cross
38
39cross-arm64-user:
40  extends: .cross_user_build_job
41  needs:
42    job: arm64-debian-cross-container
43  variables:
44    IMAGE: debian-arm64-cross
45
46cross-i386-system:
47  extends:
48    - .cross_system_build_job
49    - .cross_test_artifacts
50  needs:
51    job: i386-fedora-cross-container
52  variables:
53    IMAGE: fedora-i386-cross
54    MAKE_CHECK_ARGS: check-qtest
55
56cross-i386-user:
57  extends:
58    - .cross_user_build_job
59    - .cross_test_artifacts
60  needs:
61    job: i386-fedora-cross-container
62  variables:
63    IMAGE: fedora-i386-cross
64    MAKE_CHECK_ARGS: check
65
66cross-i386-tci:
67  extends:
68    - .cross_accel_build_job
69    - .cross_test_artifacts
70  timeout: 60m
71  needs:
72    job: i386-fedora-cross-container
73  variables:
74    IMAGE: fedora-i386-cross
75    ACCEL: tcg-interpreter
76    EXTRA_CONFIGURE_OPTS: --target-list=i386-softmmu,i386-linux-user,aarch64-softmmu,aarch64-linux-user,ppc-softmmu,ppc-linux-user
77    MAKE_CHECK_ARGS: check check-tcg
78
79cross-mipsel-system:
80  extends: .cross_system_build_job
81  needs:
82    job: mipsel-debian-cross-container
83  variables:
84    IMAGE: debian-mipsel-cross
85
86cross-mipsel-user:
87  extends: .cross_user_build_job
88  needs:
89    job: mipsel-debian-cross-container
90  variables:
91    IMAGE: debian-mipsel-cross
92
93cross-mips64el-system:
94  extends: .cross_system_build_job
95  needs:
96    job: mips64el-debian-cross-container
97  variables:
98    IMAGE: debian-mips64el-cross
99
100cross-mips64el-user:
101  extends: .cross_user_build_job
102  needs:
103    job: mips64el-debian-cross-container
104  variables:
105    IMAGE: debian-mips64el-cross
106
107cross-ppc64el-system:
108  extends: .cross_system_build_job
109  needs:
110    job: ppc64el-debian-cross-container
111  variables:
112    IMAGE: debian-ppc64el-cross
113
114cross-ppc64el-user:
115  extends: .cross_user_build_job
116  needs:
117    job: ppc64el-debian-cross-container
118  variables:
119    IMAGE: debian-ppc64el-cross
120
121cross-ppc64el-kvm-only:
122  extends: .cross_accel_build_job
123  needs:
124    job: ppc64el-debian-cross-container
125  variables:
126    IMAGE: debian-ppc64el-cross
127    EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-devices
128
129# The riscv64 cross-builds currently use a 'sid' container to get
130# compilers and libraries. Until something more stable is found we
131# allow_failure so as not to block CI.
132cross-riscv64-system:
133  extends: .cross_system_build_job
134  allow_failure: true
135  needs:
136    job: riscv64-debian-cross-container
137  variables:
138    IMAGE: debian-riscv64-cross
139
140cross-riscv64-user:
141  extends: .cross_user_build_job
142  allow_failure: true
143  needs:
144    job: riscv64-debian-cross-container
145  variables:
146    IMAGE: debian-riscv64-cross
147
148cross-s390x-system:
149  extends: .cross_system_build_job
150  needs:
151    job: s390x-debian-cross-container
152  variables:
153    IMAGE: debian-s390x-cross
154
155cross-s390x-user:
156  extends: .cross_user_build_job
157  needs:
158    job: s390x-debian-cross-container
159  variables:
160    IMAGE: debian-s390x-cross
161
162cross-s390x-kvm-only:
163  extends: .cross_accel_build_job
164  needs:
165    job: s390x-debian-cross-container
166  variables:
167    IMAGE: debian-s390x-cross
168    EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
169
170cross-mips64el-kvm-only:
171  extends: .cross_accel_build_job
172  needs:
173    job: mips64el-debian-cross-container
174  variables:
175    IMAGE: debian-mips64el-cross
176    EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
177
178cross-win32-system:
179  extends: .cross_system_build_job
180  needs:
181    job: win32-fedora-cross-container
182  variables:
183    IMAGE: fedora-win32-cross
184    EXTRA_CONFIGURE_OPTS: --enable-fdt=internal
185    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu m68k-softmmu
186                        microblazeel-softmmu mips64el-softmmu nios2-softmmu
187  artifacts:
188    paths:
189      - build/qemu-setup*.exe
190
191cross-win64-system:
192  extends: .cross_system_build_job
193  needs:
194    job: win64-fedora-cross-container
195  variables:
196    IMAGE: fedora-win64-cross
197    EXTRA_CONFIGURE_OPTS: --enable-fdt=internal
198    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
199                        m68k-softmmu microblazeel-softmmu nios2-softmmu
200                        or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
201                        tricore-softmmu xtensaeb-softmmu
202  artifacts:
203    paths:
204      - build/qemu-setup*.exe
205
206cross-amd64-xen-only:
207  extends: .cross_accel_build_job
208  needs:
209    job: amd64-debian-cross-container
210  variables:
211    IMAGE: debian-amd64-cross
212    ACCEL: xen
213    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
214
215cross-arm64-xen-only:
216  extends: .cross_accel_build_job
217  needs:
218    job: arm64-debian-cross-container
219  variables:
220    IMAGE: debian-arm64-cross
221    ACCEL: xen
222    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
223