Skip to content

Commit

Permalink
GCC BPF: fix kernel source checkout at kernel-patches/bpf (#339)
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
  • Loading branch information
theihor authored Feb 5, 2025
1 parent 83c4015 commit dcde0b8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gcc-bpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
steps:

- uses: actions/checkout@v4
with:
sparse-checkout: |
.github
ci
- if: ${{ inputs.download_sources }}
name: Download bpf-next tree
Expand All @@ -45,6 +49,12 @@ jobs:
dest: ${{ env.REPO_ROOT }}
rev: ${{ env.BPF_NEXT_BASE_BRANCH }}

- if: ${{ ! inputs.download_sources }}
name: Checkout ${{ github.repository }} to ./src
uses: actions/checkout@v4
with:
path: 'src'

- uses: libbpf/ci/patch-kernel@v3
with:
patches-root: '${{ github.workspace }}/ci/diffs'
Expand Down

0 comments on commit dcde0b8

Please sign in to comment.