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 ..
|
- cmake -Werror=dev -DCMAKE_BUILD_TYPE=Debug $CMAKE_EXTRA_ARGS ..
|
||||||
- make run_tests
|
- make run_tests
|
||||||
- cd ..
|
- cd ..
|
||||||
|
- build/DDNet-Server shutdown
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CFLAGS="-Wdeclaration-after-statement -Werror"
|
- CFLAGS="-Wdeclaration-after-statement -Werror"
|
||||||
|
|
|
@ -21,6 +21,8 @@ test_script:
|
||||||
- cmd: cmake --build build64 --config Debug --target run_tests
|
- cmd: cmake --build build64 --config Debug --target run_tests
|
||||||
- cmd: cmake --build build32 --config Release --target run_tests
|
- cmd: cmake --build build32 --config Release --target run_tests
|
||||||
- cmd: cmake --build build64 --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:
|
after_build:
|
||||||
- cmd: cmake --build build32 --config Release --target package
|
- cmd: cmake --build build32 --config Release --target package
|
||||||
|
@ -34,6 +36,7 @@ environment:
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: build*/DDNet-*.zip
|
- path: build*/DDNet-*.zip
|
||||||
name: DDNet
|
name: DDNet
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- staging.tmp
|
- staging.tmp
|
||||||
|
|
|
@ -44,6 +44,10 @@ test:
|
||||||
- |
|
- |
|
||||||
cd build
|
cd build
|
||||||
make run_tests
|
make run_tests
|
||||||
|
./DDNet-Server shutdown
|
||||||
|
|
||||||
|
- |
|
||||||
|
cd build
|
||||||
make package
|
make package
|
||||||
mv DDNet-*.tar.* ${CIRCLE_ARTIFACTS}
|
mv DDNet-*.tar.* ${CIRCLE_ARTIFACTS}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue