2018-04-07 15:39:51 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- deploy
|
|
|
|
|
2018-04-08 17:21:08 +00:00
|
|
|
before_script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y zip
|
|
|
|
- mkdir -p bin
|
|
|
|
- mkdir -p ~/.cache
|
|
|
|
- mkdir -p ~/.config/godot
|
|
|
|
- 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
|
|
|
|
- rm godot3-server.zip
|
|
|
|
- mv Godot_v3.0.2-stable_linux_server.64 bin/godot3-server
|
|
|
|
- chmod +x bin/godot3-server
|
|
|
|
- df -h
|
|
|
|
- WGET_ARGS='' make install-templates
|
2018-04-07 15:39:51 +00:00
|
|
|
|
2018-04-08 17:21:08 +00:00
|
|
|
export:html5:
|
2018-04-08 17:23:14 +00:00
|
|
|
stage: deploy
|
2018-04-08 17:21:08 +00:00
|
|
|
script:
|
|
|
|
- GODOT=./bin/godot3-server make export-html5
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-html5
|
|
|
|
|
|
|
|
export:windows:
|
2018-04-08 17:23:14 +00:00
|
|
|
stage: deploy
|
2018-04-08 17:21:08 +00:00
|
|
|
script:
|
|
|
|
- GODOT=./bin/godot3-server make export-windows
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
name: "$CI_PROJECT_NAME"-windows
|
|
|
|
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-windows
|
|
|
|
|
|
|
|
export:osx:
|
2018-04-08 17:23:14 +00:00
|
|
|
stage: deploy
|
2018-04-08 17:21:08 +00:00
|
|
|
script:
|
|
|
|
- GODOT=./bin/godot3-server make export-osx
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
name: "$CI_PROJECT_NAME"-osx
|
|
|
|
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-osx
|
2018-04-07 15:39:51 +00:00
|
|
|
|
2018-04-08 17:21:08 +00:00
|
|
|
export:linux:
|
2018-04-08 17:23:14 +00:00
|
|
|
stage: deploy
|
2018-04-07 15:39:51 +00:00
|
|
|
script:
|
2018-04-08 17:21:08 +00:00
|
|
|
- GODOT=./bin/godot3-server make export-linux
|
2018-04-07 15:39:51 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-04-08 17:21:08 +00:00
|
|
|
- build/
|
|
|
|
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-linux
|
|
|
|
|