Make compiler-rt version match the clang version in the gitea action
All checks were successful
Validate the build / validate-build (push) Successful in 38s

This commit is contained in:
omicron 2025-04-17 16:35:23 +02:00
parent bf3fd83b64
commit ea5164e584

View File

@ -16,8 +16,10 @@ jobs:
echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
# determine correct clang version and then install it
apk update apk update
apk add --no-cache llvm19 clang19 clang19-analyzer compiler-rt valgrind RT_VERSION=$(apk search -v compiler-rt | grep -o "compiler-rt-[0-9]*" | head -1 | grep -o "[0-9]*")
apk add --no-cache llvm${RT_VERSION} clang${RT_VERSION} clang${RT_VERSION}-analyzer compiler-rt valgrind
# Verify versions # Verify versions
echo "---------------------" echo "---------------------"