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