-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
45 lines (38 loc) · 868 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
dist: focal
language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- valgrind
- cloc
install:
- pip3 install protobuf
before_script:
- ${CC} --version
- cmake --version
- valgrind --version
- python --version
- python3 --version
script:
- cmake -S. -Bbuild
-DENABLE_HEAVY_TESTS=OFF
-DVIRGIL_C_MT_TESTING=OFF
-DENABLE_BENCHMARKING=ON
-DVIRGIL_POST_QUANTUM=ON
-DVIRGIL_PROGRAMS=ON
- cmake --build build -- -j8
&& pushd build
&& ctest -T memcheck --output-on-failure
&& popd
- cmake -S. -Bbuild -DVIRGIL_C_MT_TESTING=ON
- cmake --build build -- -j8
&& pushd build
&& ctest -L multi-threading --output-on-failure
&& ./benchmarks/foundation/bench
&& popd
- cat build/Testing/Temporary/MemoryChecker.*.log
after_success:
- cmake --build build --target cloc