mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
.github: fix disco test again
This commit is contained in:
parent
f8187984a7
commit
dcb2225f03
10
.github/workflows/test_size.yml
vendored
10
.github/workflows/test_size.yml
vendored
@ -163,8 +163,12 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cd pr/
|
||||
Tools/scripts/extract_features.py $GITHUB_WORKSPACE/base_branch_bin/arduplane >features-base_branch.txt
|
||||
Tools/scripts/extract_features.py $GITHUB_WORKSPACE/pr_bin/arduplane >features-pr.txt
|
||||
BIN_PREFIX="arm-none-eabi-"
|
||||
if [ "${{matrix.toolchain}}" = "armhf" ]; then
|
||||
BIN_PREFIX="arm-linux-gnueabihf-"
|
||||
fi
|
||||
Tools/scripts/extract_features.py $GITHUB_WORKSPACE/base_branch_bin/arduplane -nm "${BIN_PREFIX}nm" >features-base_branch.txt
|
||||
Tools/scripts/extract_features.py $GITHUB_WORKSPACE/pr_bin/arduplane -nm "${BIN_PREFIX}nm" >features-pr.txt
|
||||
diff -u features-base_branch.txt features-pr.txt || true
|
||||
|
||||
- name: Checksum compare with ${{ github.event.pull_request.base.ref }}
|
||||
@ -179,7 +183,7 @@ jobs:
|
||||
python3 -m pip install -U --no-deps elf_diff GitPython Jinja2 MarkupSafe PyYAML anytree dict2xml gitdb progressbar2 python-utils setuptools-git smmap
|
||||
mkdir elf_diff
|
||||
BIN_PREFIX="arm-none-eabi-"
|
||||
if [ "${{matrix.config}}" = "disco" ]; then
|
||||
if [ "${{ matrix.toolchain }}" = "armhf" ]; then
|
||||
BIN_PREFIX="arm-linux-gnueabihf-"
|
||||
fi
|
||||
if [ "${{matrix.config}}" = "Hitec-Airspeed" ] ||
|
||||
|
Loading…
Reference in New Issue
Block a user