forked from OpenCppCoverage/OpenCppCoverage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontinuous-integration-workflow.yml
More file actions
37 lines (27 loc) · 1.03 KB
/
Copy pathcontinuous-integration-workflow.yml
File metadata and controls
37 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Unit tests
on: [push, pull_request]
jobs:
build:
name: Unit tests
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install third party libraries
run: ./InstallThirdPartyLibraries.ps1
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.0
- name: Build solution
run: msbuild /m CppCoverage.sln /p:Configuration=Debug /p:Platform=x64
- name: Run CppCoverageTest
run: .\x64\Debug\CppCoverageTest.exe --gtest_filter=-CodeCoverageRunnerTest.OptimizedBuild # Require VS2013
- name: Run ExporterTest
run: .\x64\Debug\ExporterTest.exe
- name: Run FileFilterTest
run: .\x64\Debug\FileFilterTest.exe --gtest_filter=-RelocationsExtractorTest.Extract # Require mspdbcore.dll
- name: Run OpenCppCoverageTest
run: .\x64\Debug\OpenCppCoverageTest.exe
- name: Run PluginTest
run: .\x64\Debug\PluginTest.exe
- name: Run ToolsTest
run: .\x64\Debug\ToolsTest.exe