Split export into multiple jobs
This commit is contained in:
parent
84756bd5c0
commit
4d1fad5cf1
|
@ -3,30 +3,61 @@ stages:
|
|||
- test
|
||||
- deploy
|
||||
|
||||
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
|
||||
|
||||
|
||||
job make exports:
|
||||
stage: deploy
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install -y zip
|
||||
- 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
|
||||
- rm godot3-server.zip
|
||||
- mv Godot_v3.0.2-stable_linux_server.64 bin/godot3-server
|
||||
- chmod +x bin/godot3-server
|
||||
- df -h
|
||||
- whoami
|
||||
- mkdir -p ~/.cache
|
||||
- mkdir -p ~/.config/godot
|
||||
- WGET_ARGS='' make install-templates
|
||||
- find ~/.local/share/godot
|
||||
export:html5:
|
||||
- stage: deploy
|
||||
script:
|
||||
- GODOT=./bin/godot3-server make export-all
|
||||
after_script:
|
||||
- find build/
|
||||
- git status
|
||||
- GODOT=./bin/godot3-server make export-html5
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
- build/
|
||||
only:
|
||||
- tags
|
||||
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-html5
|
||||
|
||||
export:windows:
|
||||
- stage: deploy
|
||||
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:
|
||||
- stage: deploy
|
||||
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
|
||||
|
||||
export:linux:
|
||||
- stage: deploy
|
||||
script:
|
||||
- GODOT=./bin/godot3-server make export-linux
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
name: "$CI_PROJECT_NAME"-"$CI_COMMIT_REF_NAME"-linux
|
||||
|
||||
|
|
Loading…
Reference in New Issue