mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:11:40 +03:00
parent
610bd89315
commit
36e8703a20
3 changed files with 31 additions and 27 deletions
|
|
@ -152,6 +152,37 @@ stages:
|
|||
|
||||
displayName: 'verify out-of-tree cmake build'
|
||||
|
||||
- stage: scanbuild
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- job: ubuntu
|
||||
timeoutInMinutes: 20
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
strategy:
|
||||
matrix:
|
||||
default:
|
||||
name: default
|
||||
install:
|
||||
|
||||
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
|
||||
displayName: 'apt install'
|
||||
|
||||
- script: ./buildconf
|
||||
displayName: 'buildconf'
|
||||
|
||||
- script: scan-build-10 ./configure --enable-debug --enable-werror --with-openssl --with-libssh2
|
||||
displayName: 'configure'
|
||||
env:
|
||||
CC: "clang-9"
|
||||
CCX: "clang++-9"
|
||||
|
||||
- script: scan-build-10 --status-bugs make
|
||||
displayName: 'make'
|
||||
|
||||
- script: scan-build-10 --status-bugs make examples
|
||||
displayName: 'make examples'
|
||||
|
||||
##########################################
|
||||
### Windows jobs below
|
||||
|
|
|
|||
|
|
@ -119,9 +119,3 @@ if [ "$T" = "fuzzer" ]; then
|
|||
./mainline.sh ${CURLSRC}
|
||||
popd
|
||||
fi
|
||||
|
||||
if [ "$T" = "scan-build" ]; then
|
||||
scan-build ./configure --enable-debug --enable-werror $C
|
||||
scan-build --status-bugs make
|
||||
scan-build --status-bugs make examples
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -412,26 +412,6 @@
|
|||
T: tidy
|
||||
C: --with-openssl
|
||||
|
||||
- job:
|
||||
name: curl-scan-build
|
||||
parent: curl-base
|
||||
vars:
|
||||
curl_apt_packages:
|
||||
- clang-tools-10
|
||||
- clang-9
|
||||
- libssl-dev
|
||||
- libssh2-1-dev
|
||||
- libpsl-dev
|
||||
- libbrotli-dev
|
||||
- libzstd-dev
|
||||
curl_env:
|
||||
CC: clang-9
|
||||
CXX: clang++-9
|
||||
T: scan-build
|
||||
C: >-
|
||||
--with-openssl
|
||||
--with-libssh2
|
||||
|
||||
- job:
|
||||
name: curl-debug-clang-with-openssl-dl-ubsan
|
||||
parent: curl-base
|
||||
|
|
@ -484,6 +464,5 @@
|
|||
- curl-events
|
||||
- curl-fuzzer
|
||||
- curl-tidy
|
||||
- curl-scan-build
|
||||
- curl-debug-clang-with-openssl-dl-ubsan
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue