xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision 3b3e4c28)
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-user:
41  extends:
42    - .cross_user_build_job
43    - .cross_test_artifacts
44  needs:
45    job: i686-debian-cross-container
46  variables:
47    IMAGE: debian-i686-cross
48    MAKE_CHECK_ARGS: check
49
50cross-i686-tci:
51  extends:
52    - .cross_accel_build_job
53    - .cross_test_artifacts
54  timeout: 60m
55  needs:
56    job: i686-debian-cross-container
57  variables:
58    IMAGE: debian-i686-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 --disable-plugins
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-win64-system:
163  extends: .cross_system_build_job
164  needs:
165    job: win64-fedora-cross-container
166  variables:
167    IMAGE: fedora-win64-cross
168    EXTRA_CONFIGURE_OPTS: --enable-fdt=internal --disable-plugins
169    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
170                        m68k-softmmu microblazeel-softmmu nios2-softmmu
171                        or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
172                        tricore-softmmu xtensaeb-softmmu
173  artifacts:
174    when: on_success
175    paths:
176      - build/qemu-setup*.exe
177
178cross-amd64-xen-only:
179  extends: .cross_accel_build_job
180  needs:
181    job: amd64-debian-cross-container
182  variables:
183    IMAGE: debian-amd64-cross
184    ACCEL: xen
185    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
186
187cross-arm64-xen-only:
188  extends: .cross_accel_build_job
189  needs:
190    job: arm64-debian-cross-container
191  variables:
192    IMAGE: debian-arm64-cross
193    ACCEL: xen
194    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
195