Merge branch 'main' of ssh://git.khaganat.net:3543/yannk/godot-third-person-basic-scene

This commit is contained in:
yannk 2022-02-04 15:13:08 +01:00
commit 8ce76a33a5

40
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,40 @@
image: khaganat/godot-export:4
stages:
- test
- export
variables:
EXPORT_NAME: khanat_client
linux64_test:
stage: test
tags:
- Docker
script:
- mkdir -v -p $EXPORT_NAME$CI_COMMIT_SHORT_SHA
- godot -v --export --headless "Linux/X11" $EXPORT_NAME$CI_COMMIT_SHORT_SHA/$EXPORT_NAME$CI_COMMIT_SHORT_SHA.x86_64
artifacts:
name: $EXPORT_NAME$CI_COMMIT_SHORT_SHA$CI_JOB_NAME
paths:
- $EXPORT_NAME$CI_COMMIT_SHORT_SHA
expire_in: 1 week
#except:
#- stable
#- develop
when: manual
windows:
stage: test
tags:
- Docker
script:
- mkdir -v -p $EXPORT_NAME$CI_COMMIT_SHORT_SHA
- godot -v --export --headless "Windows Desktop" $EXPORT_NAME$CI_COMMIT_SHORT_SHA/$EXPORT_NAME$CI_COMMIT_SHORT_SHA.exe
artifacts:
name: $EXPORT_NAME$CI_COMMIT_SHORT_SHA$CI_JOB_NAME
paths:
- $EXPORT_NAME$CI_COMMIT_SHORT_SHA
#only:
# - stable
when: manual