Skip to content

Commit 3e94448

Browse files
committed
Merge branch 'topic/vadim/ci-doc' into 'master'
Build documentation by CI Closes #51 See merge request eng/ide/gnatdoc!86
2 parents 1ac26ee + 84fd8e3 commit 3e94448

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.gitlab-ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ build_and_test:
4747
reports:
4848
junit: xunit_output.xml
4949

50+
build_doc:
51+
services:
52+
- image:e3
53+
stage: build_and_test
54+
rules:
55+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
56+
changes:
57+
- documentation/users_guide/*
58+
- if: $CI_PIPELINE_SOURCE == 'pipeline'
59+
changes:
60+
- documentation/users_guide/*
61+
- if: $CI_COMMIT_BRANCH == 'master' && $CI_COMMIT_TITLE =~ /Merge branch.*/
62+
changes:
63+
- documentation/users_guide/*
64+
- if: $CI_COMMIT_BRANCH == 'edge' && $CI_COMMIT_TITLE =~ /Merge branch.*/
65+
changes:
66+
- documentation/users_guide/*
67+
script:
68+
- !reference [.basic-setup]
69+
70+
# Build gnatdoc
71+
- anod build gnatdoc4-doc $ACI_TRACK_QUALIFIER
72+
5073
downstream_ci:
5174
stage: downstream_ci
5275
rules:

0 commit comments

Comments
 (0)