summaryrefslogtreecommitdiff
path: root/tools/ci/branches/.gitlab-ci_header.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/branches/.gitlab-ci_header.yml')
-rw-r--r--tools/ci/branches/.gitlab-ci_header.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/ci/branches/.gitlab-ci_header.yml b/tools/ci/branches/.gitlab-ci_header.yml
new file mode 100644
index 000000000..faeae1416
--- /dev/null
+++ b/tools/ci/branches/.gitlab-ci_header.yml
@@ -0,0 +1,26 @@
+stages:
+ - build
+
+# with :; prevent from run it on windows
+before_script:
+ - ":; uname -a"
+ - ":; cat /etc/os-release"
+ - ":; pwd"
+ - ":; cat /proc/sys/kernel/core_pattern"
+ - ":; mkdir logs || true"
+ - ":; ${UPDATEREPOS}"
+ - ":; ${DOCKERRETRY} ${PMUPDATE} >logs/apt.log"
+ - ":; ${DOCKERRETRY} ${PMINSTALL} ${PACKAGES} >>logs/apt.log"
+ - ":; ./tools/ci/scripts/clonesrc.sh"
+ - ":; cd manaplus"
+
+image: debian:unstable
+
+variables:
+ GET_SOURCES_ATTEMPTS: "5"
+ ARTIFACT_DOWNLOAD_ATTEMPTS: "5"
+ UPDATEREPOS: "tools/ci/scripts/updaterepos.sh"
+ PMUPDATE: "apt-get update"
+ PMINSTALL: "apt-get install -y -qq"
+ DOCKERRETRY: "./tools/ci/scripts/dockerretry.sh"
+ GIT_DEPTH: "1"