Add coverity analysis

This commit is contained in:
vit9696 2020-11-27 12:17:33 +03:00
parent 3945c9b89f
commit 8f862d4fdb

View file

@ -136,3 +136,23 @@ jobs:
file: dist/*.zip
tag: ${{ github.ref }}
file_glob: true
analyze_coverity:
env:
PROJECT_TYPE: TOOL
JOB_TYPE: COVERITY
name: Analyze Coverity
runs-on: macos-10.15
steps:
- name: CI Bootstrap
run: |
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
- uses: actions/checkout@v2
- run: ./unixbuild.sh --configure
- name: Run Coverity
run: |
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/coverity/covstrap.sh) && eval "$src" || exit 1
env:
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
COVERITY_BUILD_COMMAND: ./unixbuild.sh --build