2023-10-14 15:31:11 +00:00
|
|
|
image: khaganat/godot-export:4.2dev5
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- pre-export
|
|
|
|
- export
|
|
|
|
|
|
|
|
variables:
|
2023-10-15 13:18:25 +00:00
|
|
|
EXPORT_NAME: Ile-de-test
|
2023-10-14 15:31:11 +00:00
|
|
|
|
|
|
|
commit_text:
|
|
|
|
stage: pre-export
|
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
|
|
|
- echo "$CI_COMMIT_BRANCH - $CI_COMMIT_SHORT_SHA" > commit.txt
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- commit.txt
|
2023-10-14 15:33:28 +00:00
|
|
|
#rules:
|
|
|
|
# - if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
2023-10-14 16:08:59 +00:00
|
|
|
when: manual
|
2023-10-14 15:31:11 +00:00
|
|
|
|
|
|
|
linux64:
|
|
|
|
stage: export
|
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
2023-10-15 09:20:58 +00:00
|
|
|
- apt-get update && apt-get install -y mesa-vulkan-drivers libfontconfig1-dev
|
2023-10-14 15:31:11 +00:00
|
|
|
- mkdir -v -p $EXPORT_NAME-linux64-$CI_COMMIT_SHORT_SHA
|
2023-10-15 13:28:38 +00:00
|
|
|
- godot -v --export-debug --headless "Linux/X11" $EXPORT_NAME-linux64-$CI_COMMIT_SHORT_SHA/$EXPORT_NAME-.x86_64
|
2023-10-14 15:31:11 +00:00
|
|
|
artifacts:
|
|
|
|
name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
|
|
|
|
paths:
|
|
|
|
- $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
|
2023-10-14 16:00:49 +00:00
|
|
|
expire_in: 2 week
|
2023-10-14 15:33:28 +00:00
|
|
|
#rules:
|
|
|
|
# - if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
2023-10-14 16:10:11 +00:00
|
|
|
when: manual
|
2023-10-14 15:31:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
windows:
|
|
|
|
stage: export
|
|
|
|
tags:
|
|
|
|
- Docker
|
|
|
|
script:
|
|
|
|
- mkdir -v -p $EXPORT_NAME-windows-$CI_COMMIT_SHORT_SHA
|
|
|
|
- godot -v --export-debug --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
|
2023-10-14 16:00:49 +00:00
|
|
|
expire_in: 2 week
|
2023-10-14 15:33:28 +00:00
|
|
|
#rules:
|
|
|
|
# - if: '$CI_COMMIT_MESSAGE =~ /<debug>/'
|
2023-10-14 16:00:49 +00:00
|
|
|
when: manual
|
2023-10-14 15:31:11 +00:00
|
|
|
|