[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[risu RFC PATCH v3 7/7] Add a travis.yml file for testing RISU in the Tr
From: |
Thomas Huth |
Subject: |
[risu RFC PATCH v3 7/7] Add a travis.yml file for testing RISU in the Travis-CI |
Date: |
Thu, 14 Sep 2023 13:33:11 +0200 |
Travis-CI offers native build machines for aarch64, ppc64le
and s390x, so this is very useful for testing RISU on these
architectures. While compiling works fine for all architectures,
running the binary currently only works for s390x (the aarch64
runner reports a mismatch when comparing the registers, and
the ppc64le runner simply hangs), so we can only run the
resulting binary on s390x right now.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
Not sure if this is useful for anybody but me since Travis is
not that popular anymore these days ... so please feel free
to ignore this patch.
.travis.yml | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..bafa8df
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,37 @@
+dist: focal
+language: c
+compiler:
+ - gcc
+addons:
+ apt:
+ packages:
+ - perl
+ - perl-modules
+ - liblist-compare-perl
+
+before_script:
+ - ./configure
+script:
+ - set -e
+ - make -j2
+ - ./risugen --numinsns 1000 ${ARCH}.risu ${ARCH}.bin
+
+matrix:
+ include:
+
+ - env:
+ - ARCH="aarch64"
+ arch: arm64
+
+ - env:
+ - ARCH="ppc64"
+ arch: ppc64le
+
+ - env:
+ - ARCH="s390x"
+ arch: s390x
+ after_script:
+ - ./risu --master ${ARCH}.bin > stdout.txt 2> stderr.txt &
+ - sleep 1
+ - ./risu --host localhost ${ARCH}.bin
+ - cat stdout.txt stderr.txt
--
2.41.0
- [risu PATCH v3 0/7] Add support for s390x to RISU, Thomas Huth, 2023/09/14
- [risu PATCH v3 2/7] s390x: Add basic s390x support to the C code, Thomas Huth, 2023/09/14
- [risu PATCH v3 1/7] Pass siginfo_t->si_addr to the reginfo_init() function, Thomas Huth, 2023/09/14
- [risu PATCH v3 3/7] s390x: Add simple s390x.risu file, Thomas Huth, 2023/09/14
- [risu PATCH v3 4/7] s390x: Add basic risugen perl module for s390x, Thomas Huth, 2023/09/14
- [risu PATCH v3 6/7] build-all-archs: Add s390x to the script that builds all architectures, Thomas Huth, 2023/09/14
- [risu PATCH v3 5/7] s390x: Update the configure script for s390x support, Thomas Huth, 2023/09/14
- [risu RFC PATCH v3 7/7] Add a travis.yml file for testing RISU in the Travis-CI,
Thomas Huth <=
- Re: [risu PATCH v3 0/7] Add support for s390x to RISU, Peter Maydell, 2023/09/18