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