mirror of https://github.com/ArduPilot/ardupilot
scripts: Only enable Werror in boards.py rather than build_ci.sh
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
2750a1ad6f
commit
5803dd9b23
|
@ -365,17 +365,11 @@ for t in $CI_BUILD_TARGET; do
|
|||
|
||||
if [ "$t" == "replay" ]; then
|
||||
echo "Building replay"
|
||||
|
||||
if [ $cxx_compiler == "g++" ]; then
|
||||
# Only be strict about Werror on SITL when compiling with g++
|
||||
# Once the warnings are gone in clang, remove this exception
|
||||
maybe_werror="--Werror"
|
||||
fi
|
||||
$waf configure --board sitl --debug --disable-scripting $maybe_werror
|
||||
$waf configure --board sitl --debug --disable-scripting
|
||||
|
||||
$waf replay
|
||||
echo "Building AP_DAL standalone test"
|
||||
$waf configure --board sitl --debug --disable-scripting --no-gcs $maybe_werror
|
||||
$waf configure --board sitl --debug --disable-scripting --no-gcs
|
||||
|
||||
$waf --target tool/AP_DAL_Standalone
|
||||
$waf clean
|
||||
|
|
Loading…
Reference in New Issue