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

@@ -10,15 +10,10 @@ foldable start prepare_selftests "Building selftests"
LIBBPF_PATH="${REPO_ROOT}"
llvm_default_version() {
echo "17"
}
llvm_latest_version() {
echo "19"
}
LLVM_VERSION=$(llvm_default_version)
if [[ "${LLVM_VERSION}" == $(llvm_latest_version) ]]; then
REPO_DISTRO_SUFFIX=""
else