fossekleiva-ks-hackathon-demo/.gitlab-ci.yml

61 lines
1.1 KiB
YAML
Raw Normal View History

2019-09-26 00:00:54 +02:00
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
2019-09-27 00:02:36 +02:00
#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
2019-09-26 00:00:54 +02:00
2019-09-27 00:02:36 +02:00
#windows:
# stage: export
# script:
# - godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
# artifacts:
# name: $EXPORT_NAME-$CI_JOB_NAME
# paths:
# - build/windows
2019-09-26 00:00:54 +02:00
2019-09-27 00:02:36 +02:00
#mac:
# stage: export
# script:
# - godot -v --export "Mac OSX" ./build/mac/$EXPORT_NAME.zip
# artifacts:
# name: $EXPORT_NAME-$CI_JOB_NAME
# paths:
# - build/mac
2019-09-26 00:00:54 +02:00
web:
stage: export
script:
- godot -v --export "HTML5" ./build/web/index.html
artifacts:
name: $EXPORT_NAME-$CI_JOB_NAME
paths:
2019-09-26 00:08:09 +02:00
- build/web
pages:
stage: deploy
script:
- mv build/web public
artifacts:
paths:
- public
only:
refs:
- master
needs:
2019-09-27 00:02:36 +02:00
- web