github: Upgrade the clang version to 17
... also append `-Wextra-semi-stmt` to the CFLAGS.
@@ -27,7 +27,7 @@ jobs:
cc: clang
cxx: clang++
liburing_extra_flags: -Wshorten-64-to-32
- extra_flags: -Wmissing-prototypes -Wstrict-prototypes -Wunreachable-code-loop-increment -Wunreachable-code -Wmissing-variable-declarations
+ extra_flags: -Wmissing-prototypes -Wstrict-prototypes -Wunreachable-code-loop-increment -Wunreachable-code -Wmissing-variable-declarations -Wextra-semi-stmt
# x86 (32-bit) gcc
- arch: i686
@@ -99,9 +99,9 @@ jobs:
run: |
if [[ "${{matrix.cc_pkg}}" == "clang" ]]; then \
wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh; \
- sudo bash /tmp/llvm.sh 16; \
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 400; \
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 400; \
+ sudo bash /tmp/llvm.sh 17; \
+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 400; \
+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 400; \
else \
sudo apt-get update -y; \
sudo apt-get install -y ${{matrix.cc_pkg}} ${{matrix.cxx_pkg}}; \
