mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-06 18:08:00 +00:00
fix more warnings; add to CI; suppress some warnings
This commit is contained in:
@@ -9,11 +9,14 @@ VERSION=`bin/buildinfo.py long`
|
||||
# The shell vars the build tool expects to find
|
||||
export APP_VERSION=$VERSION
|
||||
|
||||
# only check high and medium in our source
|
||||
# TODO: only doing tbeam (to start; add all/more later)
|
||||
#pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" -e tbeam --skip-packages --severity=medium --severity=high --pattern="src/"
|
||||
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" -e tbeam --skip-packages --pattern="src/"
|
||||
return_code=$?
|
||||
if [[ $# -gt 0 ]]; then
|
||||
# can override which environment by passing arg
|
||||
BOARDS="-e $1"
|
||||
else
|
||||
BOARDS="-e tlora-v2 -e tlora-v1 -e tlora_v1_3 -e tlora-v2-1-1.6 -e tbeam -e heltec-v1 -e heltec-v2.0 -e heltec-v2.1 -e tbeam0.7 -e meshtastic-diy-v1 -e rak4631_5005 -e rak4631_19003 -e t-echo"
|
||||
fi
|
||||
|
||||
#echo "BOARDS:${BOARDS}"
|
||||
pio check --flags "-DAPP_VERSION=${APP_VERSION} --suppressions-list=suppressions.txt" $BOARDS --skip-packages --pattern="src/"
|
||||
#return_code=$?
|
||||
# TODO: not sure why return_code is 0
|
||||
echo "return_code:${return_code}"
|
||||
|
||||
Reference in New Issue
Block a user