forked from erthink/libfpta
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
47 lines (41 loc) · 931 Bytes
/
circle.yml
File metadata and controls
47 lines (41 loc) · 931 Bytes
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
machine:
timezone:
Europe/Moscow
environment:
GTEST_SHUFFLE: 1
GTEST_RUNTIME_LIMIT: 142
database:
override:
dependencies:
pre:
- sudo apt update -q
override:
- sudo apt install cmake libgtest-dev valgrind clang-format-3.8
post:
- c++ --version
- cmake --version
checkout:
post:
- git fetch --unshallow || true
- git fetch --tags --prune
- git submodule sync
- git submodule update --init --recursive
- git submodule foreach --recursive git fetch --tags --prune
compile:
pre:
- cmake .
override:
- make --keep-going all
test:
override:
- make --keep-going test
- externals/libfptu/test/fptu_c_mode
- test/fpta_c_mode
- make reformat
- |
if [[ -n $(git --no-pager diff) ]]; then
echo "You must run 'make reformat' before submitting a pull request"
echo ""
git --no-pager diff
exit -1
fi