aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Krause <vkrause@kde.org>2022-01-24 16:58:52 +0100
committerAhmad Samir <a.samirh78@gmail.com>2022-01-25 07:55:55 +0000
commitb692afe0cb77141d2c0048b4433857951bb1b3ba (patch)
tree371ef01441c162529908cf1ab49c54b8cfc11f40
parent76d3aeba00054b8fdef5d51a41585802522e7af6 (diff)
downloadextra-cmake-modules-b692afe0cb77141d2c0048b4433857951bb1b3ba.tar.gz
extra-cmake-modules-b692afe0cb77141d2c0048b4433857951bb1b3ba.tar.bz2
Disable building tests for the docs build
Tests require a compiler, which the docs environment doesn't have.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 388797a1..5ad39e32 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ docs:
before_script:
- apt-get update && apt-get install --yes --no-install-recommends cmake make gcc libc6-dev umps3 python3-sphinx sphinx-common python3-sphinxcontrib.qthelp
script:
- - mkdir build && cd build && cmake .. && cmake --build .
+ - mkdir build && cd build && cmake -DBUILD_TESTING=OFF .. && cmake --build .
- mkdir ../ecm-docs && mv docs/html/* ../ecm-docs/
artifacts:
name: ecm-docs-${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}