mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Run the tests on CircleCI
This commit is contained in:
parent
ae36f37e83
commit
cb887180f2
|
@ -26,14 +26,16 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
mkdir -p release
|
mkdir -p release
|
||||||
cd release
|
cd release
|
||||||
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake ..
|
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -Werror=dev -DDOWNLOAD_GTEST=ON ..
|
||||||
make everything
|
make everything
|
||||||
|
make run_tests
|
||||||
./teeworlds_srv shutdown
|
./teeworlds_srv shutdown
|
||||||
- run:
|
- run:
|
||||||
name: Build teeworlds with cmake in Debug mode
|
name: Build teeworlds with cmake in Debug mode
|
||||||
command: |
|
command: |
|
||||||
mkdir -p debug
|
mkdir -p debug
|
||||||
cd debug
|
cd debug
|
||||||
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDEV=ON ..
|
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -Werror=dev -DDOWNLOAD_GTEST=ON -DDEV=ON ..
|
||||||
make everything
|
make everything
|
||||||
|
make run_tests
|
||||||
./teeworlds_srv shutdown
|
./teeworlds_srv shutdown
|
||||||
|
|
Loading…
Reference in a new issue