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