Add new file
This commit is contained in:
parent
ebc6a541c9
commit
ee3d02b683
1 changed files with 40 additions and 0 deletions
40
.gitlab-ci.yml
Normal file
40
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
image: khaganat/godot-export:4
|
||||
|
||||
stages:
|
||||
- test
|
||||
- export
|
||||
|
||||
variables:
|
||||
EXPORT_NAME: khanat_client
|
||||
|
||||
linux64_test:
|
||||
stage: test
|
||||
tags:
|
||||
- Docker
|
||||
script:
|
||||
- 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
|
||||
#except:
|
||||
#- stable
|
||||
#- develop
|
||||
when: manual
|
||||
|
||||
windows:
|
||||
stage: test
|
||||
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.exe
|
||||
artifacts:
|
||||
name: $EXPORT_NAME$CI_COMMIT_SHORT_SHA$CI_JOB_NAME
|
||||
paths:
|
||||
- $EXPORT_NAME$CI_COMMIT_SHORT_SHA
|
||||
#only:
|
||||
# - stable
|
||||
when: manual
|
Loading…
Reference in a new issue