diff --git a/.github/workflows/test_size.yml b/.github/workflows/test_size.yml index 3e3f08fa6e..bdaa2e2083 100644 --- a/.github/workflows/test_size.yml +++ b/.github/workflows/test_size.yml @@ -251,42 +251,3 @@ jobs: shell: bash run: | diff -r $GITHUB_WORKSPACE/base_branch_bin_no_versions $GITHUB_WORKSPACE/pr_bin_no_versions --exclude=*.elf --exclude=*.apj || true - - - name: elf_diff compare with ${{ github.event.pull_request.base.ref }} - shell: bash - run: | - # we don't use weasyprint so manually pull the elf_diff deps reduce install size and time - 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.toolchain }}" = "armhf" ]; then - BIN_PREFIX="arm-linux-gnueabihf-" - fi - BOOTLOADER=0 - AP_PERIPH=0 - if [ "${{matrix.config}}" = "Hitec-Airspeed" ] || - [ "${{matrix.config}}" = "f103-GPS" ]; then - AP_PERIPH=1 - elif [ "${{matrix.config}}" = "MatekF405-CAN" ]; then - BOOTLOADER=1 - fi - - if [ $AP_PERIPH -eq 1 ]; then - TO_CHECK="AP_Periph" - elif [ $BOOTLOADER -eq 1 ]; then - TO_CHECK="AP_Bootloader" - else - TO_CHECK="arduplane arducopter" - fi - for CHECK in $TO_CHECK; do - python3 -m elf_diff --bin_prefix="$BIN_PREFIX" --html_dir=elf_diff/AP_Periph $GITHUB_WORKSPACE/base_branch_bin/$CHECK $GITHUB_WORKSPACE/pr_bin/$CHECK - done - - zip -r elf_diff.zip elf_diff - - - name: Archive elf_diff output - uses: actions/upload-artifact@v3 - with: - name: ELF_DIFF_${{matrix.config}} - path: elf_diff.zip - retention-days: 14