1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Update Coverity Scan version

This commit is contained in:
Carles Fernandez 2019-06-17 22:41:39 +02:00
parent 3cb2874522
commit b4324e9f35
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -159,7 +159,7 @@ c++20:
- ninja
- ninja check
- ninja install
- volk_gnsssdr_profile -i 3 -v 2053
- volk_gnsssdr_profile -i 3 -v 2053
when: manual
allow_failure: true
@ -442,13 +442,13 @@ coverity-scan:
- apt-get install -y wget curl ca-certificates
- wget -O ./cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --post-data "project=$COVERITY_SCAN_USER%2Fgnss-sdr&token=$COVERITY_SCAN_TOKEN" --no-check-certificate
- tar xvzf cov-analysis-linux64.tgz
- export PATH=$PATH:$(pwd)/cov-analysis-linux64-2017.07/bin
- export PATH=$PATH:$(pwd)/cov-analysis-linux64-2019.03/bin
- apt-get install -y --no-install-recommends build-essential cmake git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr libpugixml-dev libpcap-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest libprotobuf-dev protobuf-compiler
- cd build
- cmake -DENABLE_OSMOSDR=ON -DENABLE_RAW_UDP=ON ..
- cov-build --dir cov-int make -j2
- tar cvzf gnss-sdr.tgz cov-int
- curl -k --form token=$COVERITY_SCAN_TOKEN --form email=$COVERITY_SCAN_EMAIL --form file=@$(pwd)/gnss-sdr.tgz --form version="0.0.9-next" --form description=" " https://scan.coverity.com/builds?project=$COVERITY_SCAN_USER%2Fgnss-sdr --progress-bar | tee -a "log_upload.txt" ; test ${PIPESTATUS[0]} -eq 0
- curl -k --form token=$COVERITY_SCAN_TOKEN --form email=$COVERITY_SCAN_EMAIL --form file=@$(pwd)/gnss-sdr.tgz --form version="0.0.10-next" --form description=" " https://scan.coverity.com/builds?project=$COVERITY_SCAN_USER%2Fgnss-sdr --progress-bar | tee -a "log_upload.txt" ; test ${PIPESTATUS[0]} -eq 0
when: manual
allow_failure: true