pjsip-pjproject/tests/coverity-scan
bennylp d32ec571f5 (Take 4): testing new GH action in this branch 2023-03-28 17:23:37 +07:00
..
README.md Enable more features in config_site.h to be checked by coverity scan 2023-03-23 09:11:14 +07:00
packages.txt Draft version of coverity scan script 2023-02-16 13:19:02 +00:00
run.sh (Take 4): testing new GH action in this branch 2023-03-28 17:23:37 +07:00

README.md

Running Coverity Scan Locally

  1. Install Docker

  2. Pull and run ubuntu image:

    $ docker pull ubuntu
    $ docker run -it ubuntu
    

Run the next steps inside Docker Ubuntu terminal

  1. Install git:

    $ sudo apt-update
    $ sudo apt-get install git
    
  2. Get PJSIP:

    $ cd
    $ git clone https://github.com/pjsip/pjproject.git
    
  3. (For now) Switch to coverity01 branch:

    $ git checkout coverity01
    
  4. Get latest version

    $ git pull
    
  5. Set Coverity Scan token (from this page):

    $ export COV_TOKEN=....
    
  6. Run the scan and upload the result (run run.sh -t to skip uploading, -h to get some help):

    $ cd pjproject
    $ tests/coverity-scan/run.sh