Skip to content

Commit

Permalink
[ci] Moved build-docs to its own file.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Jun 4, 2020
1 parent 5863e50 commit 7229e0f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ include:
- local: '/scripts/ci/jobs/pre-commit.yml'
- local: '/scripts/ci/jobs/build_image.yml'
- local: '/scripts/ci/jobs/build.yml'
- local: '/scripts/ci/jobs/build-docs.yml'
- local: '/scripts/ci/jobs/build-win.yml'
- local: '/scripts/ci/jobs/build-mac.yml'
- local: '/scripts/ci/jobs/checks.yml'
Expand Down
16 changes: 16 additions & 0 deletions scripts/ci/jobs/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
build docs:
stage: test
image:
name: $CONTAINER_GCC_IMAGE

before_script:
- mkdir -p build
- cd build

script:
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_USE_CONAN=OFF -DOGS_BUILD_PROCESSES=GroundwaterFlow
- cmake --build . --target doc > >(tee make-docs.output)

artifacts:
expose_as: 'Doxygen'
paths: ['build/docs/']
17 changes: 0 additions & 17 deletions scripts/ci/jobs/build.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
build docs:
stage: test
image:
name: $CONTAINER_GCC_IMAGE

before_script:
- mkdir -p build
- cd build

script:
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_USE_CONAN=OFF -DOGS_BUILD_PROCESSES=GroundwaterFlow
- cmake --build . --target doc > >(tee make-docs.output)

artifacts:
expose_as: 'Doxygen'
paths: ['build/docs/']

build:
stage: test
variables:
Expand Down

0 comments on commit 7229e0f

Please sign in to comment.