From 495ec52a003c36a969c5fd96b272db35afe596e2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 7 Oct 2021 15:34:48 +1100 Subject: [PATCH] .github: produce elf_diff output for Plane --- .github/workflows/test_size.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test_size.yml b/.github/workflows/test_size.yml index 00bfb446cb..9823353694 100644 --- a/.github/workflows/test_size.yml +++ b/.github/workflows/test_size.yml @@ -106,3 +106,17 @@ jobs: cd pr/ python3 -m pip install -U tabulate Tools/scripts/pretty_diff_size.py -m $GITHUB_WORKSPACE/master_bin -s $GITHUB_WORKSPACE/pr_bin + + - name: elf_diff compare with Master + shell: bash + run: | + python3 -m pip install -U weasyprint elf_diff + python3 -m elf_diff --bin_prefix=arm-none-eabi- $GITHUB_WORKSPACE/master_bin/arduplane $GITHUB_WORKSPACE/pr_bin/arduplane + tar cf multipage_pair_report.tar multipage_pair_report + + - name: Archive elf_diff output + uses: actions/upload-artifact@v2 + with: + name: elf_diff + path: multipage_pair_report.tar + retention-days: 14