blob: 178f62869d242e967b1ae3d8b4a75348899a05aa [file] [log] [blame]
Philippe Mathieu-Daudéecac85f2021-05-19 20:54:58 +02001include:
2 - local: '/.gitlab-ci.d/crossbuild-template.yml'
Thomas Huth6bcb5fc2020-07-31 08:38:23 +02003
Thomas Huth6bcb5fc2020-07-31 08:38:23 +02004cross-armhf-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +01005 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +00006 needs:
7 job: armhf-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +02008 variables:
9 IMAGE: debian-armhf-cross
10
11cross-arm64-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010012 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000013 needs:
14 job: arm64-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020015 variables:
16 IMAGE: debian-arm64-cross
17
18cross-arm64-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010019 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000020 needs:
21 job: arm64-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020022 variables:
23 IMAGE: debian-arm64-cross
24
Richard Hendersonc81e2d52023-06-06 19:53:35 +000025cross-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
Alex Bennée4d17cc52024-07-05 09:40:09 +010033cross-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
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000044cross-i686-user:
Alex Bennée1ea5e0b2023-02-28 19:06:41 +000045 extends:
46 - .cross_user_build_job
47 - .cross_test_artifacts
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000048 needs:
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000049 job: i686-debian-cross-container
Thomas Huthee381b72020-12-15 09:34:51 +010050 variables:
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000051 IMAGE: debian-i686-cross
Thomas Huthee381b72020-12-15 09:34:51 +010052 MAKE_CHECK_ARGS: check
53
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000054cross-i686-tci:
Alex Bennée1ea5e0b2023-02-28 19:06:41 +000055 extends:
56 - .cross_accel_build_job
57 - .cross_test_artifacts
Richard Henderson840cafc2021-05-02 16:57:27 -070058 timeout: 60m
Thomas Huth6fd4e752022-05-27 16:35:32 +010059 needs:
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000060 job: i686-debian-cross-container
Richard Henderson840cafc2021-05-02 16:57:27 -070061 variables:
Daniel P. Berrangéaa5730b2023-11-20 15:08:20 +000062 IMAGE: debian-i686-cross
Richard Henderson840cafc2021-05-02 16:57:27 -070063 ACCEL: tcg-interpreter
Alex Bennéea4ad4db2024-07-05 09:40:27 +010064 EXTRA_CONFIGURE_OPTS: --target-list=i386-softmmu,i386-linux-user,aarch64-softmmu,aarch64-linux-user,ppc-softmmu,ppc-linux-user --disable-plugins --disable-kvm
Peter Maydella765aa62024-09-16 14:49:13 +010065 # Force tests to run with reduced parallelism, to see whether this
Peter Maydell1374ed42024-09-12 16:10:03 +010066 # 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.
Peter Maydella765aa62024-09-16 14:49:13 +010069 MAKE_CHECK_ARGS: check check-tcg -j2
Richard Henderson840cafc2021-05-02 16:57:27 -070070
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020071cross-mipsel-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010072 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000073 needs:
74 job: mipsel-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020075 variables:
76 IMAGE: debian-mipsel-cross
77
78cross-mipsel-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010079 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000080 needs:
81 job: mipsel-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020082 variables:
83 IMAGE: debian-mipsel-cross
84
85cross-mips64el-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010086 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000087 needs:
88 job: mips64el-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020089 variables:
90 IMAGE: debian-mips64el-cross
91
92cross-mips64el-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +010093 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +000094 needs:
95 job: mips64el-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +020096 variables:
97 IMAGE: debian-mips64el-cross
98
99cross-ppc64el-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +0100100 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000101 needs:
102 job: ppc64el-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200103 variables:
104 IMAGE: debian-ppc64el-cross
105
106cross-ppc64el-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +0100107 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000108 needs:
109 job: ppc64el-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200110 variables:
111 IMAGE: debian-ppc64el-cross
112
Thomas Hutha99de992022-12-08 11:15:27 +0100113cross-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
Richard Henderson9f620252021-09-17 17:23:26 +0100121# 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
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200140cross-s390x-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +0100141 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000142 needs:
143 job: s390x-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200144 variables:
145 IMAGE: debian-s390x-cross
146
147cross-s390x-user:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +0100148 extends: .cross_user_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000149 needs:
150 job: s390x-debian-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200151 variables:
152 IMAGE: debian-s390x-cross
153
Philippe Mathieu-Daudéb16999a2020-12-07 14:15:02 +0100154cross-s390x-kvm-only:
155 extends: .cross_accel_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000156 needs:
157 job: s390x-debian-cross-container
Philippe Mathieu-Daudéb16999a2020-12-07 14:15:02 +0100158 variables:
159 IMAGE: debian-s390x-cross
Thomas Huth2f5a3752023-02-07 21:14:45 +0100160 EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
Philippe Mathieu-Daudéb16999a2020-12-07 14:15:02 +0100161
Philippe Mathieu-Daudé1c135142021-04-18 17:33:52 +0200162cross-mips64el-kvm-only:
163 extends: .cross_accel_build_job
164 needs:
165 job: mips64el-debian-cross-container
166 variables:
167 IMAGE: debian-mips64el-cross
Richard Hendersone4af2162021-05-02 16:57:26 -0700168 EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
Philippe Mathieu-Daudé1c135142021-04-18 17:33:52 +0200169
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200170cross-win64-system:
Philippe Mathieu-Daudéb62ea742020-12-07 14:15:00 +0100171 extends: .cross_system_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000172 needs:
173 job: win64-fedora-cross-container
Thomas Huth6bcb5fc2020-07-31 08:38:23 +0200174 variables:
Thomas Huth93cc0502020-09-25 16:40:21 +0100175 IMAGE: fedora-win64-cross
Alex Bennéef8347d02023-11-06 19:29:22 +0000176 EXTRA_CONFIGURE_OPTS: --enable-fdt=internal --disable-plugins
Alex Bennéeb3ca9642023-02-02 13:25:27 +0000177 CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
Philippe Mathieu-Daudé6c301482024-03-27 12:10:58 +0100178 m68k-softmmu microblazeel-softmmu
Thomas Huth73ceb122024-09-26 12:58:43 +0200179 or1k-softmmu rx-softmmu sh4-softmmu sparc64-softmmu
Daniel P. Berrangéa1f0f362021-08-10 15:06:53 +0100180 tricore-softmmu xtensaeb-softmmu
Gerd Hoffmann8619b5d2021-06-23 11:11:35 +0200181 artifacts:
Daniel P. Berrangécef63302023-06-30 19:03:46 +0100182 when: on_success
Gerd Hoffmann8619b5d2021-06-23 11:11:35 +0200183 paths:
184 - build/qemu-setup*.exe
Philippe Mathieu-Daudé84eda112020-12-07 14:15:03 +0100185
186cross-amd64-xen-only:
187 extends: .cross_accel_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000188 needs:
189 job: amd64-debian-cross-container
Philippe Mathieu-Daudé84eda112020-12-07 14:15:03 +0100190 variables:
191 IMAGE: debian-amd64-cross
192 ACCEL: xen
Richard Hendersone4af2162021-05-02 16:57:26 -0700193 EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
Philippe Mathieu-Daudé84eda112020-12-07 14:15:03 +0100194
195cross-arm64-xen-only:
196 extends: .cross_accel_build_job
Daniel P. Berrangé764a0742021-02-16 13:29:53 +0000197 needs:
198 job: arm64-debian-cross-container
Philippe Mathieu-Daudé84eda112020-12-07 14:15:03 +0100199 variables:
200 IMAGE: debian-arm64-cross
201 ACCEL: xen
Richard Hendersone4af2162021-05-02 16:57:26 -0700202 EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm