Skip to content

Commit

Permalink
build: Always pass architecture to actions
Browse files Browse the repository at this point in the history
In preparation of cross-compiling, ensure that we always pass arch parameter
to the action.
At a later stage, this parameter will be made required on libbpf-ci.

Signed-off-by: Manu Bretelle <chantr4@gmail.com>
  • Loading branch information
chantra committed Feb 12, 2024
1 parent 6fa8559 commit 76a4a6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/kernel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
- name: Build selftests
uses: libbpf/ci/build-selftests@main
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
kbuild-output: ${{ env.KBUILD_OUTPUT }}
max-make-jobs: 32
Expand All @@ -116,6 +117,7 @@ jobs:
name: Build samples
uses: libbpf/ci/build-samples@main
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
kbuild-output: ${{ env.KBUILD_OUTPUT }}
max-make-jobs: 32
Expand Down

0 comments on commit 76a4a6a

Please sign in to comment.