Просмотр исходного кода

gitlab-ci: remove redundant sphinx build from release-style CI jobs

The Sphinx build is mostly serial and takes a long time.  All our CI
pipelines (packaging, integration branches, merge requests) have a
dedicated job for the Sphinx build.
Brad King 4 лет назад
Родитель
Сommit
9b5eae9cde
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      .gitlab/os-linux.yml

+ 2 - 1
.gitlab/os-linux.yml

@@ -253,7 +253,8 @@
     script:
         # Bootstrap.
         - mkdir -p build/
-        - cp -v Utilities/Release/linux/$CMAKE_ARCH/cache.txt build/CMakeCache.txt
+        # Exclude documentation.  A job dependency provides it for packaging.
+        - sed '/^# Build doc/,/^$/d' Utilities/Release/linux/$CMAKE_ARCH/cache.txt > build/CMakeCache.txt
         # Make sccache available.
         - .gitlab/ci/sccache.sh
         - export PATH=$PWD/.gitlab:$PATH