Try configuring and building for Coverity at once

This commit is contained in:
vit9696 2020-11-27 15:06:19 +03:00
parent 05f770c8a4
commit e6f3f4380f
2 changed files with 2 additions and 6 deletions

View File

@ -148,11 +148,10 @@ jobs:
run: | run: |
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: ./unixbuild.sh --configure
- name: Run Coverity - name: Run Coverity
run: | run: |
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/coverity/covstrap.sh) && eval "$src" || exit 1 src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/coverity/covstrap.sh) && eval "$src" || exit 1
env: env:
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
COVERITY_BUILD_COMMAND: ./unixbuild.sh --build COVERITY_BUILD_COMMAND: ./unixbuild.sh

View File

@ -122,10 +122,7 @@ build_tool() {
rm -rf dist rm -rf dist
mkdir -p dist || exit 1 mkdir -p dist || exit 1
# FIXME: Qt is bugged and does not override CC. build_tool UEFITool "$UEFITOOL_VER" uefitool.pro
if [ "$COVERITY_SCAN_TOKEN" = "" ]; then
build_tool UEFITool "$UEFITOOL_VER" uefitool.pro
fi
build_tool UEFIExtract "$UEFITOOL_VER" "" build_tool UEFIExtract "$UEFITOOL_VER" ""
build_tool UEFIFind "$UEFITOOL_VER" "" build_tool UEFIFind "$UEFITOOL_VER" ""