2022-02-04 14:05:18 +00:00
|
|
|
image: khaganat/godot-export:4
|
|
|
|
|
|
|
|
stages:
|
2022-05-19 17:37:58 +00:00
|
|
|
- pre-export
|
2022-02-04 14:05:18 +00:00
|
|
|
- export
|
|
|
|
|
|
|
|
variables:
|
2022-05-19 17:37:58 +00:00
|
|
|
EXPORT_NAME: 3rd_Person_3dclient_test
|
|
|
|
|
|
|
|
commit_text:
|
|
|
|
stage: pre-export
|
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
2022-05-19 17:54:39 +00:00
|
|
|
- echo "$CI_COMMIT_BRANCH - $CI_COMMIT_SHORT_SHA" > commit.txt
|
2022-05-19 17:37:58 +00:00
|
|
|
artifacts:
|
2022-05-19 17:54:39 +00:00
|
|
|
paths:
|
|
|
|
- commit.txt
|
2022-05-19 17:37:58 +00:00
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
|
|
|
when: always
|
2022-02-04 14:05:18 +00:00
|
|
|
|
2022-04-02 14:36:53 +00:00
|
|
|
linux64:
|
|
|
|
stage: export
|
2022-02-04 14:05:18 +00:00
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
2022-04-02 14:36:53 +00:00
|
|
|
- apt-get update && apt-get install -y mesa-vulkan-drivers
|
2022-04-02 15:13:13 +00:00
|
|
|
- mkdir -v -p $EXPORT_NAME-linux64-$CI_COMMIT_SHORT_SHA
|
2022-05-19 17:37:58 +00:00
|
|
|
- godot -v --export-debug --headless "Linux/X11" $EXPORT_NAME-$CI_COMMIT_SHORT_SHA/$EXPORT_NAME-$CI_COMMIT_SHORT_SHA.x86_64
|
2022-02-04 14:05:18 +00:00
|
|
|
artifacts:
|
2022-04-02 14:36:53 +00:00
|
|
|
name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
|
2022-02-04 14:05:18 +00:00
|
|
|
paths:
|
2022-04-02 14:36:53 +00:00
|
|
|
- $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
|
2022-02-04 14:05:18 +00:00
|
|
|
expire_in: 1 week
|
2022-05-19 17:37:58 +00:00
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
|
|
|
when: always
|
|
|
|
|
2022-02-04 14:05:18 +00:00
|
|
|
|
|
|
|
windows:
|
2022-04-02 14:36:53 +00:00
|
|
|
stage: export
|
2022-02-04 14:05:18 +00:00
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
2022-04-02 15:13:13 +00:00
|
|
|
- mkdir -v -p $EXPORT_NAME-windows-$CI_COMMIT_SHORT_SHA
|
2022-05-19 17:37:58 +00:00
|
|
|
- godot -v --export-debug --headless "Windows Desktop" $EXPORT_NAME-$CI_COMMIT_SHORT_SHA/$EXPORT_NAME-$CI_COMMIT_SHORT_SHA.exe
|
2022-02-04 14:05:18 +00:00
|
|
|
artifacts:
|
2022-04-02 14:36:53 +00:00
|
|
|
name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
|
2022-02-04 14:05:18 +00:00
|
|
|
paths:
|
2022-04-02 14:36:53 +00:00
|
|
|
- $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
|
|
|
|
expire_in: 1 week
|
2022-05-19 17:37:58 +00:00
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
|
|
|
when: always
|
|
|
|
|