Tweaking CI presets for basic manual use

This commit is contained in:
yannk 2022-04-02 16:36:53 +02:00
parent 8ac933869c
commit 552f147f7c

View file

@ -1,40 +1,36 @@
image: khaganat/godot-export:4 image: khaganat/godot-export:4
stages: stages:
- test
- export - export
variables: variables:
EXPORT_NAME: khanat_client EXPORT_NAME: TPbasicgame_3dclient
linux64_test: linux64:
stage: test stage: export
tags: tags:
- Docker - Docker
script: script:
- mkdir -v -p $EXPORT_NAME$CI_COMMIT_SHORT_SHA - apt-get update && apt-get install -y mesa-vulkan-drivers
- godot -v --export --headless "Linux/X11" $EXPORT_NAME$CI_COMMIT_SHORT_SHA/$EXPORT_NAME$CI_COMMIT_SHORT_SHA.x86_64 - 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: artifacts:
name: $EXPORT_NAME$CI_COMMIT_SHORT_SHA$CI_JOB_NAME name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
paths: paths:
- $EXPORT_NAME$CI_COMMIT_SHORT_SHA - $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
expire_in: 1 week expire_in: 1 week
#except:
#- stable
#- develop
when: manual when: manual
windows: windows:
stage: test stage: export
tags: tags:
- Docker - Docker
script: script:
- mkdir -v -p $EXPORT_NAME$CI_COMMIT_SHORT_SHA - 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 - godot -v --export --headless "Windows Desktop" $EXPORT_NAME-$CI_COMMIT_SHORT_SHA/$EXPORT_NAME-$CI_COMMIT_SHORT_SHA.x86_64
artifacts: artifacts:
name: $EXPORT_NAME$CI_COMMIT_SHORT_SHA$CI_JOB_NAME name: $EXPORT_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME
paths: paths:
- $EXPORT_NAME$CI_COMMIT_SHORT_SHA - $EXPORT_NAME-$CI_COMMIT_SHORT_SHA
#only: expire_in: 1 week
# - stable
when: manual when: manual