2018-04-07 15:39:51 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
job make exports:
|
|
|
|
stage: deploy
|
|
|
|
before_script:
|
2018-04-08 14:59:45 +00:00
|
|
|
- apt-get update
|
2018-04-08 15:01:43 +00:00
|
|
|
- apt-get install -y zip
|
2018-04-07 15:39:51 +00:00
|
|
|
- mkdir -p bin
|
|
|
|
- wget http://downloads.tuxfamily.org/godotengine/3.0.2/Godot_v3.0.2-stable_linux_server.64.zip -O godot3-server.zip
|
|
|
|
- unzip godot3-server.zip
|
2018-04-08 15:39:28 +00:00
|
|
|
- rm godot3-server.zip
|
2018-04-08 15:04:56 +00:00
|
|
|
- mv Godot_v3.0.2-stable_linux_server.64 bin/godot3-server
|
|
|
|
- chmod +x bin/godot3-server
|
2018-04-08 15:39:28 +00:00
|
|
|
- df -h
|
2018-04-08 16:29:44 +00:00
|
|
|
- whoami
|
2018-04-08 16:03:56 +00:00
|
|
|
- mkdir -p ~/.cache
|
2018-04-08 16:07:48 +00:00
|
|
|
- mkdir -p ~/.config/godot
|
2018-04-08 15:38:36 +00:00
|
|
|
- WGET_ARGS='' make install-templates
|
2018-04-08 16:29:44 +00:00
|
|
|
- find ~/.local/share/godot
|
2018-04-07 15:39:51 +00:00
|
|
|
script:
|
|
|
|
- GODOT=./bin/godot3-server make export-all
|
2018-04-08 16:15:13 +00:00
|
|
|
after_script:
|
|
|
|
- find build/
|
|
|
|
- git status
|
2018-04-07 15:39:51 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|