mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Build UEFITool exclusively for coverity
This commit is contained in:
parent
e6f3f4380f
commit
6bb862d626
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -148,10 +148,11 @@ 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
|
COVERITY_BUILD_COMMAND: ./unixbuild.sh --build
|
||||||
|
@ -123,7 +123,10 @@ rm -rf dist
|
|||||||
mkdir -p dist || exit 1
|
mkdir -p dist || exit 1
|
||||||
|
|
||||||
build_tool UEFITool "$UEFITOOL_VER" uefitool.pro
|
build_tool UEFITool "$UEFITOOL_VER" uefitool.pro
|
||||||
build_tool UEFIExtract "$UEFITOOL_VER" ""
|
# FIXME: cmake does not let overriding CC after generating files.
|
||||||
build_tool UEFIFind "$UEFITOOL_VER" ""
|
if [ "$COVERITY_SCAN_TOKEN" = "" ]; then
|
||||||
|
build_tool UEFIExtract "$UEFITOOL_VER" ""
|
||||||
|
build_tool UEFIFind "$UEFITOOL_VER" ""
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user