godot-third-person-basic-scene/.gitlab-ci.yml

41 lines
918 B
YAML
Raw Normal View History

2022-02-04 14:05:18 +00:00
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