Skip to content

Commit 27b8257

Browse files
authored
Merge pull request #509 from ChinYikMing/ci-bump-clang
CI: Bump Clang to 18
2 parents 23d50de + c5b75e2 commit 27b8257

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,17 @@ jobs:
143143
- name: set up scan-build
144144
run: |
145145
sudo apt-get update -q -y
146-
sudo apt-get install -q -y clang clang-tools libsdl2-dev libsdl2-mixer-dev
146+
sudo apt-get install -q -y libsdl2-dev libsdl2-mixer-dev
147147
wget https://apt.llvm.org/llvm.sh
148148
chmod +x ./llvm.sh
149149
sudo ./llvm.sh 18
150+
sudo apt-get install -q -y clang-18 clang-tools-18
150151
shell: bash
151152
- name: run scan-build without JIT
152-
run: make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0
153+
run: make distclean && scan-build-18 -v -o ~/scan-build --status-bugs --use-cc=clang-18 --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0
153154
- name: run scan-build with JIT
154155
run: |
155-
make ENABLE_JIT=1 distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=1
156+
make ENABLE_JIT=1 distclean && scan-build-18 -v -o ~/scan-build --status-bugs --use-cc=clang-18 --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=1
156157
157158
compliance-test:
158159
needs: [detect-code-related-file-changes]

0 commit comments

Comments
 (0)