bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CI: check on PPC64le, ARM64 and s390x


From: Akim Demaille
Subject: CI: check on PPC64le, ARM64 and s390x
Date: Sat, 11 Jan 2020 16:15:14 +0100

commit 98a1045beada71f6921039a0b91656ab1f2b4df5
Author: Akim Demaille <address@hidden>
Date:   Sat Jan 11 09:04:08 2020 +0100

    CI: check on PPC64le, ARM64 and s390x
    
    I was hoping it would help us catch warnings when char is
    unsigned (see 78bb152a63f711af65364881c434af4c198e1ee0), but it does
    not seem to help.  It's a pity that the compiler is the same all over
    the place, I would have preferred testing others.
    
    * .travis.yml: here.

diff --git a/.travis.yml b/.travis.yml
index edca5f63..e06d449f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -67,14 +67,13 @@ jobs:
     ## First.  ##
     ## ------- ##
 
-    # Start with three completely different environments, to get
-    # errors asap.
+    # Start with three completely different environments, to get errors asap.
 
     - name: "GCC 9 -O3"
       stage: check
       os: linux
       dist: bionic
-      addons:
+      addons: &gcc9
         apt:
           sources:
             # See https://github.com/travis-ci/apt-source-safelist/issues/410.
@@ -120,6 +119,49 @@ jobs:
         - PART=2
 
 
+    ## ------- ##
+    ## First.  ##
+    ## ------- ##
+
+    # Start with three completely different environments, to get
+    # errors asap.
+
+    - name: "ARM64: GCC 9 -O3 part 1"
+      stage: check
+      os: linux
+      arch: arm64
+      dist: bionic
+      addons: *gcc9
+      env:
+        - CC=gcc-9
+        - CXX=g++-9
+        - CONFIGUREFLAGS='CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3'
+        - PART=1
+
+    - name: "PPC64le: GCC 9 part 1"
+      stage: check
+      os: linux
+      arch: ppc64le
+      dist: bionic
+      addons: *gcc9
+      env:
+        - CC=gcc-9
+        - CXX=g++-9
+        - CONFIGUREFLAGS='CFLAGS=-O3 CXXFLAGS=-O3'
+        - PART=1
+
+    - name: "s390x: GCC 9 part 1"
+      stage: check
+      os: linux
+      arch: s390x
+      dist: bionic
+      addons: *gcc9
+      env:
+        - CC=gcc-9
+        - CXX=g++-9
+        - CONFIGUREFLAGS='CFLAGS=-O3 CXXFLAGS=-O3'
+        - PART=1
+
     ## ----- ##
     ## GCC.  ##
     ## ----- ##
@@ -421,11 +463,11 @@ script:
   - sudo apt-get install -qq doxygen flex m4
   # Install and activate dmd.
   - mkdir -p ~/dlang && wget https://dlang.org/install.sh -O ~/dlang/install.sh
-  - source $(source ~/dlang/install.sh dmd -a)
+  - source $(source ~/dlang/install.sh dmd -a) || true
 
   - $CC --version
   - $CXX --version
-  - dmd --version
+  - dmd --version || true
   - doxygen --version
   - flex --version
   - ld --version




reply via email to

[Prev in Thread] Current Thread [Next in Thread]