mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-25 14:32:26 +00:00
Test pipeline
This commit is contained in:
parent
e7b43b9e2f
commit
f3407f5972
14
.drone.yml
14
.drone.yml
@ -10,7 +10,7 @@ concurrency:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
host:
|
host:
|
||||||
path: /var/lib/cache
|
path: /var/lib/cache-debug
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: server-build
|
- name: server-build
|
||||||
@ -46,7 +46,7 @@ concurrency:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
host:
|
host:
|
||||||
path: /var/lib/cache
|
path: /var/lib/cache-release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Init
|
- name: Init
|
||||||
@ -68,7 +68,7 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /home/eqemu/.ccache/
|
path: /home/eqemu/.ccache/
|
||||||
- name: Package Artifacts
|
- name: Package Artifact
|
||||||
image: akkadius/eqemu-server:v11
|
image: akkadius/eqemu-server:v11
|
||||||
commands:
|
commands:
|
||||||
- zip -j eqemu-server-linux-x64.zip ./build/bin/*
|
- zip -j eqemu-server-linux-x64.zip ./build/bin/*
|
||||||
@ -76,7 +76,7 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /home/eqemu/.ccache/
|
path: /home/eqemu/.ccache/
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifact
|
||||||
image: akkadius/eqemu-build-releaser:v2
|
image: akkadius/eqemu-build-releaser:v2
|
||||||
environment:
|
environment:
|
||||||
RCLONE_CONFIG_REMOTE_TYPE: ftp
|
RCLONE_CONFIG_REMOTE_TYPE: ftp
|
||||||
@ -115,11 +115,11 @@ steps:
|
|||||||
- name: Windows x64
|
- name: Windows x64
|
||||||
commands:
|
commands:
|
||||||
- utils/scripts/build/windows-build.ps1
|
- utils/scripts/build/windows-build.ps1
|
||||||
- name: Package Artifacts
|
- name: Package Artifact
|
||||||
commands:
|
commands:
|
||||||
- utils/scripts/build/package-artifacts.ps1
|
- utils/scripts/build/package-artifacts.ps1
|
||||||
- dir *.zip
|
- dir *.zip
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifact
|
||||||
environment:
|
environment:
|
||||||
RCLONE_CONFIG_REMOTE_TYPE: ftp
|
RCLONE_CONFIG_REMOTE_TYPE: ftp
|
||||||
RCLONE_FTP_HOST: drone.akkadius.com
|
RCLONE_FTP_HOST: drone.akkadius.com
|
||||||
@ -161,6 +161,8 @@ steps:
|
|||||||
- |
|
- |
|
||||||
rclone copy remote: --include "eqemu-server*.zip" .
|
rclone copy remote: --include "eqemu-server*.zip" .
|
||||||
- gh-release --assets=eqemu-server-linux-x64.zip,eqemu-server-windows-x64.zip -y
|
- gh-release --assets=eqemu-server-linux-x64.zip,eqemu-server-windows-x64.zip -y
|
||||||
|
- |
|
||||||
|
rclone delete remote: --include "eqemu-server*.zip"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- Build Windows Binaries
|
- Build Windows Binaries
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user