-
Notifications
You must be signed in to change notification settings - Fork 253
/
.travis.yml
50 lines (43 loc) · 1003 Bytes
/
.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
language: c
os: linux
dist: focal
jobs:
include:
- name: POWER9
if: branch != master OR type == pull_request
arch: ppc64le
compiler: clang
env:
- CC="clang"
- CXX="clang++"
- CFLAGS="-mcpu=power9 -Weverything -Werror"
- CXXFLAGS="-mcpu=power9 -Weverything -Werror"
- JOBS="$(nproc)"
addons:
apt:
packages: ninja-build python3-pip clang
- name: z/Arch
if: branch != master OR type == pull_request
arch: s390x
compiler: gcc
env:
- CC="gcc"
- CXX="g++"
- CFLAGS="-march=native -mzvector -Wextra -Werror"
- CXXFLAGS="-march=native -mzvector -Wextra -Werror"
- JOBS="$(nproc)"
addons:
apt:
packages: ninja-build python3-pip gcc g++
before_install:
- cat /proc/cpuinfo
- cat /proc/meminfo
install:
- pip3 install meson==0.55.1
script:
- meson setup build -Db_coverage=true
- ninja -C build -v -j${JOBS}
after_success:
- meson test -C build --print-errorlogs
notifications:
email: false