mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Test flag on CI
This commit is contained in:
parent
2696ac134c
commit
662d23d40b
|
@ -52,6 +52,11 @@ jobs:
|
|||
cd build
|
||||
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDOWNLOAD_GTEST=ON ..
|
||||
make everything
|
||||
- run: |
|
||||
mkdir build2
|
||||
cd build2
|
||||
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DAUTOUPDATE=OFF -DDOWNLOAD_GTEST=ON ..
|
||||
make everything
|
||||
|
||||
- persist-to-workspace:
|
||||
root: ./
|
||||
|
@ -72,6 +77,10 @@ jobs:
|
|||
make run_tests
|
||||
./DDNet-Server shutdown
|
||||
|
||||
- run: |
|
||||
cd build2
|
||||
make run_tests
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
|
|
Loading…
Reference in a new issue