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+ name : unit_tests
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ test-release :
11+
12+ runs-on : tobbe-nuc-stardom
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : CMake set-up for release
17+ run : |
18+ rm -rf build
19+ mkdir build
20+ cd build
21+ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
22+ - name : Build release
23+ run : |
24+ cd build
25+ make runUnitTests
26+ - name : Run tests with release
27+ run : |
28+ cd build
29+ ./runUnitTests
30+
31+ test-debug :
32+
33+ runs-on : tobbe-nuc-stardom
34+
35+ steps :
36+ - uses : actions/checkout@v2
37+ - name : CMake set-up for debug
38+ run : |
39+ rm -rf build
40+ mkdir build
41+ cd build
42+ cmake -DCMAKE_BUILD_TYPE=Debug ..
43+ - name : Build debug
44+ run : |
45+ cd build
46+ make runUnitTests
47+ - name : Run tests with debug
48+ run : |
49+ cd build
50+ ./runUnitTests
You can’t perform that action at this time.
0 commit comments