mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-22 07:22:25 +00:00
Update .drone.yml
This commit is contained in:
parent
c28da82738
commit
7d3e56475e
11
.drone.yml
11
.drone.yml
@ -71,7 +71,7 @@ steps:
|
|||||||
- name: Linux x64 Bots
|
- name: Linux x64 Bots
|
||||||
image: akkadius/eqemu-server:v11
|
image: akkadius/eqemu-server:v11
|
||||||
commands:
|
commands:
|
||||||
- git submodule init && git submodule update && mkdir -p build && cd build && 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))
|
- 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))
|
||||||
- ./bin/tests
|
- ./bin/tests
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
@ -79,16 +79,12 @@ steps:
|
|||||||
- name: Package Artifacts
|
- name: Package Artifacts
|
||||||
image: akkadius/eqemu-server:v11
|
image: akkadius/eqemu-server:v11
|
||||||
commands:
|
commands:
|
||||||
- sudo chown eqemu:eqemu /drone/src/ * -R
|
- find build
|
||||||
- sudo chown eqemu:eqemu /home/eqemu/.ccache/ * -R
|
- find build-bots
|
||||||
- git submodule init && git submodule update && mkdir -p build && cd build && 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:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /home/eqemu/.ccache/
|
path: /home/eqemu/.ccache/
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- akkadius/build-test
|
- akkadius/build-test
|
||||||
@ -119,6 +115,7 @@ steps:
|
|||||||
- name: package-artifacts
|
- name: package-artifacts
|
||||||
commands:
|
commands:
|
||||||
- utils/scripts/build/package-artifacts.ps1
|
- utils/scripts/build/package-artifacts.ps1
|
||||||
|
- dir *
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user