mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-25 06:12:26 +00:00
Test
This commit is contained in:
parent
4e0b762244
commit
c445f7bed6
@ -80,8 +80,8 @@ steps:
|
|||||||
- name: Package Artifacts
|
- name: Package Artifacts
|
||||||
image: akkadius/eqemu-server:v11
|
image: akkadius/eqemu-server:v11
|
||||||
commands:
|
commands:
|
||||||
- find build
|
- find build/bin/
|
||||||
- find build-bots
|
- find build-bots/bin/
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /home/eqemu/.ccache/
|
path: /home/eqemu/.ccache/
|
||||||
@ -98,6 +98,10 @@ kind: pipeline
|
|||||||
type: exec
|
type: exec
|
||||||
name: Build Windows Binaries
|
name: Build Windows Binaries
|
||||||
|
|
||||||
|
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
||||||
|
concurrency:
|
||||||
|
limit: 1
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: windows
|
os: windows
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|||||||
@ -2,6 +2,6 @@ $cwd = Get-Location
|
|||||||
|
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
7z a build_x64.zip $cwd\build_x64\bin\RelWithDebInfo\*.exe $cwd\build_x64\bin\RelWithDebInfo\*.dll $cwd\build_x64\bin\RelWithDebInfo\*.pdb $cwd\build_x64\libs\zlibng\RelWithDebInfo\*.dll $cwd\build_x64\libs\zlibng\RelWithDebInfo\*.pdb
|
7z a win-build-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 build_bots_x64.zip $cwd\build_bots_x64\bin\RelWithDebInfo\*.exe $cwd\build_bots_x64\bin\RelWithDebInfo\*.dll $cwd\build_bots_x64\bin\RelWithDebInfo\*.pdb $cwd\build_bots_x64\libs\zlibng\RelWithDebInfo\*.dll $cwd\build_bots_x64\libs\zlibng\RelWithDebInfo\*.pdb
|
7z a win-build-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
|
||||||
|
|||||||
@ -2,13 +2,13 @@ $cwd = Get-Location
|
|||||||
|
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
if(![System.IO.Directory]::Exists("$cwd\build_bots_x64")) {
|
if(![System.IO.Directory]::Exists("$cwd\win-build-bots-x64")) {
|
||||||
Write-Information -MessageData "Creating build (bots) x64 folder" -InformationAction Continue
|
Write-Information -MessageData "Creating build (bots) x64 folder" -InformationAction Continue
|
||||||
New-Item -Path "$cwd\build_bots_x64" -ItemType Directory
|
New-Item -Path "$cwd\win-build-bots-x64" -ItemType Directory
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Information -MessageData "Creating bots build x64" -InformationAction Continue
|
Write-Information -MessageData "Creating bots build x64" -InformationAction Continue
|
||||||
Set-Location -Path "$cwd\build_bots_x64"
|
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 -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
|
cmake --build . --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|||||||
@ -2,13 +2,13 @@ $cwd = Get-Location
|
|||||||
|
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|
||||||
if(![System.IO.Directory]::Exists("$cwd\build_x64")) {
|
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\build_x64" -ItemType Directory
|
New-Item -Path "$cwd\win-build-x64" -ItemType Directory
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Information -MessageData "Creating no bots build x64" -InformationAction Continue
|
Write-Information -MessageData "Creating no bots build x64" -InformationAction Continue
|
||||||
Set-Location -Path "$cwd\build_x64"
|
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 -DEQEMU_ENABLE_BOTS=OFF "$cwd"
|
||||||
cmake --build . --config RelWithDebInfo --clean-first
|
cmake --build . --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user