-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
81 lines (74 loc) · 1.22 KB
/
.gitlab-ci.yml
File metadata and controls
81 lines (74 loc) · 1.22 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
stages:
- cmake
- make
- tests
- doxygen
- sphinx
before_script:
- which gcc
- which g++
- which python3
- echo $PATH
- ls
cmake:
stage: cmake
cache:
key: ${CI_COMMIT_SHORT_SHA}
paths:
- build/*
script:
- mkdir build
- cd build
- cmake ../.
- echo 'CMake Finished'
- ls
make:
stage: make
cache:
key: ${CI_COMMIT_SHORT_SHA}
paths:
- build/*
script:
- cd build/
- make clean
- make
- echo 'Make Finished'
tests:
stage: tests
cache:
key: ${CI_COMMIT_SHORT_SHA}
paths:
- build/*
script:
- cd build
- cd testBin
- echo 'Running Tests..'
- ls ~/MasterLattice
- ./ConfigReaderTest
- ./LoggingSystemTest
- ./HardwareTests
- ./FactoryTests
- ./EPICSInterfaceTests
doxygen:
stage: doxygen
cache:
key: ${CI_COMMIT_SHORT_SHA}
paths:
- build/*
script:
- cd build
- doxygen ./Docs/cppdocs/Doxyfile.CATAPDocs
- scp -r ./Docs/cppdocs/html* ujo48515@172.16.114.88:/var/www/html/CATAPcpp
only:
- master
sphinx:
stage: sphinx
cache:
key: ${CI_COMMIT_SHORT_SHA}
paths:
- build/*
script:
- cd build
- scp -r ./Docs/pydocs/html/* ujo48515@172.16.114.88:/var/www/html/CATAPpy
only:
- master