mirror of https://github.com/ArduPilot/ardupilot
github: build MatekF405 with/without HAL_QUADPLANE_ENABLED
This commit is contained in:
parent
07a114052c
commit
221e7c612e
|
@ -86,6 +86,20 @@ jobs:
|
|||
mkdir $GITHUB_WORKSPACE/pr_bin
|
||||
cp -r build/${{matrix.config}}/bin/* $GITHUB_WORKSPACE/pr_bin/
|
||||
|
||||
# build MatekF405 Plane without quadplane
|
||||
if [ "${{matrix.config}}" = "MatekF405" ]; then
|
||||
PLANE_BINARY="build/MatekF405/bin/arduplane.bin"
|
||||
echo "normal size"
|
||||
ls -l "$PLANE_BINARY"
|
||||
EXTRA_HWDEF="/tmp/extra-options.def"
|
||||
echo "define HAL_QUADPLANE_ENABLED 0" >"$EXTRA_HWDEF"
|
||||
./waf configure --board ${{matrix.config}} --extra-hwdef="$EXTRA_HWDEF"
|
||||
./waf plane
|
||||
rm "$EXTRA_HWDEF"
|
||||
echo "non-quadplane size:"
|
||||
ls -l "$PLANE_BINARY"
|
||||
fi
|
||||
|
||||
- name: Full size compare with Master
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue