Browse Source

gitlab-ci.yml: Test the TCG interpreter in a CI pipeline

So far we do not have any test coverage for TCI (the TCG interpreter) yet.
Thus let's add a CI pipeline that runs at least some basic TCG tests with
a TCI build, to make sure that there are no further regressions.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <2019041012.2362-1-thuth@redhat.com>
master
Thomas Huth 2 months ago
parent
commit
5f55d64b38
1 changed files with 15 additions and 0 deletions
  1. 15
    0
      .gitlab-ci.yml

+ 15
- 0
.gitlab-ci.yml View File

@@ -71,3 +71,18 @@ build-clang:
71 71
                      ppc-softmmu s390x-softmmu x86_64-softmmu arm-linux-user"
72 72
  - make -j2
73 73
  - make -j2 check
74
+
75
+build-tci:
76
+ script:
77
+ - TARGETS="aarch64 alpha arm hppa m68k microblaze moxie ppc64 s390x x86_64"
78
+ - ./configure --enable-tcg-interpreter
79
+      --target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)"
80
+ - make -j2
81
+ - make tests/boot-serial-test tests/cdrom-test tests/pxe-test
82
+ - for tg in $TARGETS ; do
83
+     export QTEST_QEMU_BINARY="${tg}-softmmu/qemu-system-${tg}" ;
84
+     ./tests/boot-serial-test || exit 1 ;
85
+     ./tests/cdrom-test || exit 1 ;
86
+   done
87
+ - QTEST_QEMU_BINARY="x86_64-softmmu/qemu-system-x86_64" ./tests/pxe-test
88
+ - QTEST_QEMU_BINARY="s390x-softmmu/qemu-system-s390x" ./tests/pxe-test -m slow

Loading…
Cancel
Save