xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision f03d53f9)
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    # Force tests to run with reduced parallelism, to see whether this
66    # reduces the flakiness of this CI job. The CI
67    # environment by default shows us 8 CPUs and so we
68    # would otherwise be using a parallelism of 9.
69    MAKE_CHECK_ARGS: check check-tcg -j2
70
71cross-mipsel-system:
72  extends: .cross_system_build_job
73  needs:
74    job: mipsel-debian-cross-container
75  variables:
76    IMAGE: debian-mipsel-cross
77
78cross-mipsel-user:
79  extends: .cross_user_build_job
80  needs:
81    job: mipsel-debian-cross-container
82  variables:
83    IMAGE: debian-mipsel-cross
84
85cross-mips64el-system:
86  extends: .cross_system_build_job
87  needs:
88    job: mips64el-debian-cross-container
89  variables:
90    IMAGE: debian-mips64el-cross
91
92cross-mips64el-user:
93  extends: .cross_user_build_job
94  needs:
95    job: mips64el-debian-cross-container
96  variables:
97    IMAGE: debian-mips64el-cross
98
99cross-ppc64el-system:
100  extends: .cross_system_build_job
101  needs:
102    job: ppc64el-debian-cross-container
103  variables:
104    IMAGE: debian-ppc64el-cross
105
106cross-ppc64el-user:
107  extends: .cross_user_build_job
108  needs:
109    job: ppc64el-debian-cross-container
110  variables:
111    IMAGE: debian-ppc64el-cross
112
113cross-ppc64el-kvm-only:
114  extends: .cross_accel_build_job
115  needs:
116    job: ppc64el-debian-cross-container
117  variables:
118    IMAGE: debian-ppc64el-cross
119    EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-devices
120
121# The riscv64 cross-builds currently use a 'sid' container to get
122# compilers and libraries. Until something more stable is found we
123# allow_failure so as not to block CI.
124cross-riscv64-system:
125  extends: .cross_system_build_job
126  allow_failure: true
127  needs:
128    job: riscv64-debian-cross-container
129  variables:
130    IMAGE: debian-riscv64-cross
131
132cross-riscv64-user:
133  extends: .cross_user_build_job
134  allow_failure: true
135  needs:
136    job: riscv64-debian-cross-container
137  variables:
138    IMAGE: debian-riscv64-cross
139
140cross-s390x-system:
141  extends: .cross_system_build_job
142  needs:
143    job: s390x-debian-cross-container
144  variables:
145    IMAGE: debian-s390x-cross
146
147cross-s390x-user:
148  extends: .cross_user_build_job
149  needs:
150    job: s390x-debian-cross-container
151  variables:
152    IMAGE: debian-s390x-cross
153
154cross-s390x-kvm-only:
155  extends: .cross_accel_build_job
156  needs:
157    job: s390x-debian-cross-container
158  variables:
159    IMAGE: debian-s390x-cross
160    EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
161
162cross-mips64el-kvm-only:
163  extends: .cross_accel_build_job
164  needs:
165    job: mips64el-debian-cross-container
166  variables:
167    IMAGE: debian-mips64el-cross
168    EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
169
170cross-win64-system:
171  extends: .cross_system_build_job
172  needs:
173    job: win64-fedora-cross-container
174  variables:
175    IMAGE: fedora-win64-cross
176    EXTRA_CONFIGURE_OPTS: --enable-fdt=internal --disable-plugins
177    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
178                        m68k-softmmu microblazeel-softmmu
179                        or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
180                        tricore-softmmu xtensaeb-softmmu
181  artifacts:
182    when: on_success
183    paths:
184      - build/qemu-setup*.exe
185
186cross-amd64-xen-only:
187  extends: .cross_accel_build_job
188  needs:
189    job: amd64-debian-cross-container
190  variables:
191    IMAGE: debian-amd64-cross
192    ACCEL: xen
193    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
194
195cross-arm64-xen-only:
196  extends: .cross_accel_build_job
197  needs:
198    job: arm64-debian-cross-container
199  variables:
200    IMAGE: debian-arm64-cross
201    ACCEL: xen
202    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
203