]>
Commit | Line | Data |
---|---|---|
ecac85fe | 1 | .cross_system_build_job: |
e312d1fd | 2 | extends: .base_job_template |
ecac85fe PMD |
3 | stage: build |
4 | image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest | |
5 | timeout: 80m | |
6 | script: | |
7 | - mkdir build | |
8 | - cd build | |
9 | - PKG_CONFIG_PATH=$PKG_CONFIG_PATH | |
10 | ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS | |
11 | --disable-user --target-list-exclude="arm-softmmu cris-softmmu | |
12 | i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu | |
a6235491 | 13 | mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu |
a1f0f368 | 14 | sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS" |
ecac85fe | 15 | - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS |
8619b5dd GH |
16 | - if grep -q "EXESUF=.exe" config-host.mak; |
17 | then make installer; | |
6340af7a | 18 | version="$(git describe --match v[0-9]* 2>/dev/null || git rev-parse --short HEAD)"; |
8619b5dd GH |
19 | mv -v qemu-setup*.exe qemu-setup-${version}.exe; |
20 | fi | |
ecac85fe PMD |
21 | |
22 | # Job to cross-build specific accelerators. | |
23 | # | |
24 | # Set the $ACCEL variable to select the specific accelerator (default to | |
25 | # KVM), and set extra options (such disabling other accelerators) via the | |
26 | # $EXTRA_CONFIGURE_OPTS variable. | |
27 | .cross_accel_build_job: | |
e312d1fd | 28 | extends: .base_job_template |
ecac85fe PMD |
29 | stage: build |
30 | image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest | |
31 | timeout: 30m | |
32 | script: | |
33 | - mkdir build | |
34 | - cd build | |
35 | - PKG_CONFIG_PATH=$PKG_CONFIG_PATH | |
36 | ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS | |
37 | --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS | |
38 | - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS | |
39 | ||
40 | .cross_user_build_job: | |
e312d1fd | 41 | extends: .base_job_template |
ecac85fe PMD |
42 | stage: build |
43 | image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest | |
44 | script: | |
45 | - mkdir build | |
46 | - cd build | |
47 | - PKG_CONFIG_PATH=$PKG_CONFIG_PATH | |
48 | ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS | |
49 | --disable-system | |
50 | - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS |