-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
65 lines (65 loc) · 1.18 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
58
59
60
61
62
63
64
65
stages:
- build-lib
- build
- test
build-library:
stage: build-lib
script:
- cd $CI_PROJECT_DIR
- mkdir -p build
- cd build || exit
- cmake ..
- make oCLFFTsup -j $(nproc)
artifacts:
paths:
- build/lib/liboCLFFTsup.so
cache:
paths:
- "build/*"
build-documents:
stage: build
script:
- cd $CI_PROJECT_DIR/proposal || exit
- texi2pdf proposal.tex
- cd $CI_PROJECT_DIR/report || exit
- texi2pdf report.tex
artifacts:
paths:
- "*/*.pdf"
build-documentation:
stage: build
script:
- cd $CI_PROJECT_DIR
- mkdir -p build
- cd build || exit
- cmake -DENABLE_DOXYGEN=on ..
- make doxygen
artifacts:
paths:
- "docs/*"
build-binaries:
stage: build
script:
- cd $CI_PROJECT_DIR || exit
- mkdir -p build
- cd build || exit
- cmake -DENABLE_DOXYGEN=off ..
- make -j $(nproc)
artifacts:
paths:
- "*/**/play-objcopy"
- "*/**/play-example"
- "*/**/testexample"
cache:
paths:
- "build/*"
test:
stage: test
script:
- cd $CI_PROJECT_DIR || exit
- mkdir -p build
- cd build || exit
- make test
cache:
paths:
- "build/*"