summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-01-11 09:04:08 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-01-11 16:11:45 +0100
commit98a1045beada71f6921039a0b91656ab1f2b4df5 (patch)
tree98538f9af02f9a90e9ab0cc7c69b33f10db860fb /.travis.yml
parent8426663631cd16f9d344ddb5e72468a9cb7344c7 (diff)
downloadbison-98a1045beada71f6921039a0b91656ab1f2b4df5.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml52
1 files changed, 47 insertions, 5 deletions
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