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

Use v2 of libbpf/ci actions in all workflows #308

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/kernel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
dest: '.kernel'
- if: ${{ env.CACHED_KERNEL_BUILD }}
uses: libbpf/ci/prepare-incremental-build@v1
uses: libbpf/ci/prepare-incremental-build@v2
with:
repo-root: ${{ inputs.download_sources && '.kernel' || env.REPO_ROOT }}
base-branch: >-
Expand All @@ -92,7 +92,7 @@ jobs:
patches-root: '${{ github.workspace }}/ci/diffs'
repo-root: ${{ env.REPO_ROOT }}
- name: Setup build environment
uses: libbpf/ci/setup-build-env@v1
uses: libbpf/ci/setup-build-env@v2
with:
arch: ${{ inputs.arch }}
llvm-version: ${{ inputs.llvm-version }}
Expand All @@ -106,7 +106,7 @@ jobs:
fi
${TOOLCHAIN} --version
- name: Build kernel image
uses: libbpf/ci/build-linux@v1
uses: libbpf/ci/build-linux@v2
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
Expand All @@ -126,7 +126,7 @@ jobs:

- if: ${{ env.BUILD_SCHED_EXT_SELFTESTS }}
name: Build selftests/sched_ext
uses: libbpf/ci/build-scx-selftests@v1
uses: libbpf/ci/build-scx-selftests@v2
with:
kbuild-output: ${{ env.KBUILD_OUTPUT }}
repo-root: ${{ env.REPO_ROOT }}
Expand All @@ -136,7 +136,7 @@ jobs:
max-make-jobs: 32
- if: ${{ github.event_name != 'push' }}
name: Build samples
uses: libbpf/ci/build-samples@v1
uses: libbpf/ci/build-samples@v2
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
Expand All @@ -145,7 +145,7 @@ jobs:
llvm-version: ${{ inputs.llvm-version }}
- name: Tar artifacts
id: tar-artifacts
uses: libbpf/ci/tar-artifacts@v1
uses: libbpf/ci/tar-artifacts@v2
env:
ARCHIVE_BPF_SELFTESTS: 'true'
ARCHIVE_MAKE_HELPERS: ${{ github.repository != 'kernel-patches/bpf' && 'true' || '' }}
Expand Down
Loading