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

36 lines
949 B
YAML

image: khaganat/godot-export:4
stages:
- export
variables:
EXPORT_NAME: TPbasicgame_3dclient
linux64:
stage: export
tags:
- Docker
script:
- apt-get update && apt-get install -y mesa-vulkan-drivers
- 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
when: manual
windows:
stage: export
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.x86_64
artifacts:
name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
paths:
- $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
expire_in: 1 week
when: manual