135 lines
2.6 KiB
YAML
135 lines
2.6 KiB
YAML
---
|
|
# Windows Development version
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: WindowsDebugVersion
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
steps:
|
|
- name: WindowsDebug
|
|
image: barichello/godot-ci:3.3.2
|
|
volumes:
|
|
- name: binary
|
|
path: releases/windows
|
|
commands:
|
|
- godot --export "WindowsDebug" "releases/windows/Puzzle Quest.exe"
|
|
- name: WindowsDeploy
|
|
image: barichello/godot-ci:3.3.2
|
|
volumes:
|
|
- name: binary
|
|
path: releases/windows
|
|
environment:
|
|
BUTLER_API_KEY:
|
|
from_secret: BUTLER_API_KEY
|
|
commands:
|
|
- butler push --if-changed --ignore '.keep' "releases/windows" "dev-crea/ahog:windows"
|
|
|
|
trigger:
|
|
branch:
|
|
- dev
|
|
|
|
---
|
|
# Android Development version
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: AndroidDebugVersion
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
steps:
|
|
- name: AndroidDebug
|
|
image: devcrea/godot-ci:3.3.2-android
|
|
volumes:
|
|
- name: binary
|
|
path: releases/android
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y wget
|
|
- wget -O /root/debug.keystore https://u.pcloud.link/publink/show?code=XZD8dxXZSdXUyze6UHXxhssGJXHfUBI730Gk
|
|
- sed 's@keystore/debug=".*"@keystore/debug="'/root/debug.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 "AndroidDebug" "releases/android/Puzzle Quest.apk"
|
|
- name: AndroidDeploy
|
|
image: barichello/godot-ci:3.3.2
|
|
volumes:
|
|
- name: binary
|
|
path: releases/android
|
|
environment:
|
|
BUTLER_API_KEY:
|
|
from_secret: BUTLER_API_KEY
|
|
commands:
|
|
- butler push --if-changed --ignore '.keep' "releases/android" "dev-crea/ahog:android"
|
|
|
|
trigger:
|
|
branch:
|
|
- dev
|
|
|
|
---
|
|
# Linux Development version
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: LinuxDebugVersion
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
steps:
|
|
- name: LinuxDebug
|
|
image: barichello/godot-ci:3.3.2
|
|
volumes:
|
|
- name: binary
|
|
path: releases/linux
|
|
commands:
|
|
- godot --export "Linux/X11Debug" "releases/linux/Puzzle Quest.x86_64"
|
|
- name: LinuxDeploy
|
|
image: barichello/godot-ci:3.3.2
|
|
volumes:
|
|
- name: binary
|
|
path: releases/linux
|
|
environment:
|
|
BUTLER_API_KEY:
|
|
from_secret: BUTLER_API_KEY
|
|
commands:
|
|
- butler push --if-changed --ignore '.keep' "releases/linux" "dev-crea/ahog:linux"
|
|
|
|
trigger:
|
|
branch:
|
|
- dev
|
|
|
|
---
|
|
# For Production version
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: ReleaseVersion
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|