-
Notifications
You must be signed in to change notification settings - Fork 184
83 lines (71 loc) · 2.19 KB
/
kvazaar.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Kvazaar_tests
on:
push:
pull_request:
types: [closed]
jobs:
basic-test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: configure
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
- name: make
run: make -j
- name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && make check -j VERBOSE=1
test-ubsan:
runs-on: self-hosted
env:
CC: gcc
CFLAGS: -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment
steps:
- uses: actions/checkout@v2
- name: configure
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
- name: make
run: make -j
- name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
test-asan:
runs-on: self-hosted
env:
CC: gcc
CFLAGS: -fsanitize=address
ASAN_OPTIONS: detect_leaks=0
# AddressSanitizer adds some extra symbols so we expect a failure from
# the external symbols test.
XFAIL_TESTS: test_external_symbols.sh
steps:
- uses: actions/checkout@v2
- name: configure
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
- name: make
run: make -j
- name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
test-tsan:
runs-on: self-hosted
env:
CC: gcc
CFLAGS: -fsanitize=thread
steps:
- uses: actions/checkout@v2
- name: configure
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
- name: make
run: make -j
- name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
test-valgrind:
runs-on: self-hosted
env:
KVAZAAR_OVERRIDE_angular_pred: generic
steps:
- uses: actions/checkout@v2
- name: configure
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
- name: make
run: make -j
- name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && KVZ_TEST_VALGRIND=1 make check -j4 VERBOSE=1