-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
35 lines (34 loc) · 948 Bytes
/
.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
build-psoc-host-application-arm32v7:
image: $CI_REGISTRY/docker-images/debian-build-essential:buster-arm32v7
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- uname -m
- apt-get --no-install-recommends -y install file git libgpiod-dev
- dpkg -i libdhcom-hal/libdhcom-hal_1.7_armhf.deb
- dpkg -i libdhcom-hal/libdhcom-hal-dev_1.7_armhf.deb
- mkdir build
- cd build
- cmake CMakeLists.txt ../
- make
- cpack
- mv *.deb ../
artifacts:
expire_in: 52 weeks
paths:
- libpsoc-drc02*.deb
- psoc-drc02*.deb
build-latex-doc:
image: $CI_REGISTRY/docker-images/latex:latest
stage: build
script:
- cd C-API/doc
- doxygen Doxyfile
- cd latex
- latexmk -shell-escape -interaction=nonstopmode -pdf -f refman.tex
- mv refman.pdf ../../../DOC_$CI_PROJECT_NAME.pdf
artifacts:
expire_in: 52 weeks
paths:
- "DOC_$CI_PROJECT_NAME.pdf"