summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-linux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/os-linux.yml')
-rw-r--r--.gitlab/os-linux.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index dd11cca..74b2de7 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -11,6 +11,12 @@
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
LAUNCHER: "scl enable devtoolset-6 rh-python36 --"
+.linux_prep_source:
+ image: "fedora:32"
+
+ variables:
+ GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
+
### Debian
.debian10:
@@ -143,6 +149,19 @@
- cmake --version
- ninja --version
+.cmake_prep_source_linux:
+ stage: prep
+
+ script:
+ - *before_script_linux
+ - dnf install --setopt=install_weak_deps=False -y git-core
+ - v="$(.gitlab/ci/cmake_version.sh)"
+ - mkdir -p build/
+ - git archive --format=tgz "--prefix=cmake-$v/" -o "build/cmake-$v.tar.gz" HEAD
+ - git -c core.autocrlf=true -c core.eol=crlf archive --format=zip --prefix="cmake-$v/" -o "build/cmake-$v.zip" HEAD
+
+ interruptible: true
+
.cmake_prep_doc_linux:
stage: prep