Skip to content

Commit

Permalink
WIP: cross-compile. Force using my copy of libbpf-ci to test cross co…
Browse files Browse the repository at this point in the history
…mpilation
  • Loading branch information
chantra committed Feb 13, 2024
1 parent 014c83c commit 709c148
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/kernel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@ jobs:
patches-root: '${{ github.workspace }}/ci/diffs'
repo-root: '${{ github.workspace }}'
- name: Setup build environment
uses: libbpf/ci/setup-build-env@main
uses: chantra/libbpf-ci/setup-build-env@xcompile
with:
arch: ${{ inputs.arch }}
llvm-version: ${{ inputs.llvm-version }}
- name: Build kernel image
uses: libbpf/ci/build-linux@main
uses: chantra/libbpf-ci/build-linux@xcompile
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
kbuild-output: ${{ env.KBUILD_OUTPUT }}
max-make-jobs: 32
llvm-version: ${{ inputs.llvm-version }}
- name: Build selftests
uses: libbpf/ci/build-selftests@main
uses: chantra/libbpf-ci/build-selftests@xcompile
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
Expand All @@ -116,7 +116,7 @@ jobs:
RELEASE: ${{ inputs.release && '1' || '' }}
- if: ${{ github.event_name != 'push' }}
name: Build samples
uses: libbpf/ci/build-samples@main
uses: chantra/libbpf-ci/build-samples@xcompile
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
Expand Down

0 comments on commit 709c148

Please sign in to comment.