Merge pull request #1751 from signalwire/scanbuild11

[Testing] Enable scan-build 11 on Drone CI
This commit is contained in:
Andrey Volk 2022-08-10 01:09:01 +03:00 committed by GitHub
commit db3dd53aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -4,14 +4,14 @@ name: unit-tests
steps: steps:
- name: bootstrap - name: bootstrap
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
commands: commands:
- cat /proc/sys/kernel/core_pattern - cat /proc/sys/kernel/core_pattern
- ./bootstrap.sh -j - ./bootstrap.sh -j
- name: configure - name: configure
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
environment: environment:
REPOTOKEN: REPOTOKEN:
@ -33,7 +33,7 @@ steps:
- ./configure --enable-address-sanitizer - ./configure --enable-address-sanitizer
- name: build - name: build
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
environment: environment:
REPOTOKEN: REPOTOKEN:
@ -50,7 +50,7 @@ steps:
- ./build.sh - ./build.sh
- name: run-tests - name: run-tests
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
environment: environment:
REPOTOKEN: REPOTOKEN:
@ -97,13 +97,13 @@ name: scan-build
steps: steps:
- name: bootstrap - name: bootstrap
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
commands: commands:
- ./bootstrap.sh -j - ./bootstrap.sh -j
- name: configure - name: configure
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
environment: environment:
REPOTOKEN: REPOTOKEN:
@ -140,7 +140,7 @@ steps:
- ./configure - ./configure
- name: scan-build - name: scan-build
image: signalwire/freeswitch-public-base image: signalwire/freeswitch-public-base:bullseye
pull: always pull: always
environment: environment:
REPOTOKEN: REPOTOKEN:
@ -152,7 +152,7 @@ steps:
- export REPOTOKEN='' - export REPOTOKEN=''
- rm -rf /etc/apt/auth.conf - rm -rf /etc/apt/auth.conf
- mkdir -p scan-build - mkdir -p scan-build
- echo '#!/bin/bash\nscan-build-7 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh - echo '#!/bin/bash\nscan-build-11 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
- chmod +x scan.sh - chmod +x scan.sh
- ./scan.sh - ./scan.sh
- exitstatus=`cat ./scan-build-status.txt` - exitstatus=`cat ./scan-build-status.txt`
@ -178,6 +178,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 8fd652a876c5578617608e516c37c156219c62a29b2f14114e876745a1aab597 hmac: 96f5b3ecee6a6b61fa39bc748bd68295be30eff4768dcfc53091dd448d3ee28d
... ...