Skip to content

Commit e032cb4

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

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
@@ -93,6 +93,14 @@ jobs:
9393
with:
9494
arch: ${{ inputs.arch }}
9595
llvm-version: ${{ inputs.llvm-version }}
96+
- name: Print toolchain version used
97+
shell: bash
98+
run: |
99+
TOOLCHAIN=${{ inputs.toolchain }}
100+
if if [ $TOOLCHAIN = "llvm" ]; then
101+
TOOLCHAIN="clang-${{ inputs.llvm-version }}"
102+
fi
103+
${TOOLCHAIN} --version
96104
- name: Build kernel image
97105
uses: libbpf/ci/build-linux@main
98106
with:

0 commit comments

Comments
 (0)