Skip to content

Commit

Permalink
Merge branch 'topic/vadim/ci-doc' into 'master'
Browse files Browse the repository at this point in the history
Build documentation by CI

Closes #51

See merge request eng/ide/gnatdoc!86
  • Loading branch information
godunko committed Sep 14, 2023
2 parents 1ac26ee + 84fd8e3 commit 3e94448
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,29 @@ build_and_test:
reports:
junit: xunit_output.xml

build_doc:
services:
- image:e3
stage: build_and_test
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
changes:
- documentation/users_guide/*
- if: $CI_PIPELINE_SOURCE == 'pipeline'
changes:
- documentation/users_guide/*
- if: $CI_COMMIT_BRANCH == 'master' && $CI_COMMIT_TITLE =~ /Merge branch.*/
changes:
- documentation/users_guide/*
- if: $CI_COMMIT_BRANCH == 'edge' && $CI_COMMIT_TITLE =~ /Merge branch.*/
changes:
- documentation/users_guide/*
script:
- !reference [.basic-setup]

# Build gnatdoc
- anod build gnatdoc4-doc $ACI_TRACK_QUALIFIER

downstream_ci:
stage: downstream_ci
rules:
Expand Down

0 comments on commit 3e94448

Please sign in to comment.