azure: use "unversioned" clang and clang-tools for scanbuild job

To make it less fragile

Closes #10092
This commit is contained in:
Daniel Stenberg 2022-12-14 10:26:09 +01:00
parent 6b19247e79
commit 58f55ba57e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -158,23 +158,23 @@ stages:
pool:
vmImage: 'ubuntu-latest'
steps:
- script: sudo apt-get update && sudo apt-get install -y clang-tools-10 clang-9 libssl-dev libssh2-1-dev libpsl-dev libbrotli-dev libzstd-dev
- script: sudo apt-get update && sudo apt-get install -y clang-tools clang libssl-dev libssh2-1-dev libpsl-dev libbrotli-dev libzstd-dev
displayName: 'apt install'
retryCountOnTaskFailure: 3
- script: autoreconf -fi
displayName: 'autoreconf'
- script: scan-build-10 ./configure --enable-debug --enable-werror --with-openssl --with-libssh2
- script: scan-build ./configure --enable-debug --enable-werror --with-openssl --with-libssh2
displayName: 'configure'
env:
CC: "clang-9"
CCX: "clang++-9"
CC: "clang"
CCX: "clang++"
- script: scan-build-10 --status-bugs make
- script: scan-build --status-bugs make
displayName: 'make'
- script: scan-build-10 --status-bugs make examples
- script: scan-build --status-bugs make examples
displayName: 'make examples'
##########################################