1
0
mirror of https://github.com/opencontainers/runc.git synced 2026-10-23 19:49:01 +03:00
Files
runc/script
Kir Kolyshkin 80a6b2d456 ci: add binary-size job
Add script/check-binary-size.sh, which builds every commit in a given
range and checks that the size of the (stripped) runc binary does not
grow by more than a specified amount (50 KiB by default) compared to
the base.

Add a CI job which runs it for every PR.

Since some growth is sometimes justified, a maintainer can allow it by
adding the bloat-approved label to the PR, and then re-running the job.

A nice bonus is, since every commit is built, the job also checks that
each commit in a PR compiles, which keeps git bisect usable. A build
failure can not be overridden by the label.

The idea is borrowed from podman's hack/ci/make-and-check-size.sh.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-10-06 00:06:49 -07:00
..
2026-10-06 00:06:49 -07:00
2026-09-07 14:21:15 +10:00