Update .gitlab-ci.yml

This commit is contained in:
deed 2021-10-20 16:21:09 +00:00
parent ff7c27ad3f
commit bfd58141a0

View file

@ -1,11 +1,28 @@
image: barichello/godot-ci:3.3.3 image: khaganat/godot-export:3.3.4
stages: stages:
- test
- export - export
variables: variables:
EXPORT_NAME: khanat_client EXPORT_NAME: khanat_client
linux64:
stage: test
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
except:
- stable
- develop
when: manual
linux64: linux64:
stage: export stage: export
tags: tags:
@ -19,7 +36,6 @@ linux64:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA - $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only: only:
- merge_requests - merge_requests
when: manual
windows: windows:
stage: export stage: export
@ -34,7 +50,6 @@ windows:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA - $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only: only:
- merge_requests - merge_requests
when: manual
mac: mac:
stage: export stage: export
@ -49,4 +64,3 @@ mac:
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA - $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
only: only:
- merge_requests - merge_requests
when: manual