Skip to content

Commit 7ed2b70

Browse files
committed
ci: use run command instead of action to install clang
1 parent 4c52be1 commit 7ed2b70

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
pip install meson --break-system-packages
2121
2222
- name: Setup Clang
23-
uses: egor-tensin/setup-clang@v1
24-
with:
25-
version: 19
26-
platform: x64
23+
run: |
24+
wget https://apt.llvm.org/llvm.sh
25+
chmod +x llvm.sh
26+
sudo ./llvm.sh 19
27+
echo "CC=clang-19" >> "$GITHUB_ENV"
28+
echo "CXX=clang++-19" >> "$GITHUB_ENV"
29+
echo "OBJC=clang-19" >> "$GITHUB_ENV"
2730
2831
- name: Prepare compile_commands.json
2932
run: |

0 commit comments

Comments
 (0)