travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
This commit is contained in:
parent
ae1d1cad5e
commit
4cafcc4eae
@ -72,7 +72,7 @@ matrix:
|
|||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- compiler: "gcc"
|
- compiler: "gcc"
|
||||||
env: CI_BUILD_TARGET="px4-v2"
|
env: CI_BUILD_TARGET="px4-v2 revo-bootloader"
|
||||||
- compiler: "gcc"
|
- compiler: "gcc"
|
||||||
env: CI_BUILD_TARGET="px4-v4 revo-mini"
|
env: CI_BUILD_TARGET="px4-v4 revo-mini"
|
||||||
- compiler: "gcc"
|
- compiler: "gcc"
|
||||||
|
@ -92,6 +92,14 @@ for t in $CI_BUILD_TARGET; do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $t == "revo-bootloader" ]; then
|
||||||
|
echo "Building revo bootloader"
|
||||||
|
$waf configure --board revo-mini --bootloader
|
||||||
|
$waf clean
|
||||||
|
$waf bootloader
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
# only do make-based builds for GCC, when target is PX4-v3 or build is launched by a scheduled job and target is a PX4 board or SITL
|
# only do make-based builds for GCC, when target is PX4-v3 or build is launched by a scheduled job and target is a PX4 board or SITL
|
||||||
if [[ "$cxx_compiler" != "clang++" && ($t == "px4-v3" || (-n ${CI_CRON_JOB+1} && ($t == "px4"* || $t == "sitl"))) ]]; then
|
if [[ "$cxx_compiler" != "clang++" && ($t == "px4-v3" || (-n ${CI_CRON_JOB+1} && ($t == "px4"* || $t == "sitl"))) ]]; then
|
||||||
echo "Starting make based build for target ${t}..."
|
echo "Starting make based build for target ${t}..."
|
||||||
|
Loading…
Reference in New Issue
Block a user