-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
30 lines (26 loc) · 858 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
30 lines (26 loc) · 858 Bytes
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
# This .gitlab.ci.yml is based on:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
# the FPC specific parts are partly from:
# https://gitlab.com/alb42/testconversion2/-/blob/main/.gitlab-ci.yml
image: registry.gitlab.com/freepascal.org/fpc/source/debian-buster-x86_64
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build-and-deploy
build-job:
stage: build-and-deploy
artifacts:
name: "$CI_BUILD"
paths:
- fpc-*.tar
- fpcdocs/doc-pdf.zip
- fpcdocs/doc-pdf.tar.gz
when: always
expire_in: 14 days
script:
- make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 FPMAKEOPT="-T 4"
- cd fpcdocs
- make pdfdist > docs.log || tail docs.log
- cd ..
- cp fpcdocs/doc-pdf.tar.gz .
- install/makepack