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