Release without bots

This commit is contained in:
Akkadius 2023-01-18 23:00:46 -06:00
parent a6438b833c
commit 26116ec808
6 changed files with 11 additions and 37 deletions

View File

@ -68,20 +68,10 @@ steps:
volumes:
- name: cache
path: /home/eqemu/.ccache/
- name: Linux x64 Bots
image: akkadius/eqemu-server:v11
commands:
- git submodule init && git submodule update && mkdir -p build-bots && cd build-bots && cmake -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_ENABLE_BOTS=ON -DEQEMU_BUILD_LUA=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-O0 -g -DNDEBUG" -G 'Unix Makefiles' .. && make -j$((`nproc`-4))
- curl https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/eqemu_config.json --output eqemu_config.json
- ./bin/tests
volumes:
- name: cache
path: /home/eqemu/.ccache/
- name: Package Artifacts
image: akkadius/eqemu-server:v11
commands:
- zip -j eqemu-server-linux-x64.zip ./build/bin/*
- zip -j eqemu-server-linux-bots-x64.zip ./build-bots/bin/*
- ls -lsh | grep zip
volumes:
- name: cache
@ -98,8 +88,6 @@ steps:
- rclone config create remote ftp env_auth true > /dev/null
- |
rclone copy eqemu-server-linux-x64.zip remote:
- |
rclone copy eqemu-server-linux-bots-x64.zip remote:
- |
rclone ls remote:
@ -126,10 +114,7 @@ steps:
- git submodule update
- name: Windows x64
commands:
- utils/scripts/build/windows-build-no-bots.ps1
- name: Windows x64 Bots
commands:
- utils/scripts/build/windows-build-bots.ps1
- utils/scripts/build/windows-build.ps1
- name: Package Artifacts
commands:
- utils/scripts/build/package-artifacts.ps1
@ -145,8 +130,6 @@ steps:
- rclone config create remote ftp env_auth true
- |
rclone copy eqemu-server-windows-x64.zip remote:
- |
rclone copy eqemu-server-windows-bots-x64.zip remote:
- |
rclone ls remote:
@ -177,7 +160,7 @@ steps:
- rclone config create remote ftp env_auth true > /dev/null
- |
rclone copy remote: --include "eqemu-server*.zip" .
- gh-release --assets=eqemu-server-linux-x64.zip,eqemu-server-linux-bots-x64.zip,eqemu-server-windows-x64.zip,eqemu-server-windows-bots-x64.zip -y
- gh-release --assets=eqemu-server-linux-x64.zip,eqemu-server-windows-x64.zip -y
#depends_on:
# - Build Windows Binaries

View File

@ -1,3 +1,9 @@
## [22.0.2]
### Release Without Bots
Testing release without bots
## [22.0.1]
### Stable Releases

View File

@ -1,6 +1,6 @@
{
"name": "eqemu-server",
"version": "22.0.1",
"version": "22.0.2",
"repository": {
"type": "git",
"url": "https://github.com/EQEmu/Server.git"

View File

@ -3,4 +3,3 @@ $cwd = Get-Location
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
7z a eqemu-server-windows-bots-x64.zip $cwd\win-build-bots-x64\bin\RelWithDebInfo\*.exe $cwd\win-build-bots-x64\bin\RelWithDebInfo\*.dll $cwd\win-build-bots-x64\bin\RelWithDebInfo\*.pdb $cwd\win-build-bots-x64\libs\zlibng\RelWithDebInfo\*.dll $cwd\win-build-bots-x64\libs\zlibng\RelWithDebInfo\*.pdb

View File

@ -1,14 +0,0 @@
$cwd = Get-Location
Set-Location -Path "$cwd"
if(![System.IO.Directory]::Exists("$cwd\win-build-bots-x64")) {
Write-Information -MessageData "Creating build (bots) x64 folder" -InformationAction Continue
New-Item -Path "$cwd\win-build-bots-x64" -ItemType Directory
}
Write-Information -MessageData "Creating bots build x64" -InformationAction Continue
Set-Location -Path "$cwd\win-build-bots-x64"
cmake -Wno-dev -G "Visual Studio 17 2022" -A x64 -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_ZLIB=ON -DEQEMU_ENABLE_BOTS=ON "$cwd"
cmake --build . --config RelWithDebInfo --clean-first
Set-Location -Path "$cwd"

View File

@ -7,8 +7,8 @@ if(![System.IO.Directory]::Exists("$cwd\win-build-x64")) {
New-Item -Path "$cwd\win-build-x64" -ItemType Directory
}
Write-Information -MessageData "Creating no bots build x64" -InformationAction Continue
Write-Information -MessageData "Creating build x64" -InformationAction Continue
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 -DEQEMU_ENABLE_BOTS=OFF "$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
Set-Location -Path "$cwd"