-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
57 lines (53 loc) · 1.17 KB
/
.gitlab-ci.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
# ---------------------------------------------------------------------------
# IMLAB
# ---------------------------------------------------------------------------
stages:
- build
- test
build_debug:
stage: build
script:
- mkdir -p build
- cd build
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
- ninja
cache:
key: "$CI_COMMIT_REF_NAME-debug"
paths:
- build/
policy: pull-push
artifacts:
paths:
- ./build/tester
- ./build/libimlab.so
expire_in: 1 hrs
tags:
- "clang-6.0"
- "llvm-6.0"
- "cmake"
- "python3"
tester:
stage: test
script:
- cd build
- ./tester --gtest_filter=-DatabaseQueryTest.AnalyticalQuery*
dependencies:
- build_debug
tags:
- "clang-6.0"
- "llvm-6.0"
- "cmake"
- "python3"
cpplint:
stage: test
script:
- mkdir -p build
- cd build
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
- ninja lint
allow_failure: true
tags:
- "clang-6.0"
- "llvm-6.0"
- "cmake"
- "python3"