mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'js/github-ci-win-coverity-fix'
Fixes for GitHub Actions Coverity job. * js/github-ci-win-coverity-fix: ci(coverity): output the build log upon error ci(coverity): fix building on Windows
This commit is contained in:
8
.github/workflows/coverity.yml
vendored
8
.github/workflows/coverity.yml
vendored
@@ -147,9 +147,13 @@ jobs:
|
||||
key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
|
||||
- name: build with cov-build
|
||||
run: |
|
||||
export PATH="$RUNNER_TEMP/cov-analysis/bin:$PATH" &&
|
||||
export PATH="$PATH:$RUNNER_TEMP/cov-analysis/bin" &&
|
||||
cov-configure --gcc &&
|
||||
cov-build --dir cov-int make
|
||||
if ! cov-build --dir cov-int make
|
||||
then
|
||||
cat cov-int/build-log.txt
|
||||
exit 1
|
||||
fi
|
||||
- name: package the build
|
||||
run: tar -czvf cov-int.tgz cov-int
|
||||
- name: submit the build to Coverity Scan
|
||||
|
||||
Reference in New Issue
Block a user