Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel-build: always try incremental kernel build #309

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Nov 26, 2024

Remove CACHED_KERNEL_BUILD variable. Instead, always try cache lookup and an incremental kernel build.

Fix base-branch passed to prepare-incremental-build action step:

  • use BPF_NEXT_BASE_BRANCH (master) if linux source is downloaded
  • use base_ref for pull_requests
  • default to ref_name otherwise

Clear build artifacts to avoid caching them on non-push events.

Remove CACHED_KERNEL_BUILD variable. Instead, always try cache lookup
and an incremental kernel build.

Fix base-branch passed to prepare-incremental-build action step:
  * use BPF_NEXT_BASE_BRANCH (master) if linux source is downloaded
  * use base_ref for pull_requests
  * default to ref_name otherwise

Clear build artifacts to avoid caching them on non-push events.
theihor added a commit to theihor/libbpf-ci that referenced this pull request Nov 26, 2024
@theihor
Copy link
Contributor Author

theihor commented Nov 26, 2024

@theihor theihor merged commit ce4b8af into kernel-patches:master Nov 26, 2024
47 checks passed
theihor added a commit to libbpf/ci that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant