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