Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] update OpenCppCoverage to 0.9.9.0 #6026

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,12 @@ jobs:
if: success() && matrix.platform == 'x64'
id: DownloadOpenCppCoverage
with:
url: "https://opencppcoverage.gallerycdn.vsassets.io/extensions/opencppcoverage/opencppcoverageplugin/0.9.7.1/1581265346391/OpenCppCoverage-0.9.7.1.vsix"
url: "https://github.com/OpenCppCoverage/OpenCppCoverage/releases/download/release-0.9.9.0/OpenCppCoverageSetup-x64-0.9.9.0.exe"
target: ${{github.workspace}}\temp\

- name: Unzip OpenCppCoverage
- name: Install OpenCppCoverage
if: success() && matrix.platform == 'x64'
uses: DuckSoft/extract-7z-action@6eaaa506b410f047eaa9b22498696aad1e19a834
with:
pathSource: ${{github.workspace}}\temp\OpenCppCoverage-0.9.7.1.vsix
pathTarget: ${{github.workspace}}\temp\OpenCppCoverage
run: ${{github.workspace}}\temp\OpenCppCoverageSetup-x64-0.9.9.0.exe /verysilent /dir=${{github.workspace}}\temp\OpenCppCoverage

- name: Setup msbuild
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce
Expand Down Expand Up @@ -134,8 +131,8 @@ jobs:
if: success() && matrix.platform == 'x64' && matrix.type == 'msbuild'
working-directory: win_build\Build\${{matrix.platform}}\${{matrix.configuration}}
run: |
${{github.workspace}}\temp\OpenCppCoverage\OpenCppCoverage-x64\OpenCppCoverage.exe --cover_children --optimized_build --sources ${{github.workspace}} --export_type=binary:gtest.cov -- unittests.exe --gtest_output=xml:gtest.xml
${{github.workspace}}\temp\OpenCppCoverage\OpenCppCoverage-x64\OpenCppCoverage.exe --cover_children --optimized_build --modules ${{github.workspace}} --sources ${{github.workspace}} --input_coverage=gtest.cov --export_type=cobertura:cobertura.xml -- python ${{github.workspace}}\tests\crypt_prog_tests.py ${{github.workspace}}\win_build\Build\x64\${{matrix.configuration}}\crypt_prog.exe
${{github.workspace}}\temp\OpenCppCoverage\OpenCppCoverage.exe --cover_children --optimized_build --sources ${{github.workspace}} --export_type=binary:gtest.cov -- unittests.exe --gtest_output=xml:gtest.xml
${{github.workspace}}\temp\OpenCppCoverage\OpenCppCoverage.exe --cover_children --optimized_build --modules ${{github.workspace}} --sources ${{github.workspace}} --input_coverage=gtest.cov --export_type=cobertura:cobertura.xml -- python ${{github.workspace}}\tests\crypt_prog_tests.py ${{github.workspace}}\win_build\Build\x64\${{matrix.configuration}}\crypt_prog.exe

- name: Verify MSI file
if: success() && matrix.type == 'msbuild' && !startsWith(github.ref, 'refs/tags/')
Expand Down
Loading