File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ gtest :
4
+ working_directory : ~/root
5
+ docker :
6
+ - image : gcc:latest
7
+ steps :
8
+ - run :
9
+ name : Downloading dependencies
10
+ command : |
11
+ apt-get update
12
+ apt-get install -y cmake
13
+ apt-get install -y libgtest-dev
14
+ - run :
15
+ name : Installing dependencies
16
+ working_directory : /usr/src/gtest/
17
+ command : |
18
+ cmake CMakeLists.txt
19
+ make
20
+ cp /usr/src/gtest/*.a /usr/lib
21
+ - checkout
22
+ - run :
23
+ name : Building tests
24
+ command : make gtests
25
+ - run :
26
+ name : Running tests
27
+ command : ./GTests --gtest_filter=*
28
+ samples :
29
+ working_directory : ~/root
30
+ docker :
31
+ - image : gcc:latest
32
+ steps :
33
+ - checkout
34
+ - run :
35
+ name : Building sample
36
+ command : make sample
37
+ - run :
38
+ name : Running sample
39
+ command : ./Sample
40
+ workflows :
41
+ version : 2
42
+ build_and_test :
43
+ jobs :
44
+ - gtest :
45
+ filters :
46
+ branches :
47
+ only :
48
+ - master
49
+ - develop
50
+ - tests
You can’t perform that action at this time.
0 commit comments