-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (58 loc) · 1.75 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: c
jobs:
include:
- os: linux
dist: focal
arch: arm64
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
- os: linux
dist: focal
arch: arm64
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os: linux
dist: focal
arch: arm64
compiler: gcc
env: BUILD_SYSTEM="autotools" CONFIGURE_OPTS=
# - os: linux
# dist: focal
# arch: arm64
# compiler: clang
# env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_STACK_PROTECTOR=OFF # Clang on focal arm64 seems broken, can't find a way to reproduce this on my machine
- os: linux
dist: focal
arch: arm64
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=ON
- os: linux
dist: focal
arch: ppc64le
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
- os: linux
dist: focal
arch: ppc64le
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os: linux
dist: focal
arch: ppc64le
compiler: gcc
env: BUILD_SYSTEM="autotools" CONFIGURE_OPTS=
- os: linux
dist: focal
arch: ppc64le
compiler: clang
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os: linux
dist: focal
arch: ppc64le
compiler: gcc
env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=ON
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -y install libtool-bin libogg-dev; fi
script:
- if [[ "${BUILD_SYSTEM}" == "autotools" ]]; then ./autogen.sh && ./configure $CONFIGURE_OPTS && make && make check; fi
- if [[ "${BUILD_SYSTEM}" == "cmake" ]]; then mkdir cmake-build && cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release $CONFIGURE_OPTS && cat config.h && cmake --build . && travis_wait 30 ctest --output-on-failure; fi