From: Viktor Szakats Date: Thu, 18 Jun 2026 14:27:52 +0000 (+0200) Subject: GHA/linux: bump analyzer job to gcc-16, and ubuntu-26.04 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2af800dea30b8ca5e6fa064ce2b8f2b9f0eb44;p=thirdparty%2Fcurl.git GHA/linux: bump analyzer job to gcc-16, and ubuntu-26.04 To fix false positive gcc analyzer warning `-Wanalyzer-deref-before-check`, seen with gcc-15 and lower. Also bump its pair job. Tests with #22082 applied: gcc-13: https://github.com/curl/curl/actions/runs/27761999978/job/82138558662 (warning) gcc-15: https://github.com/curl/curl/actions/runs/27767571050/job/82158465527 (warning) gcc-16: https://github.com/curl/curl/actions/runs/27767332723/job/82157636394 (OK) Ref: #22082 Fixes #22083 Closes #22084 --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2e990123f7..6df5a65c28 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -215,14 +215,16 @@ jobs: configure: --with-openssl --enable-debug --disable-unity - name: 'openssl libssh2 sync-resolver valgrind 1 +analyzer' - image: ubuntu-24.04-arm - install_packages: libidn2-dev libssh2-1-dev libnghttp2-dev libldap-dev valgrind + image: ubuntu-26.04-arm + install_packages: gcc-16 libidn2-dev libssh2-1-dev libnghttp2-dev libldap-dev valgrind + CC: gcc-16 tflags: '--min=965 1 to 1000' generate: -DENABLE_DEBUG=ON -DENABLE_THREADED_RESOLVER=OFF -DCURL_GCC_ANALYZER=ON -DCURL_ENABLE_NTLM=ON - name: 'openssl libssh2 sync-resolver valgrind 2' - image: ubuntu-24.04-arm - install_packages: libidn2-dev libssh2-1-dev libnghttp2-dev libldap-dev valgrind + image: ubuntu-26.04-arm + install_packages: gcc-16 libidn2-dev libssh2-1-dev libnghttp2-dev libldap-dev valgrind + CC: gcc-16 tflags: '--min=920 1001 to 9999' generate: -DENABLE_DEBUG=ON -DENABLE_THREADED_RESOLVER=OFF -DCURL_ENABLE_NTLM=ON