Skip to content

Commit b7ec870

Browse files
justus-camp-microsoftJustus Campjstarks
authored
ci: add job to verify binary size (#475)
This PR adds a job to diff binary sizes introduced in changes. As implemented, the action runs `git merge-base` to find a common ancestor with main, fetches a completed build from CI (it will try to up to 5 commits back in case CI hasn't completed for the commit returned by `git merge-base`), and outputs a diff. GitHub actions with a `pull_request` trigger are unable to comment on PRs. As such, this implementation fails the check if the size difference is greater than a threshold. In the case where we're ok with the size increase, my understanding is that we can force the merge without the check passing. --------- Co-authored-by: Justus Camp <[email protected]> Co-authored-by: John Starks <[email protected]>
1 parent 891f783 commit b7ec870

File tree

20 files changed

+2076
-1062
lines changed

20 files changed

+2076
-1062
lines changed

.github/workflows/openvmm-ci.yaml

Lines changed: 74 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)