gitlab-ci.yml: Add new s390x targets to run tests with TCG and KVM accel
A new s390x z15 VM provided by IBM Community Cloud will be used to run
the s390x KVM Unit tests natively with both TCG and KVM accel options.
Signed-off-by: Marcelo Bandeira Condotta <mbandeir@redhat.com>
Message-Id: <20210208150227.178953-1-mbandeir@redhat.com>
[thuth: remove TCG job, enable all s390x tests, use "only:" section]
Signed-off-by: Thomas Huth <thuth@redhat.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d97e27e..13c798f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -155,3 +155,16 @@
cirrus-ci-macos-x86-64:
<<: *cirrus_build_job_definition
+
+s390x-kvm:
+ before_script: []
+ tags:
+ - s390x-z15-vm
+ script:
+ - ./configure --arch=s390x
+ - make -j$(nproc)
+ - ACCEL=kvm ./run_tests.sh | tee results.txt
+ - grep -q PASS results.txt && ! grep -q FAIL results.txt
+ only:
+ variables:
+ - $S390X_Z15_RUNNER_AVAILABLE