Skip to content

Commit 9e3cb02

Browse files
committed
chore: ci fixes
1 parent 605b4ff commit 9e3cb02

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

.github/workflows/test.yml

+22-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,21 @@ jobs:
1919
uses: actions/setup-dotnet@v4
2020
with:
2121
dotnet-version: 8.0
22+
23+
- name: Setup msbuild
24+
uses: microsoft/setup-msbuild@v2
25+
- name: Setup VSTest Path
26+
uses: darenm/[email protected]
27+
2228
- name: Test
2329
run: |
24-
$Env:WORKFLOW_VERSION = 'v8.1'
2530
regsvr32 $Env:GITHUB_WORKSPACE/AtemSDK/v8.1.0/BMDSwitcherAPI.dll /s
2631
regsvr32 $Env:GITHUB_WORKSPACE/AtemSDK/v8.1.0/BMDSwitcherAPI64.dll /s
27-
dotnet test LibAtem.MockTests -c Release
32+
33+
dotnet restore
34+
35+
msbuild .\LibAtem.ComparisonTests.sln /property:Platform=v8.1 /property:Configuration=Release
36+
vstest.console.exe LibAtem.MockTests/bin/v8.1/Release/net8.0-windows/LibAtem.MockTests.dll
2837
test_v8_1_1_-_v9_5_0:
2938
runs-on: windows-latest
3039
steps:
@@ -41,9 +50,18 @@ jobs:
4150
uses: actions/setup-dotnet@v4
4251
with:
4352
dotnet-version: 8.0
53+
54+
- name: Setup msbuild
55+
uses: microsoft/setup-msbuild@v2
56+
- name: Setup VSTest Path
57+
uses: darenm/[email protected]
58+
4459
- name: Test
4560
run: |
46-
$Env:WORKFLOW_VERSION = 'v8.1.1'
4761
# regsvr32 $Env:GITHUB_WORKSPACE/AtemSDK/v9.5.0/BMDSwitcherAPI.dll /s
4862
regsvr32 $Env:GITHUB_WORKSPACE/AtemSDK/v9.5.0/BMDSwitcherAPI64.dll /s
49-
dotnet test LibAtem.MockTests -c Release
63+
64+
dotnet restore
65+
66+
msbuild .\LibAtem.ComparisonTests.sln /property:Platform=v8.1.1 /property:Configuration=Release
67+
vstest.console.exe LibAtem.MockTests/bin/v8.1.1/Release/net8.0-windows/LibAtem.MockTests.dll

LibAtem

0 commit comments

Comments
 (0)