Make compiler-rt version match the clang version in the gitea action
Some checks failed
Validate the build / validate-build (push) Failing after 5s

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

View File

@ -16,8 +16,11 @@ 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 appropriate clang version
RT_VERSION=$(apk add --simulate compiler-rt | grep -o "compiler-rt-[0-9]*" | grep -o "[0-9]*")
apk update apk update
apk add --no-cache llvm19 clang19 clang19-analyzer compiler-rt valgrind apk add --no-cache llvm${RT_VERSION} clang${RT_VERSION} clang${RT_VERSION}-analyzer compiler-rt valgrind
# Verify versions # Verify versions
echo "---------------------" echo "---------------------"