-
Notifications
You must be signed in to change notification settings - Fork 112
/
.gitlab-ci-onetbb.yml
59 lines (54 loc) · 1.51 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
56
57
58
59
# SPDX-FileCopyrightText: 2019-2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
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]