mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-27 16:32:27 +00:00
Shuffle
This commit is contained in:
parent
7111677864
commit
f1317b3705
@ -122,7 +122,7 @@ steps:
|
|||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: GH_RELEASE_GITHUB_API_TOKEN
|
from_secret: GH_RELEASE_GITHUB_API_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- .\utils\scripts\build\build-release.bat
|
- .\utils\scripts\build\windows-build.ps1
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
@ -1,8 +1,14 @@
|
|||||||
|
Try
|
||||||
|
{
|
||||||
$cwd = Get-Location
|
$cwd = Get-Location
|
||||||
|
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
if(![System.IO.Directory]::Exists("$cwd\win-build-x64")) {
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
|
if (![System.IO.Directory]::Exists("$cwd\win-build-x64"))
|
||||||
|
{
|
||||||
Write-Information -MessageData "Creating build x64 folder" -InformationAction Continue
|
Write-Information -MessageData "Creating build x64 folder" -InformationAction Continue
|
||||||
New-Item -Path "$cwd\win-build-x64" -ItemType Directory
|
New-Item -Path "$cwd\win-build-x64" -ItemType Directory
|
||||||
}
|
}
|
||||||
@ -12,3 +18,17 @@ Set-Location -Path "$cwd\win-build-x64"
|
|||||||
cmake -Wno-dev -G "Visual Studio 17 2022" -A x64 -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_ZLIB=ON "$cwd"
|
cmake -Wno-dev -G "Visual Studio 17 2022" -A x64 -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_ZLIB=ON "$cwd"
|
||||||
cmake --build . --config RelWithDebInfo --clean-first
|
cmake --build . --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
|
cmd.exe .\utils\scripts\build\should-release\should-release.exe
|
||||||
|
|
||||||
|
dir *.zip
|
||||||
|
rclone config create remote ftp env_auth true
|
||||||
|
rclone copy eqemu-server-windows-x64.zip remote:
|
||||||
|
rclone ls remote:
|
||||||
|
}
|
||||||
|
Catch
|
||||||
|
{
|
||||||
|
Write-Host ("Caught signal to end")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user