-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for an arbitrary location of $KBUILD_OUTPUT in tar-artifacts.sh
There are two distinct KBUILD_OUTPUTs across libbpf/ci: - $KBUILD_OUTPUT used by actions/cache (in prepare-incremental-build) - $REPO_ROOT/kbuild-output used by ./run-vmtest So far this difference wasn't important, because $KBUILD_OUTPUT always pointed to $(pwd)/kbuild-output. And $(pwd) happened to be a root of the linux source tree, also equal to github.workspace However we don't want prepare-incremental-build action to put any requirements on $KBUILD_OUTPUT path to allow for a convenient action API. With this, the difference becomes important, because only selected files are put from $KBUILD_OUTPUT into kernel-build output artifacts, while entire $KBUILD_OUTPUT has to be cached by prepare-incremental-build.
- Loading branch information
Showing
2 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters