From 0418d6a17b1e5611e6afd643b86197bc142feec4 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 21 Jan 2018 18:12:07 -0500 Subject: add gitlab-ci support --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++ tools | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..aff1d127 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +stages: +- deploy + +image: ubuntu:rolling +before_script: + - uname -a + +pages: + stage: deploy + variables: + GIT_STRATEGY: clone + GIT_SUBMODULE_STRATEGY: recursive + GIT_DEPTH: "1" + UPDATE_DIR: "../../../public" + UPDATE_HTTP: "none" + CC: "clang" + script: + - apt-get -qq update + - apt-get install -qq -y make clang zip zlib1g-dev zlibc python + - mkdir public + - make updates + - make news + - cp -v world/map/news.txt public/ + artifacts: + paths: + - public + only: + - web + - pushes diff --git a/tools b/tools index d3f495b7..39ad32ff 160000 --- a/tools +++ b/tools @@ -1 +1 @@ -Subproject commit d3f495b75dbe1fb0d4c4fac54b3e0e8214940086 +Subproject commit 39ad32ff2226884613cd84babe2370f5c7cac71c -- cgit v1.2.3-60-g2f50