mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Run the server on CI (#910)
This commit is contained in:
parent
cb00a294b8
commit
d6bcc4fe01
|
@ -22,6 +22,7 @@ script:
|
|||
- cmake -Werror=dev -DCMAKE_BUILD_TYPE=Debug $CMAKE_EXTRA_ARGS ..
|
||||
- make run_tests
|
||||
- cd ..
|
||||
- build/DDNet-Server shutdown
|
||||
env:
|
||||
global:
|
||||
- CFLAGS="-Wdeclaration-after-statement -Werror"
|
||||
|
|
|
@ -21,6 +21,8 @@ test_script:
|
|||
- cmd: cmake --build build64 --config Debug --target run_tests
|
||||
- cmd: cmake --build build32 --config Release --target run_tests
|
||||
- cmd: cmake --build build64 --config Release --target run_tests
|
||||
- cmd: build32\Release\DDNet-Server shutdown
|
||||
- cmd: build64\Release\DDNet-Server shutdown
|
||||
|
||||
after_build:
|
||||
- cmd: cmake --build build32 --config Release --target package
|
||||
|
@ -34,6 +36,7 @@ environment:
|
|||
artifacts:
|
||||
- path: build*/DDNet-*.zip
|
||||
name: DDNet
|
||||
|
||||
branches:
|
||||
except:
|
||||
- staging.tmp
|
||||
|
|
|
@ -44,6 +44,10 @@ test:
|
|||
- |
|
||||
cd build
|
||||
make run_tests
|
||||
./DDNet-Server shutdown
|
||||
|
||||
- |
|
||||
cd build
|
||||
make package
|
||||
mv DDNet-*.tar.* ${CIRCLE_ARTIFACTS}
|
||||
|
||||
|
|
Loading…
Reference in a new issue