feature/jenkins (#1)

Co-authored-by: stilobique-i7 <aurelienvlt@free.fr>
Co-authored-by: Aurelien Vaillant <a.vaillant.moderlab@gmail.com>
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com>
Co-authored-by: Vaillant jeremy <vaillant.jeremy@dev-crea.com>
Reviewed-on: Athena/game-source#1
Co-authored-by: darknight <vaillant.jeremy.loic@gmail.com>
Co-committed-by: darknight <vaillant.jeremy.loic@gmail.com>
This commit is contained in:
darknight
2021-07-24 18:09:55 +02:00
parent d48940296f
commit 1b430a3369
2 changed files with 43 additions and 3 deletions
+30
View File
@@ -0,0 +1,30 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
steps:
- name: Windows
image: barichello/godot-ci:3.3.2
commands:
- godot --export "Windows Desktop" "releases/windows/${EXPORT_NAME}.exe"
- name: Android
image: barichello/godot-ci:3.3.2
commands:
- echo $SECRET_RELEASE_KEYSTORE_BASE64 | base64 --decode > /root/release.keystore
- sed 's@keystore/release=".*"@keystore/release="'/root/release.keystore'"@g' -i export_presets.cfg
- sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg
- sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
- godot --export "Android" "releases/android/${EXPORT_NAME}.apk"