diff options
author | sfan5 <sfan5@live.de> | 2022-06-07 21:01:40 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-06-07 22:56:22 +0200 |
commit | 213d3562bd29805e0bc8549a4e9e3aa2bf0f0349 (patch) | |
tree | 63c3cb79fba527416c44c1d74b5ad498df64cf5b | |
parent | 3ac5a24b12950a2d92860d000b9477a11c1ad68b (diff) | |
download | minetest-213d3562bd29805e0bc8549a4e9e3aa2bf0f0349.tar.gz minetest-213d3562bd29805e0bc8549a4e9e3aa2bf0f0349.tar.bz2 minetest-213d3562bd29805e0bc8549a4e9e3aa2bf0f0349.zip |
Fix Gitlab-CI pipelines
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e8186570..7be2de295 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,10 @@ variables: - DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libleveldb-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev script: - git clone https://github.com/minetest/irrlicht -b $IRRLICHT_TAG lib/irrlichtmt - - cmake -B build -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE .. - - cmake --build build --parallel $(($(nproc) + 1)) - - cmake --install build + - mkdir build && cd build + - cmake -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE .. + - make -j $(($(nproc) + 1)) + - make install artifacts: when: on_success expire_in: 1h |