summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 39f012bcd25c027ffabea19e4dcd0d273bd7447c (plain)
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
sudo: required
language: c
compiler: gcc
env:
- TARGET=x86_64-linux-gnu
- TARGET=x86-linux-gnu
- TARGET=arm-linux-gnueabihf
- TARGET=aarch64-linux-gnu
- TARGET=mipsel-unknown-linux-gnu
# Currently experiencing build failures here
#- TARGET=powerpc64-linux-gnu

linux-s390x: &linux-s390x
  os: linux
  arch: s390x
  env: TARGET=s390x-linux-gnu
  script:
    - ./autogen.sh
    - ./configure
    - make -j32
    - ulimit -c unlimited
    - make check -j32

windows-remote-only: &windows-remote-only
  os: windows
  env:
  - TARGET=x86_64-linux-gnu    HOST=x64
  - TARGET=arm-linux-gnueabihf HOST=Win32
  - TARGET=aarch64-linux-gnu   HOST=x64
  script:
  - cmake -G "Visual Studio 15 2017" -A ${HOST} -S . -B bin/windows-${HOST}/${TARGET}
  - cmake --build bin/windows-${HOST}/${TARGET}

script:
- ./autogen.sh
- ./configure --target=$TARGET --host=$HOST
- make -j32
- sudo bash -c 'echo core.%p.%p > /proc/sys/kernel/core_pattern'
- ulimit -c unlimited
- if [ $TARGET == 'x86_64-linux-gnu' ]; then make check -j32; fi

jobs:
  include:
    - <<: *linux-s390x
    - <<: *windows-remote-only