mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 09:28:22 +08:00
Add coverity analysis
This commit is contained in:
parent
3945c9b89f
commit
8f862d4fdb
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…
Reference in New Issue
Block a user