xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision 0038e9a2)
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
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    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu m68k-softmmu
179                        microblazeel-softmmu mips64el-softmmu nios2-softmmu
180  artifacts:
181    paths:
182      - build/qemu-setup*.exe
183
184cross-win64-system:
185  extends: .cross_system_build_job
186  needs:
187    job: win64-fedora-cross-container
188  variables:
189    IMAGE: fedora-win64-cross
190    CROSS_SKIP_TARGETS: or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
191                        tricore-softmmu xtensaeb-softmmu
192  artifacts:
193    paths:
194      - build/qemu-setup*.exe
195
196cross-amd64-xen-only:
197  extends: .cross_accel_build_job
198  needs:
199    job: amd64-debian-cross-container
200  variables:
201    IMAGE: debian-amd64-cross
202    ACCEL: xen
203    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
204
205cross-arm64-xen-only:
206  extends: .cross_accel_build_job
207  needs:
208    job: arm64-debian-cross-container
209  variables:
210    IMAGE: debian-arm64-cross
211    ACCEL: xen
212    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
213