Compare commits
5 Commits
09229c2463
...
aaa538bcac
Author | SHA1 | Date |
---|---|---|
|
aaa538bcac | 1 year ago |
|
bd5c86701d | 1 year ago |
|
fe747a630c | 1 year ago |
|
11a1502be2 | 1 year ago |
|
992b44bcfb | 1 year ago |
@ -1,40 +1,22 @@
|
||||
kind: pipeline
|
||||
image: barichello/godot-ci:3.4.2
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
# NOTE: the `cd` command in each build stage is not necessary if your
|
||||
# project.godot is at the repo root
|
||||
steps:
|
||||
- name: windows
|
||||
image: barichello/godot-ci:3.4.2
|
||||
commands:
|
||||
- mkdir -v -p build/windows
|
||||
- godot -v --export "Windows Desktop" build/windows/godot-rpg.exe
|
||||
|
||||
# Cache imported assets between runs
|
||||
cache:
|
||||
key: import-assets
|
||||
paths:
|
||||
- .import/
|
||||
|
||||
stages:
|
||||
- export
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
EXPORT_NAME: godot-rpg
|
||||
|
||||
linux:
|
||||
stage: export
|
||||
script:
|
||||
- mkdir -v -p build/linux
|
||||
- cd $EXPORT_NAME
|
||||
- godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/linux
|
||||
|
||||
windows:
|
||||
stage: export
|
||||
script:
|
||||
- mkdir -v -p build/windows
|
||||
- cd $EXPORT_NAME
|
||||
- godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_JOB_NAME
|
||||
paths:
|
||||
- build/windows
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://git.freecumextremist.com
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files:
|
||||
- /drone/src/build/windows/godot-rpg.exe
|
||||
- /drone/src/build/linux/godot-rpg.x86_64
|
||||
when:
|
||||
event: tag
|
||||
|
Loading…
Reference in new issue