* [PATCH] .travis.yml: Add a KVM-only s390x job
@ 2020-03-22 15:40 Philippe Mathieu-Daudé
2020-03-23 9:59 ` Alex Bennée
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-22 15:40 UTC (permalink / raw)
To: qemu-devel
Cc: Fam Zheng, Alex Bennée, qemu-s390x, Cornelia Huck,
Philippe Mathieu-Daudé
Add a job to build QEMU on s390x with TCG disabled, so
this configuration won't bitrot over time.
This job is quick, running check-unit: Ran for 5 min 30 sec
https://travis-ci.org/github/philmd/qemu/jobs/665456423
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.travis.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 5672d129ec..e0c72210b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -525,6 +525,48 @@ jobs:
$(exit $BUILD_RC);
fi
+ - name: "[s390x] GCC check (KVM)"
+ arch: s390x
+ dist: bionic
+ addons:
+ apt_packages:
+ - libaio-dev
+ - libattr1-dev
+ - libbrlapi-dev
+ - libcap-ng-dev
+ - libgcrypt20-dev
+ - libgnutls28-dev
+ - libgtk-3-dev
+ - libiscsi-dev
+ - liblttng-ust-dev
+ - libncurses5-dev
+ - libnfs-dev
+ - libnss3-dev
+ - libpixman-1-dev
+ - libpng-dev
+ - librados-dev
+ - libsdl2-dev
+ - libseccomp-dev
+ - liburcu-dev
+ - libusb-1.0-0-dev
+ - libvdeplug-dev
+ - libvte-2.91-dev
+ # Tests dependencies
+ - genisoimage
+ env:
+ - TEST_CMD="make check-unit"
+ - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools"
+ script:
+ - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF )
+ - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
+ - |
+ if [ "$BUILD_RC" -eq 0 ] ; then
+ mv pc-bios/s390-ccw/*.img pc-bios/ ;
+ ${TEST_CMD} ;
+ else
+ $(exit $BUILD_RC);
+ fi
+
# Release builds
# The make-release script expect a QEMU version, so our tag must start with a 'v'.
# This is the case when release candidate tags are created.
--
2.21.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] .travis.yml: Add a KVM-only s390x job
2020-03-22 15:40 [PATCH] .travis.yml: Add a KVM-only s390x job Philippe Mathieu-Daudé
@ 2020-03-23 9:59 ` Alex Bennée
2020-03-23 10:05 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 3+ messages in thread
From: Alex Bennée @ 2020-03-23 9:59 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Fam Zheng, qemu-s390x, Cornelia Huck, qemu-devel
Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> Add a job to build QEMU on s390x with TCG disabled, so
> this configuration won't bitrot over time.
Queued to testing/next, thanks.
This only tests the build though - we don't exercise KVM doing this.
>
> This job is quick, running check-unit: Ran for 5 min 30 sec
> https://travis-ci.org/github/philmd/qemu/jobs/665456423
>
> Acked-by: Cornelia Huck <cohuck@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> .travis.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/.travis.yml b/.travis.yml
> index 5672d129ec..e0c72210b7 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -525,6 +525,48 @@ jobs:
> $(exit $BUILD_RC);
> fi
>
> + - name: "[s390x] GCC check (KVM)"
> + arch: s390x
> + dist: bionic
> + addons:
> + apt_packages:
> + - libaio-dev
> + - libattr1-dev
> + - libbrlapi-dev
> + - libcap-ng-dev
> + - libgcrypt20-dev
> + - libgnutls28-dev
> + - libgtk-3-dev
> + - libiscsi-dev
> + - liblttng-ust-dev
> + - libncurses5-dev
> + - libnfs-dev
> + - libnss3-dev
> + - libpixman-1-dev
> + - libpng-dev
> + - librados-dev
> + - libsdl2-dev
> + - libseccomp-dev
> + - liburcu-dev
> + - libusb-1.0-0-dev
> + - libvdeplug-dev
> + - libvte-2.91-dev
> + # Tests dependencies
> + - genisoimage
> + env:
> + - TEST_CMD="make check-unit"
> + - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools"
> + script:
> + - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF )
> + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
> + - |
> + if [ "$BUILD_RC" -eq 0 ] ; then
> + mv pc-bios/s390-ccw/*.img pc-bios/ ;
> + ${TEST_CMD} ;
> + else
> + $(exit $BUILD_RC);
> + fi
> +
> # Release builds
> # The make-release script expect a QEMU version, so our tag must start with a 'v'.
> # This is the case when release candidate tags are created.
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] .travis.yml: Add a KVM-only s390x job
2020-03-23 9:59 ` Alex Bennée
@ 2020-03-23 10:05 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-23 10:05 UTC (permalink / raw)
To: Alex Bennée; +Cc: Fam Zheng, qemu-s390x, Cornelia Huck, qemu-devel
On 3/23/20 10:59 AM, Alex Bennée wrote:
>
> Philippe Mathieu-Daudé <philmd@redhat.com> writes:
>
>> Add a job to build QEMU on s390x with TCG disabled, so
>> this configuration won't bitrot over time.
>
> Queued to testing/next, thanks.
Thanks!
>
> This only tests the build though - we don't exercise KVM doing this.
Yes, we need to fix the migration autoconverge test to run KVM tests.
>
>>
>> This job is quick, running check-unit: Ran for 5 min 30 sec
>> https://travis-ci.org/github/philmd/qemu/jobs/665456423
>>
>> Acked-by: Cornelia Huck <cohuck@redhat.com>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> .travis.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 42 insertions(+)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 5672d129ec..e0c72210b7 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -525,6 +525,48 @@ jobs:
>> $(exit $BUILD_RC);
>> fi
>>
>> + - name: "[s390x] GCC check (KVM)"
>> + arch: s390x
>> + dist: bionic
>> + addons:
>> + apt_packages:
>> + - libaio-dev
>> + - libattr1-dev
>> + - libbrlapi-dev
>> + - libcap-ng-dev
>> + - libgcrypt20-dev
>> + - libgnutls28-dev
>> + - libgtk-3-dev
>> + - libiscsi-dev
>> + - liblttng-ust-dev
>> + - libncurses5-dev
>> + - libnfs-dev
>> + - libnss3-dev
>> + - libpixman-1-dev
>> + - libpng-dev
>> + - librados-dev
>> + - libsdl2-dev
>> + - libseccomp-dev
>> + - liburcu-dev
>> + - libusb-1.0-0-dev
>> + - libvdeplug-dev
>> + - libvte-2.91-dev
>> + # Tests dependencies
>> + - genisoimage
>> + env:
>> + - TEST_CMD="make check-unit"
>> + - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools"
>> + script:
>> + - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF )
>> + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
>> + - |
>> + if [ "$BUILD_RC" -eq 0 ] ; then
>> + mv pc-bios/s390-ccw/*.img pc-bios/ ;
>> + ${TEST_CMD} ;
>> + else
>> + $(exit $BUILD_RC);
>> + fi
>> +
>> # Release builds
>> # The make-release script expect a QEMU version, so our tag must start with a 'v'.
>> # This is the case when release candidate tags are created.
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-23 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 15:40 [PATCH] .travis.yml: Add a KVM-only s390x job Philippe Mathieu-Daudé
2020-03-23 9:59 ` Alex Bennée
2020-03-23 10:05 ` Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).