From 5f6c8253f356e7944823166105f557e51d582cd4 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 20 Feb 2020 10:13:46 +0100 Subject: [PATCH] [ci] Moved build-docs to its own file. --- .gitlab-ci.yml | 1 + scripts/ci/jobs/build-docs.yml | 16 ++++++++++++++++ scripts/ci/jobs/build.yml | 17 ----------------- 3 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 scripts/ci/jobs/build-docs.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2327dc0b967..609d101e346 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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' diff --git a/scripts/ci/jobs/build-docs.yml b/scripts/ci/jobs/build-docs.yml new file mode 100644 index 00000000000..c5a01dca71a --- /dev/null +++ b/scripts/ci/jobs/build-docs.yml @@ -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/'] diff --git a/scripts/ci/jobs/build.yml b/scripts/ci/jobs/build.yml index f7adb9cfff4..7255ae26da3 100644 --- a/scripts/ci/jobs/build.yml +++ b/scripts/ci/jobs/build.yml @@ -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: -- GitLab