← Commit list

7a80082471

Viktor Szakats
Viktor Szakats
2026-03-01
SUCCESS Duration: 298s

Subject

GHA/windows: bump clang-tidy job to clang v20 (from v18)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

.github/workflows/windows.yml+7 -5
@@ -677,10 +677,12 @@ jobs:
include:
- { build: 'autotools', compiler: 'gcc' }
- { build: 'cmake' , compiler: 'gcc' }
- - { build: 'cmake' , compiler: 'clang-tidy' }
+ - { build: 'cmake' , compiler: 'clang-tidy', install_packages: 'clang-20 clang-tidy-20' }
steps:
- name: 'install packages'
- run: sudo apt-get -o Dpkg::Use-Pty=0 install gcc-mingw-w64-x86-64-win32
+ env:
+ MATRIX_INSTALL_PACKAGES: '${{ matrix.install_packages }}'
+ run: sudo apt-get -o Dpkg::Use-Pty=0 install gcc-mingw-w64-x86-64-win32 ${MATRIX_INSTALL_PACKAGES}
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -694,10 +696,10 @@ jobs:
run: |
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
if [ "${MATRIX_COMPILER}" = 'clang-tidy' ]; then
- options+=' -DCURL_CLANG_TIDY=ON'
+ options+=' -DCURL_CLANG_TIDY=ON -DCLANG_TIDY=/usr/bin/clang-tidy-20'
options+=' -DENABLE_UNICODE=ON -DUSE_SSLS_EXPORT=ON'
- options+=' -DCMAKE_C_COMPILER=clang'
- options+=" -DCMAKE_RC_COMPILER=llvm-windres-$(clang -dumpversion | cut -d '.' -f 1)"
+ options+=' -DCMAKE_C_COMPILER=clang-20'
+ options+=" -DCMAKE_RC_COMPILER=llvm-windres-$(clang-20 -dumpversion | cut -d '.' -f 1)"
else
options+=" -DCMAKE_C_COMPILER=${TRIPLET}-gcc"
fi