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
+2 -19
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