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