.travis.yml: Do some more testing with Clang
authorThomas Huth <thuth@redhat.com>
Wed, 20 Mar 2024 10:41:44 +0000 (11:41 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Apr 2024 05:03:04 +0000 (07:03 +0200)
We are doing a lot of cross-compilation tests with GCC in the gitlab-CI
already, so we could get some more test coverage by using Clang in the
Travis-CI instead. Thus let's switch two additional jobs to use Clang
for compilation.

Message-ID: <20240320104144.823425-7-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.travis.yml

index 7527f71c051b06c79a45fbe10a5defe257664f1c..cef03089520fc1e395c0b5e7a96e1ccf9f90bac1 100644 (file)
@@ -113,8 +113,9 @@ jobs:
         - CONFIG="--disable-containers --enable-fdt=system
                   --target-list=${MAIN_SYSTEM_TARGETS} --cxx=/bin/false"
 
-    - name: "[ppc64] GCC check-tcg"
+    - name: "[ppc64] Clang check-tcg"
       arch: ppc64le
+      compiler: clang
       addons:
         apt_packages:
           - libaio-dev
@@ -190,8 +191,9 @@ jobs:
               $(exit $BUILD_RC);
           fi
 
-    - name: "[s390x] GCC (other-system)"
+    - name: "[s390x] Clang (other-system)"
       arch: s390x
+      compiler: clang
       addons:
         apt_packages:
           - libaio-dev