xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision 11b8920ed2093848f79f93d106afe8a69a61a523)
1ecac85feSPhilippe Mathieu-Daudéinclude:
2ecac85feSPhilippe Mathieu-Daudé  - local: '/.gitlab-ci.d/crossbuild-template.yml'
36bcb5fc0SThomas Huth
46bcb5fc0SThomas Huthcross-armhf-user:
5b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
6764a0747SDaniel P. Berrangé  needs:
7764a0747SDaniel P. Berrangé    job: armhf-debian-cross-container
86bcb5fc0SThomas Huth  variables:
96bcb5fc0SThomas Huth    IMAGE: debian-armhf-cross
106bcb5fc0SThomas Huth
116bcb5fc0SThomas Huthcross-arm64-system:
12b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
13764a0747SDaniel P. Berrangé  needs:
14764a0747SDaniel P. Berrangé    job: arm64-debian-cross-container
156bcb5fc0SThomas Huth  variables:
166bcb5fc0SThomas Huth    IMAGE: debian-arm64-cross
176bcb5fc0SThomas Huth
186bcb5fc0SThomas Huthcross-arm64-user:
19b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
20764a0747SDaniel P. Berrangé  needs:
21764a0747SDaniel P. Berrangé    job: arm64-debian-cross-container
226bcb5fc0SThomas Huth  variables:
236bcb5fc0SThomas Huth    IMAGE: debian-arm64-cross
246bcb5fc0SThomas Huth
25c81e2d54SRichard Hendersoncross-arm64-kvm-only:
26c81e2d54SRichard Henderson  extends: .cross_accel_build_job
27c81e2d54SRichard Henderson  needs:
28c81e2d54SRichard Henderson    job: arm64-debian-cross-container
29c81e2d54SRichard Henderson  variables:
30c81e2d54SRichard Henderson    IMAGE: debian-arm64-cross
31c81e2d54SRichard Henderson    EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-features
32c81e2d54SRichard Henderson
334d17cc5aSAlex Bennéecross-i686-system:
344d17cc5aSAlex Bennée  extends:
354d17cc5aSAlex Bennée    - .cross_system_build_job
364d17cc5aSAlex Bennée    - .cross_test_artifacts
374d17cc5aSAlex Bennée  needs:
384d17cc5aSAlex Bennée    job: i686-debian-cross-container
394d17cc5aSAlex Bennée  variables:
404d17cc5aSAlex Bennée    IMAGE: debian-i686-cross
414d17cc5aSAlex Bennée    EXTRA_CONFIGURE_OPTS: --disable-kvm
424d17cc5aSAlex Bennée    MAKE_CHECK_ARGS: check-qtest
434d17cc5aSAlex Bennée
44aa5730b0SDaniel P. Berrangécross-i686-user:
451ea5e0b0SAlex Bennée  extends:
461ea5e0b0SAlex Bennée    - .cross_user_build_job
471ea5e0b0SAlex Bennée    - .cross_test_artifacts
48764a0747SDaniel P. Berrangé  needs:
49aa5730b0SDaniel P. Berrangé    job: i686-debian-cross-container
50ee381b7fSThomas Huth  variables:
51aa5730b0SDaniel P. Berrangé    IMAGE: debian-i686-cross
52ee381b7fSThomas Huth    MAKE_CHECK_ARGS: check
53ee381b7fSThomas Huth
54aa5730b0SDaniel P. Berrangécross-i686-tci:
551ea5e0b0SAlex Bennée  extends:
561ea5e0b0SAlex Bennée    - .cross_accel_build_job
571ea5e0b0SAlex Bennée    - .cross_test_artifacts
58840cafceSRichard Henderson  timeout: 60m
596fd4e756SThomas Huth  needs:
60aa5730b0SDaniel P. Berrangé    job: i686-debian-cross-container
61840cafceSRichard Henderson  variables:
62aa5730b0SDaniel P. Berrangé    IMAGE: debian-i686-cross
63840cafceSRichard Henderson    ACCEL: tcg-interpreter
64a4ad4db4SAlex Bennée    EXTRA_CONFIGURE_OPTS: --target-list=i386-softmmu,i386-linux-user,aarch64-softmmu,aarch64-linux-user,ppc-softmmu,ppc-linux-user --disable-plugins --disable-kvm
65a765aa65SPeter Maydell    # Force tests to run with reduced parallelism, to see whether this
661374ed49SPeter Maydell    # reduces the flakiness of this CI job. The CI
671374ed49SPeter Maydell    # environment by default shows us 8 CPUs and so we
681374ed49SPeter Maydell    # would otherwise be using a parallelism of 9.
69a765aa65SPeter Maydell    MAKE_CHECK_ARGS: check check-tcg -j2
70840cafceSRichard Henderson
716bcb5fc0SThomas Huthcross-mipsel-system:
72b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
73764a0747SDaniel P. Berrangé  needs:
74764a0747SDaniel P. Berrangé    job: mipsel-debian-cross-container
756bcb5fc0SThomas Huth  variables:
766bcb5fc0SThomas Huth    IMAGE: debian-mipsel-cross
776bcb5fc0SThomas Huth
786bcb5fc0SThomas Huthcross-mipsel-user:
79b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
80764a0747SDaniel P. Berrangé  needs:
81764a0747SDaniel P. Berrangé    job: mipsel-debian-cross-container
826bcb5fc0SThomas Huth  variables:
836bcb5fc0SThomas Huth    IMAGE: debian-mipsel-cross
846bcb5fc0SThomas Huth
856bcb5fc0SThomas Huthcross-mips64el-system:
86b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
87764a0747SDaniel P. Berrangé  needs:
88764a0747SDaniel P. Berrangé    job: mips64el-debian-cross-container
896bcb5fc0SThomas Huth  variables:
906bcb5fc0SThomas Huth    IMAGE: debian-mips64el-cross
916bcb5fc0SThomas Huth
926bcb5fc0SThomas Huthcross-mips64el-user:
93b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
94764a0747SDaniel P. Berrangé  needs:
95764a0747SDaniel P. Berrangé    job: mips64el-debian-cross-container
966bcb5fc0SThomas Huth  variables:
976bcb5fc0SThomas Huth    IMAGE: debian-mips64el-cross
986bcb5fc0SThomas Huth
996bcb5fc0SThomas Huthcross-ppc64el-system:
100b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
101764a0747SDaniel P. Berrangé  needs:
102764a0747SDaniel P. Berrangé    job: ppc64el-debian-cross-container
1036bcb5fc0SThomas Huth  variables:
1046bcb5fc0SThomas Huth    IMAGE: debian-ppc64el-cross
1056bcb5fc0SThomas Huth
1066bcb5fc0SThomas Huthcross-ppc64el-user:
107b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
108764a0747SDaniel P. Berrangé  needs:
109764a0747SDaniel P. Berrangé    job: ppc64el-debian-cross-container
1106bcb5fc0SThomas Huth  variables:
1116bcb5fc0SThomas Huth    IMAGE: debian-ppc64el-cross
1126bcb5fc0SThomas Huth
113a99de99aSThomas Huthcross-ppc64el-kvm-only:
114a99de99aSThomas Huth  extends: .cross_accel_build_job
115a99de99aSThomas Huth  needs:
116a99de99aSThomas Huth    job: ppc64el-debian-cross-container
117a99de99aSThomas Huth  variables:
118a99de99aSThomas Huth    IMAGE: debian-ppc64el-cross
119a99de99aSThomas Huth    EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-devices
120a99de99aSThomas Huth
1219f620251SRichard Henderson# The riscv64 cross-builds currently use a 'sid' container to get
1229f620251SRichard Henderson# compilers and libraries. Until something more stable is found we
1239f620251SRichard Henderson# allow_failure so as not to block CI.
1249f620251SRichard Hendersoncross-riscv64-system:
1259f620251SRichard Henderson  extends: .cross_system_build_job
1269f620251SRichard Henderson  allow_failure: true
1279f620251SRichard Henderson  needs:
1289f620251SRichard Henderson    job: riscv64-debian-cross-container
1299f620251SRichard Henderson  variables:
1309f620251SRichard Henderson    IMAGE: debian-riscv64-cross
1319f620251SRichard Henderson
1329f620251SRichard Hendersoncross-riscv64-user:
1339f620251SRichard Henderson  extends: .cross_user_build_job
1349f620251SRichard Henderson  allow_failure: true
1359f620251SRichard Henderson  needs:
1369f620251SRichard Henderson    job: riscv64-debian-cross-container
1379f620251SRichard Henderson  variables:
1389f620251SRichard Henderson    IMAGE: debian-riscv64-cross
1399f620251SRichard Henderson
1406bcb5fc0SThomas Huthcross-s390x-system:
141b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
142764a0747SDaniel P. Berrangé  needs:
143764a0747SDaniel P. Berrangé    job: s390x-debian-cross-container
1446bcb5fc0SThomas Huth  variables:
1456bcb5fc0SThomas Huth    IMAGE: debian-s390x-cross
1466bcb5fc0SThomas Huth
1476bcb5fc0SThomas Huthcross-s390x-user:
148b62ea746SPhilippe Mathieu-Daudé  extends: .cross_user_build_job
149764a0747SDaniel P. Berrangé  needs:
150764a0747SDaniel P. Berrangé    job: s390x-debian-cross-container
1516bcb5fc0SThomas Huth  variables:
1526bcb5fc0SThomas Huth    IMAGE: debian-s390x-cross
1536bcb5fc0SThomas Huth
154b16999a3SPhilippe Mathieu-Daudécross-s390x-kvm-only:
155b16999a3SPhilippe Mathieu-Daudé  extends: .cross_accel_build_job
156764a0747SDaniel P. Berrangé  needs:
157764a0747SDaniel P. Berrangé    job: s390x-debian-cross-container
158b16999a3SPhilippe Mathieu-Daudé  variables:
159b16999a3SPhilippe Mathieu-Daudé    IMAGE: debian-s390x-cross
1602f5a375fSThomas Huth    EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
161b16999a3SPhilippe Mathieu-Daudé
1621c135144SPhilippe Mathieu-Daudécross-mips64el-kvm-only:
1631c135144SPhilippe Mathieu-Daudé  extends: .cross_accel_build_job
1641c135144SPhilippe Mathieu-Daudé  needs:
1651c135144SPhilippe Mathieu-Daudé    job: mips64el-debian-cross-container
1661c135144SPhilippe Mathieu-Daudé  variables:
1671c135144SPhilippe Mathieu-Daudé    IMAGE: debian-mips64el-cross
168e4af2160SRichard Henderson    EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
1691c135144SPhilippe Mathieu-Daudé
1706bcb5fc0SThomas Huthcross-win64-system:
171b62ea746SPhilippe Mathieu-Daudé  extends: .cross_system_build_job
172764a0747SDaniel P. Berrangé  needs:
173764a0747SDaniel P. Berrangé    job: win64-fedora-cross-container
1746bcb5fc0SThomas Huth  variables:
17593cc0506SThomas Huth    IMAGE: fedora-win64-cross
176f8347d05SAlex Bennée    EXTRA_CONFIGURE_OPTS: --enable-fdt=internal --disable-plugins
177b3ca9646SAlex Bennée    CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu
1786c301485SPhilippe Mathieu-Daudé                        m68k-softmmu microblazeel-softmmu
179*51cdb680SThomas Huth                        or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
180a1f0f368SDaniel P. Berrangé                        tricore-softmmu xtensaeb-softmmu
1818619b5ddSGerd Hoffmann  artifacts:
182cef63308SDaniel P. Berrangé    when: on_success
1838619b5ddSGerd Hoffmann    paths:
1848619b5ddSGerd Hoffmann      - build/qemu-setup*.exe
18584eda110SPhilippe Mathieu-Daudé
18684eda110SPhilippe Mathieu-Daudécross-amd64-xen-only:
18784eda110SPhilippe Mathieu-Daudé  extends: .cross_accel_build_job
188764a0747SDaniel P. Berrangé  needs:
189764a0747SDaniel P. Berrangé    job: amd64-debian-cross-container
19084eda110SPhilippe Mathieu-Daudé  variables:
19184eda110SPhilippe Mathieu-Daudé    IMAGE: debian-amd64-cross
19284eda110SPhilippe Mathieu-Daudé    ACCEL: xen
193e4af2160SRichard Henderson    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
19484eda110SPhilippe Mathieu-Daudé
19584eda110SPhilippe Mathieu-Daudécross-arm64-xen-only:
19684eda110SPhilippe Mathieu-Daudé  extends: .cross_accel_build_job
197764a0747SDaniel P. Berrangé  needs:
198764a0747SDaniel P. Berrangé    job: arm64-debian-cross-container
19984eda110SPhilippe Mathieu-Daudé  variables:
20084eda110SPhilippe Mathieu-Daudé    IMAGE: debian-arm64-cross
20184eda110SPhilippe Mathieu-Daudé    ACCEL: xen
202e4af2160SRichard Henderson    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
203