mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-09 13:52:01 -04:00
Add coverity analysis
This commit is contained in:
parent
3945c9b89f
commit
8f862d4fdb
1 changed files with 20 additions and 0 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
@ -136,3 +136,23 @@ jobs:
|
||||||
file: dist/*.zip
|
file: dist/*.zip
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
file_glob: true
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue