Pipeline improvements (#964)
* Fix bug with toll-gate validation against master * Change cppcheck to not attempt to validate headers directly and to run on the entire codebase in the pipeline. * Support running Arduino test and examples build in parallel
This commit is contained in:
@@ -7,11 +7,15 @@
|
||||
# --cached or <no arg> for changed
|
||||
if [[ $# = 0 ]]; then
|
||||
for file in $(modifiedSourceFiles); do
|
||||
runBundle $file
|
||||
if [[ $file != *.h ]]; then
|
||||
runBundle $file
|
||||
fi
|
||||
done
|
||||
elif [[ $1 = '--cached' ]]; then
|
||||
for file in $(stagedSourceFiles); do
|
||||
runBundle $file
|
||||
if [[ $file != *.h ]]; then
|
||||
runBundle $file
|
||||
fi
|
||||
done
|
||||
else
|
||||
eval "set -- $(git rev-parse --sq --prefix "$GIT_PREFIX" "$@")"
|
||||
|
||||
Reference in New Issue
Block a user