forked from Mirrors/freeswitch
Merge pull request #1387 from signalwire/scanbuild7
[Testing] Enable scan-build 7 on Drone CI
This commit is contained in:
commit
4b1e7ca5f6
10
.drone.yml
10
.drone.yml
@ -79,13 +79,13 @@ name: scan-build
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: bootstrap
|
- name: bootstrap
|
||||||
image: signalwire/freeswitch-public-base:stretch
|
image: signalwire/freeswitch-public-base
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- ./bootstrap.sh -j
|
- ./bootstrap.sh -j
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
image: signalwire/freeswitch-public-base:stretch
|
image: signalwire/freeswitch-public-base
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||||
@ -116,13 +116,13 @@ steps:
|
|||||||
- ./configure
|
- ./configure
|
||||||
|
|
||||||
- name: scan-build
|
- name: scan-build
|
||||||
image: signalwire/freeswitch-public-base:stretch
|
image: signalwire/freeswitch-public-base
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||||
- mkdir -p scan-build
|
- mkdir -p scan-build
|
||||||
- echo '#!/bin/bash\nscan-build-4.0 -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-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
|
||||||
- chmod +x scan.sh
|
- chmod +x scan.sh
|
||||||
- ./scan.sh
|
- ./scan.sh
|
||||||
- exitstatus=`cat ./scan-build-status.txt`
|
- exitstatus=`cat ./scan-build-status.txt`
|
||||||
@ -148,6 +148,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 5d5cfb225053294d7cf1a4fed88eaf9a3a53c99a7bad4dc7164eece336c8861a
|
hmac: 500b43fb74a889e2a75e115a4d64c579a6bc48b9521e260908859d7359f2d46b
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user