mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
fail the build if we have any cppcheck warnings
This commit is contained in:
parent
a8dab94087
commit
3d718f45d5
@ -17,6 +17,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#echo "BOARDS:${BOARDS}"
|
#echo "BOARDS:${BOARDS}"
|
||||||
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" $BOARDS --skip-packages --pattern="src/"
|
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" $BOARDS --skip-packages --pattern="src/" --fail-on-defect=low --fail-on-defect=medium --fail-on-defect=high
|
||||||
#return_code=$?
|
|
||||||
# TODO: not sure why return_code is 0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user