CI: add explicit param_parse CI_BUILD_TARGET options

currently any time you run this script it seems to do this step
This commit is contained in:
Peter Barker 2023-03-09 12:59:09 +11:00 committed by Peter Barker
parent aed69928ee
commit f2e34befe4
2 changed files with 9 additions and 8 deletions

View File

@ -14,7 +14,8 @@ jobs:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
config: [
check_autotest_options
check_autotest_options,
param_parse,
]
steps:
# git checkout the PR

View File

@ -406,6 +406,13 @@ for t in $CI_BUILD_TARGET; do
continue
fi
if [ "$t" == "param_parse" ]; then
for v in Rover AntennaTracker ArduCopter ArduPlane ArduSub Blimp; do
python Tools/autotest/param_metadata/param_parse.py --vehicle $v
done
continue
fi
if [[ -z ${CI_CRON_JOB+1} ]]; then
echo "Starting waf build for board ${t}..."
$waf configure --board "$t" \
@ -424,12 +431,5 @@ for t in $CI_BUILD_TARGET; do
fi
done
python Tools/autotest/param_metadata/param_parse.py --vehicle Rover
python Tools/autotest/param_metadata/param_parse.py --vehicle AntennaTracker
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduCopter
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduPlane
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduSub
python Tools/autotest/param_metadata/param_parse.py --vehicle Blimp
echo build OK
exit 0