Skip to content

Commit fc041dd

Browse files
committed
build: print $toolchain --version
Signed-off-by: Manu Bretelle <[email protected]>
1 parent 5e6421d commit fc041dd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/kernel-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ jobs:
9494
arch: ${{ inputs.arch }}
9595
llvm-version: ${{ inputs.llvm-version }}
9696
pahole: c2f89dab3f2b0ebb53bab3ed8be32f41cb743c37
97+
- name: Print toolchain version used
98+
shell: bash
99+
run: |
100+
TOOLCHAIN=${{ inputs.toolchain }}
101+
if [ $TOOLCHAIN = "llvm" ]; then
102+
TOOLCHAIN="clang-${{ inputs.llvm-version }}"
103+
fi
104+
${TOOLCHAIN} --version
97105
- name: Build kernel image
98106
uses: libbpf/ci/build-linux@main
99107
with:

0 commit comments

Comments
 (0)