Skip to content

Commit

Permalink
ci: use run command instead of action to install clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Oct 3, 2024
1 parent 4c52be1 commit 7ed2b70
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
pip install meson --break-system-packages
- name: Setup Clang
uses: egor-tensin/setup-clang@v1
with:
version: 19
platform: x64
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 19
echo "CC=clang-19" >> "$GITHUB_ENV"
echo "CXX=clang++-19" >> "$GITHUB_ENV"
echo "OBJC=clang-19" >> "$GITHUB_ENV"
- name: Prepare compile_commands.json
run: |
Expand Down

0 comments on commit 7ed2b70

Please sign in to comment.