Skip to content

Commit 83dae28

Browse files
authored
Revert "Cleanup Travis IOS xbuild and disable FORTRAN on 32bit and ios builds for now"
1 parent da986d2 commit 83dae28

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

.travis.yml

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ dist: precise
44
sudo: true
55
language: c
66

7-
jobs:
7+
matrix:
88
include:
99
- &test-ubuntu
1010
os: linux
11-
stage: test
1211
compiler: gcc
1312
addons:
1413
apt:
@@ -18,14 +17,23 @@ jobs:
1817
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
1918
script:
2019
- set -e
21-
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
20+
- make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
2221
- make -C test $COMMON_FLAGS $BTYPE
2322
- make -C ctest $COMMON_FLAGS $BTYPE
2423
- make -C utest $COMMON_FLAGS $BTYPE
2524
env:
2625
- TARGET_BOX=LINUX64
2726
- BTYPE="BINARY=64"
2827

28+
- <<: *test-ubuntu
29+
os: linux-ppc64le
30+
before_script:
31+
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
32+
env:
33+
# for matrix annotation only
34+
- TARGET_BOX=PPC64LE_LINUX
35+
- BTYPE="BINARY=64 USE_OPENMP=1"
36+
2937
- <<: *test-ubuntu
3038
env:
3139
- TARGET_BOX=LINUX64
@@ -59,7 +67,6 @@ jobs:
5967
- BTYPE="BINARY=32"
6068

6169
- os: linux
62-
stage: test
6370
compiler: gcc
6471
addons:
6572
apt:
@@ -80,13 +87,12 @@ jobs:
8087
# that don't require sudo.
8188
- &test-alpine
8289
os: linux
83-
stage: test
8490
dist: trusty
8591
sudo: true
8692
language: minimal
8793
before_install:
88-
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.6.0/alpine-chroot-install' \
89-
&& echo 'a827a4ba3d0817e7c88bae17fe34e50204983d1e alpine-chroot-install' | sha1sum -c || exit 1"
94+
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
95+
&& echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1"
9096
- alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
9197
install:
9298
- sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
@@ -120,11 +126,10 @@ jobs:
120126
- <<: *test-alpine
121127
env:
122128
- TARGET_BOX=LINUX64_MUSL
123-
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
129+
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
124130

125131
- &test-cmake
126132
os: linux
127-
stage: test
128133
compiler: clang
129134
addons:
130135
apt:
@@ -151,17 +156,30 @@ jobs:
151156
env:
152157
- CMAKE=1
153158

154-
- osx-gcc
159+
- &test-macos
155160
os: osx
156-
stage: test
157-
osx_image: xcode8
158-
before_script: *common-before
161+
osx_image: xcode10.1
162+
before_script:
163+
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
159164
- brew update
160-
- brew install gcc # for gfortran
165+
- brew install gcc@8 # for gfortran
161166
script:
162167
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
163168
env:
164-
- BTYPE="BINARY=64 INTERFACE64=1"
169+
- BTYPE="BINARY=64 INTERFACE64=1 FC=gfortran-8"
170+
171+
- <<: *test-macos
172+
osx_image: xcode8.3
173+
env:
174+
- BTYPE="BINARY=32 FC=gfortran-8"
175+
176+
- <<: *test-macos
177+
osx_image: xcode10.1
178+
env:
179+
- COMMON_FLAGS="NUM_THREADS=32"
180+
- CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk"
181+
- CFLAGS="-O2 -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch arm64 -miphoneos-version-min=10.0"
182+
- BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang"
165183

166184
# whitelist
167185
branches:

0 commit comments

Comments
 (0)