ci: Pass llvm-version as an input and enforce passing it to build-selftests action

Signed-off-by: Manu Bretelle <chantr4@gmail.com>
This commit is contained in:
Manu Bretelle
2024-08-21 14:36:48 -07:00
committed by chantra
parent a73c6f7f80
commit 92316f5072
3 changed files with 11 additions and 5 deletions

View File

@@ -12,6 +12,9 @@ inputs:
description: 'where is vmlinux file'
required: true
default: '${{ github.workspace }}/vmlinux'
llvm-version:
description: 'llvm version'
required: true
runs:
using: "composite"
@@ -28,4 +31,6 @@ runs:
export REPO_ROOT="${{ github.workspace }}"
export REPO_PATH="${{ inputs.repo-path }}"
export VMLINUX_BTF="${{ inputs.vmlinux }}"
export LLVM_VERSION="${{ inputs.llvm-version }}"
${{ github.action_path }}/build_selftests.sh