appveyor: Enforce c89 & warnings for nanomsg build

This commit is contained in:
Snaipe 2016-04-25 22:20:48 +02:00
parent a791ab34b9
commit 7c8c38d983

View file

@ -59,11 +59,7 @@ install:
- 'git clone https://github.com/nanomsg/nanomsg'
- 'cd nanomsg'
- 'mkdir build && cd build'
- >
cmake
-DCMAKE_BUILD_TYPE="%CONFIGURATION%"
-G "%GENERATOR%"
..
- sh -c 'CFLAGS="-std=c99 -Wall -Wextra -pedantic" cmake -DCMAKE_BUILD_TYPE="%CONFIGURATION%" -G "%GENERATOR%" ..'
- cmake --build . 0<nul
- ctest --output-on-failure --timeout 20 --repeat-until-fail 50 --schedule-random
- cd ..