master
Kyra Zimmer 2020-08-13 11:55:01 +02:00
parent 93eb4cde61
commit 4c66e334fb
1 changed files with 20 additions and 10 deletions

View File

@ -1,13 +1,23 @@
image: debian:stretch-slim
before_script:
- apt-get update
- apt-get install -qq luarocks zsh
- luarocks install moonscript
- wget https://github.com/minetest/minetest_game/archive/5.3.0.tar.gz
- mkdir minetest_game
- cd minetest_game && tar -xf ../5.3.0.tar.gz && cd ..
default:
image: debian:stretch-slim
before_script:
- apt-get update
- apt-get install -qq luarocks zsh git
- luarocks install moonscript
- mkdir tmp
- cd tmp
- wget https://github.com/minetest/minetest_game/archive/5.3.0.tar.gz
- mkdir minetest_game
- cd minetest_game
- tar -xf ../5.3.0.tar.gz
- cd ../..
after_script:
- rm -rf tmp
build:
script:
- MTG_PATH=../minetest_game ./build.sh
- MTG_PATH=minetest_game ./build.sh
- tar --exclude tmp/ --exclude-vcs -czf wbg.tar.gz *
artifacts:
paths:
- wbg.tar.gz