From ea5164e5840b49707520e74c2cfcb77c77dc0753 Mon Sep 17 00:00:00 2001 From: omicron Date: Thu, 17 Apr 2025 16:35:23 +0200 Subject: [PATCH] Make compiler-rt version match the clang version in the gitea action --- .gitea/workflows/validate.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/validate.yaml b/.gitea/workflows/validate.yaml index a922e39..4f64dc8 100644 --- a/.gitea/workflows/validate.yaml +++ b/.gitea/workflows/validate.yaml @@ -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/community" >> /etc/apk/repositories + # determine correct clang version and then install it 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 echo "---------------------"