Merge branch 'master' of https://git.dodsorf.as/Dandellion/fossekleiva-ks-hackathon-demo
This commit is contained in:
commit
3ce467f646
60
.gitlab-ci.yml
Normal file
60
.gitlab-ci.yml
Normal file
@ -0,0 +1,60 @@
|
||||
image: barichello/godot-ci:3.1.1
|
||||
|
||||
stages:
|
||||
- export
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- mkdir -v -p build/linux
|
||||
- mkdir -v -p build/windows
|
||||
- mkdir -v -p build/mac
|
||||
- mkdir -v -p build/web
|
||||
|
||||
linux:
|
||||
stage: export
|
||||
script:
|
||||
- godot -v --export "Linux/X11" ./build/linux/$EXPORT_NAME.x86_64
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/linux
|
||||
|
||||
windows:
|
||||
stage: export
|
||||
script:
|
||||
- godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/windows
|
||||
|
||||
mac:
|
||||
stage: export
|
||||
script:
|
||||
- godot -v --export "Mac OSX" ./build/mac/$EXPORT_NAME.zip
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/mac
|
||||
|
||||
web:
|
||||
stage: export
|
||||
script:
|
||||
- godot -v --export "HTML5" ./build/web/index.html
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/web
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mv build/web public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
needs:
|
||||
- web
|
Loading…
Reference in New Issue
Block a user