mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-22 07:22:25 +00:00
Run it
This commit is contained in:
parent
c7dcf52b82
commit
77cbe4b9d4
11
.drone.yml
11
.drone.yml
@ -37,7 +37,10 @@ trigger:
|
|||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Build Linux Binaries
|
name: Build Linux
|
||||||
|
|
||||||
|
clone:
|
||||||
|
depth: 1
|
||||||
|
|
||||||
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -72,7 +75,7 @@ trigger:
|
|||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: Build Windows Binaries
|
name: Build Windows
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 1
|
depth: 1
|
||||||
@ -129,8 +132,8 @@ steps:
|
|||||||
rclone delete remote: --include "eqemu-server*.zip"
|
rclone delete remote: --include "eqemu-server*.zip"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- Build Windows Binaries
|
- Build Windows
|
||||||
- Build Linux Binaries
|
- Build Linux
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
@ -12,6 +12,7 @@ mkdir -p build && cd build && cmake -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=O
|
|||||||
curl https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/eqemu_config.json --output eqemu_config.json
|
curl https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/eqemu_config.json --output eqemu_config.json
|
||||||
./bin/tests
|
./bin/tests
|
||||||
|
|
||||||
|
chmod +x ./utils/scripts/build/should-release/should-release
|
||||||
./utils/scripts/build/should-release/should-release || exit
|
./utils/scripts/build/should-release/should-release || exit
|
||||||
|
|
||||||
rm ./build/bin/*.a
|
rm ./build/bin/*.a
|
||||||
|
|||||||
@ -19,10 +19,10 @@ try
|
|||||||
cmake --build . --config RelWithDebInfo --clean-first
|
cmake --build . --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
7z a eqemu-server-windows-x64.zip $cwd\win-build-x64\bin\RelWithDebInfo\*.exe $cwd\win-build-x64\bin\RelWithDebInfo\*.dll $cwd\win-build-x64\bin\RelWithDebInfo\*.pdb $cwd\win-build-x64\libs\zlibng\RelWithDebInfo\*.dll $cwd\win-build-x64\libs\zlibng\RelWithDebInfo\*.pdb
|
|
||||||
|
|
||||||
.\utils\scripts\build\should-release\should-release.exe; if ($LASTEXITCODE -ne 0) { exit }
|
.\utils\scripts\build\should-release\should-release.exe; if ($LASTEXITCODE -ne 0) { exit }
|
||||||
|
|
||||||
|
7z a eqemu-server-windows-x64.zip $cwd\win-build-x64\bin\RelWithDebInfo\*.exe $cwd\win-build-x64\bin\RelWithDebInfo\*.dll $cwd\win-build-x64\bin\RelWithDebInfo\*.pdb $cwd\win-build-x64\libs\zlibng\RelWithDebInfo\*.dll $cwd\win-build-x64\libs\zlibng\RelWithDebInfo\*.pdb
|
||||||
|
|
||||||
dir *.zip
|
dir *.zip
|
||||||
rclone config create remote ftp env_auth true
|
rclone config create remote ftp env_auth true
|
||||||
rclone copy eqemu-server-windows-x64.zip remote:
|
rclone copy eqemu-server-windows-x64.zip remote:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user