coreutils
coreutils copied to clipboard
`ci/gnu tests`: Speed up build and test step by caching the gnu directory
This pr introduces caching of the complete gnu directory (compressed around 50MB) to speed up the build and test steps in case of a cache hit in all jobs of the gnu tests workflow.
Please have an extra look on the cache key. I tried to figure out all influences on the gnu build, but maybe there are others...
This pr is a draft because it depends on #4766
GNU testsuite comparison:
GNU test failed: tests/tail-2/inotify-dir-recreate. tests/tail-2/inotify-dir-recreate is passing on 'main'. Maybe you have to rebase?
@Joining7943 is it still a draft? thanks
@sylvestre see their comment: "This pr is a draft because it depends on https://github.com/uutils/coreutils/pull/4766"
is it still a draft?
@sylvestre https://github.com/uutils/coreutils/pull/4766 is merged, so I would give this pr a go. I wondered if using the gcc version as an additional cache key is necessary. What do you think?
GNU testsuite comparison:
GNU test failed: tests/cp/cp-i. tests/cp/cp-i is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/debug. tests/cp/debug is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/reflink-perm. tests/cp/reflink-perm is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/ls/sort-width-option. tests/ls/sort-width-option is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/shred-size. tests/misc/shred-size is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mkdir/perm. tests/mkdir/perm is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/mv-n. tests/mv/mv-n is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/interactive-always. tests/rm/interactive-always is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/interactive-once. tests/rm/interactive-once is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail-2/inotify-rotate. tests/tail-2/inotify-rotate is passing on 'main'. Maybe you have to rebase?