forked from uxlfoundation/oneAPI-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci-onetbb.yml
55 lines (51 loc) · 1.43 KB
/
.gitlab-ci-onetbb.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
build_oneTBB_html:
stage: build
tags: [docker_linux]
image: tr_ubuntu18.04:oneapi-spec
script:
- python3 -m pip install -r requirements.txt
- python3 scripts/oneapi.py html source/elements/oneTBB
artifacts:
paths: [source/elements/oneTBB/build/html]
expire_in: 3d
build_oneTBB_pdf:
stage: build
tags: [docker_linux]
image: tr_ubuntu18.04:oneapi-spec
script:
- python3 -m pip install -r requirements.txt
- python3 scripts/oneapi.py latexpdf source/elements/oneTBB
artifacts:
paths: [source/elements/oneTBB/build/latex/*.pdf]
expire_in: 3d
build_oneDPL_html:
stage: build
tags: [docker_linux]
image: tr_ubuntu18.04:oneapi-spec
script:
- python3 -m pip install -r requirements.txt
- python3 scripts/oneapi.py html source/elements/oneDPL
artifacts:
paths: [source/elements/oneDPL/build/html]
expire_in: 3d
build_oneDPL_pdf:
stage: build
tags: [docker_linux]
image: tr_ubuntu18.04:oneapi-spec
script:
- python3 -m pip install -r requirements.txt
- python3 scripts/oneapi.py latexpdf source/elements/oneDPL
artifacts:
paths: [source/elements/oneDPL/build/latex/*.pdf]
expire_in: 3d
pages:
stage: deploy
tags: [linux]
needs: [build_oneTBB_html, build_oneDPL_html]
only: [develop]
script:
- mkdir -p public
- mv source/elements/oneTBB/build/html public/oneTBB
- mv source/elements/oneDPL/build/html public/oneDPL
artifacts:
paths: [public]