Skip to content

Commit 2dbe6d0

Browse files
vandonrandrewlock
authored andcommitted
remove install & fix the tracer part too
1 parent a638d18 commit 2dbe6d0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/codeql-analysis.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4343
# Learn more about CodeQL language support at https://git.io/codeql-language-support
4444

45-
- name: Install Clang-16
45+
- name: Setup Clang-16
46+
# clang-16 is already installed in the ubuntu 24.04 used, but the default is clang-18,
47+
# so we just need to modify where clang points.
4648
run: |
47-
sudo apt-get update
48-
DEBIAN_FRONTEND=noninteractive sudo apt -y install clang-16
4949
sudo ln -s -f `which clang-16` `which clang`
5050
sudo ln -s -f `which clang++-16` `which clang++`
5151
@@ -118,11 +118,10 @@ jobs:
118118
# queries: ./path/to/local/query, your-org/your-repo/queries@main
119119
# Learn more about CodeQL language support at https://git.io/codeql-language-support
120120

121-
- name: Install Clang-16
121+
- name: Setup Clang-16
122+
# clang-16 is already installed in the ubuntu 24.04 used, but the default is clang-18,
123+
# so we just need to modify where clang points.
122124
run: |
123-
wget https://apt.llvm.org/llvm.sh
124-
chmod +x ./llvm.sh
125-
sudo ./llvm.sh 16
126125
sudo ln -s -f `which clang-16` `which clang`
127126
sudo ln -s -f `which clang++-16` `which clang++`
128127

0 commit comments

Comments
 (0)