-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
66 lines (60 loc) · 1.52 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
62
63
64
65
66
language: c
env:
global:
- SETARCH=
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
compiler: clang
env: T=normal
- os: linux
dist: trusty
compiler: gcc
env: T=normal
- os: linux
dist: xenial
compiler: clang
env: T=normal
- os: linux
dist: xenial
compiler: gcc
env: T=normal
- os: linux
dist: trusty
# https://packages.ubuntu.com/xenial/crossbuild-essential-armhf
compiler: gcc
arch: arm64
env:
- debugflags=-g0
- SETARCH='setarch linux32 --verbose --32bit'
- T=32bit
allow_failures:
dist: trusty
# https://packages.ubuntu.com/xenial/crossbuild-essential-armhf
compiler: gcc
arch: arm64
env:
- debugflags=-g0
- SETARCH='setarch linux32 --verbose --32bit'
- T=32bit
sudo: required
before_install:
- sudo apt-get update --quiet --assume-yes
- sudo apt-get install splint --quiet --assume-yes
- if [[ "$T" = "32bit" ]]; then sudo dpkg --add-architecture armhf; fi
before_script:
- date # Debugging "Permission defined" failure on darwin like https://travis-ci.org/ruby/ruby/jobs/508683759
- dpkg --print-architecture
- dpkg --print-foreign-architectures
- echo SETARCH=${SETARCH}
- $SETARCH uname -a
- $SETARCH uname -r
script:
- ./autogen.sh
- if [[ "$T" = "32bit" ]]; then $SETARCH ./configure -C; fi
- if [[ "$T" = "normal" ]]; then ./configure --disable-shared; fi
- make
- make gen-code
- make test