[PATCH v4 12/12] .travis.yml: Add a KVM-only Aarch64 job

Philippe Mathieu-Daudé
2020-09-29T22:45:07Z

Add a job to build QEMU on Aarch64 with TCG disabled, so
this configuration won't bitrot over time.

We explicitly modify default-configs/aarch64-softmmu.mak to
only select the 'virt' and 'SBSA-REF' machines.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
Job ran for 7 min 30 sec
https://travis-ci.org/github/philmd/qemu/jobs/731428859
---
.travis.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index c75221dca3..cad65cf181 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -402,6 +402,41 @@ jobs:
- CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}"
- UNRELIABLE=true

+ - name: "[aarch64] GCC (disable-tcg)"
+ arch: arm64
+ dist: bionic
+ addons:
+ apt_packages:
+ - libaio-dev
+ - libattr1-dev
+ - libcap-ng-dev
+ - libgcrypt20-dev
+ - libgnutls28-dev
+ - libiscsi-dev
+ - liblttng-ust-dev
+ - libnfs-dev
+ - libnss3-dev
+ - libpixman-1-dev
+ - libpng-dev
+ - librados-dev
+ - libseccomp-dev
+ - liburcu-dev
+ - libusb-1.0-0-dev
+ - libvdeplug-dev
+ - libvte-2.91-dev
+ # Tests dependencies
+ - genisoimage
+ env:
+ - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools"
+ - TEST_CMD="make check-unit"
+ - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-aarch64"
+ before_script:
+ # Only use the 'virt' and 'sbsa-ref' machine which don't need TCG.
+ - echo CONFIG_ARM_VIRT=y > default-configs/aarch64-softmmu.mak
+ - echo CONFIG_SBSA_REF=y >> default-configs/aarch64-softmmu.mak
+ - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
+ - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
+
- name: "[ppc64] GCC check-tcg"
arch: ppc64le
dist: xenial
--
2.26.2