-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
47 lines (43 loc) · 997 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
language: cpp
jobs:
include:
- os: linux
arch:
- amd64
- arm64
- ppc64le
- s390x
compiler:
- gcc
- clang
- os: linux
arch: arm64-graviton2
virt:
- lxd
- vm
group: edge
compiler:
- gcc
- clang
install: skip
script:
- mkdir -p build
- cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DYACLIB_CXX_STANDARD=20 \
-DYACLIB_TEST=SINGLE \
-DYACLIB_FLAGS="CORO" \
-DYACLIB_LOG="DEBUG"
- cmake --build $dir --config Debug --parallel
- cd build
- ctest --output-on-failure -V
- cd ..
- cmake -S . -B build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DYACLIB_CXX_STANDARD=20 \
-DYACLIB_TEST=SINGLE \
-DYACLIB_FLAGS="CORO" \
-DYACLIB_LOG="DEBUG"
- cmake --build $dir --config RelWithDebInfo --parallel
- cd build
- ctest --output-on-failure -V