ld41-sim_shitty/.gitlab-ci.yml

74 lines
1.5 KiB
YAML
Raw Normal View History

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:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-html5"
2018-04-08 17:25:24 +00:00
paths:
- build/
only:
- tags
2018-04-08 17:21:08 +00:00
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:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-windows"
2018-04-08 17:21:08 +00:00
paths:
- build/
2018-04-08 17:25:24 +00:00
only:
- tags
2018-04-08 17:21:08 +00:00
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:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-osx"
2018-04-08 17:21:08 +00:00
paths:
- build/
2018-04-08 17:25:24 +00:00
only:
- tags
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:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-linux"
2018-04-07 15:39:51 +00:00
paths:
2018-04-08 17:21:08 +00:00
- build/
only:
- tags
2018-04-08 17:21:08 +00:00
export:linux_commit:
stage: deploy
script:
- GODOT=./bin/godot3-server make export-linux
artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA-linux"
paths:
- build/
except:
- tags