67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
image: khaganat/godot-export:3.3.4
|
|
|
|
stages:
|
|
- test
|
|
- export
|
|
|
|
variables:
|
|
EXPORT_NAME: khanatclient
|
|
|
|
linux64_test:
|
|
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
|
|
expire_in: 1 week
|
|
except:
|
|
- stable
|
|
#- develop
|
|
when: manual
|
|
|
|
linux64:
|
|
stage: export
|
|
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:
|
|
- stable
|
|
|
|
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
|
|
artifacts:
|
|
name: $EXPORT_NAME_$CI_JOB_NAME_$CI_COMMIT_SHORT_SHA
|
|
paths:
|
|
- $EXPORT_NAME_$CI_COMMIT_SHORT_SHA
|
|
only:
|
|
- stable
|
|
|
|
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:
|
|
- stable
|