khanat-client/.gitlab-ci.yml

53 lines
1.2 KiB
YAML
Raw Normal View History

image: barichello/godot-ci:3.3.3
2021-09-28 08:30:28 +00:00
stages:
- export
variables:
EXPORT_NAME: khanat_client
2021-09-28 08:30:28 +00:00
linux64:
stage: export
2021-09-28 08:30:28 +00:00
tags:
- Docker
script:
- mkdir -v -p $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
- godot -v --export "Linux/X11" $EXPORT_NAME_$CI_COMMIT_SHORT_SHA/$EXPORT_NAME_$CI_COMMIT_SHORT_SHA.x86_64
artifacts:
name: $EXPORT_NAME_$CI_JOB_NAME_$CI_COMMIT_SHORT_SHA
paths:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only:
- merge_requests
when: manual
2021-09-28 08:30:28 +00:00
windows:
stage: export
tags:
- Docker
script:
- mkdir -v -p $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
- godot -v --export "Windows Desktop" $EXPORT_NAME_$CI_COMMIT_SHORT_SHA/$EXPORT_NAME_$CI_COMMIT_SHORT_SHA.exe
2021-09-28 08:30:28 +00:00
artifacts:
name: $EXPORT_NAME_$CI_JOB_NAME_$CI_COMMIT_SHORT_SHA
2021-09-28 08:30:28 +00:00
paths:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only:
- merge_requests
2021-09-28 08:30:28 +00:00
when: manual
mac:
stage: export
tags:
- Docker
script:
- mkdir -v -p $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
- godot -v --export "Mac OSX" $EXPORT_NAME_$CI_COMMIT_SHORT_SHA/$EXPORT_NAME_$CI_COMMIT_SHORT_SHA.zip
artifacts:
name: $EXPORT_NAME_$CI_JOB_NAME_$CI_COMMIT_SHORT_SHA
paths:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only:
- merge_requests
when: manual