UnitTests: Fix VS Win32 output folder anomaly
Visual Studio is using different output folder convention for Win32 builds. This makes it a royal-pain-in-the-ass to automate artifact paths. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
0d024b97d1
commit
875b0581f7
4
UnitTests/.gitignore
vendored
4
UnitTests/.gitignore
vendored
@ -1,10 +1,10 @@
|
||||
/.vs
|
||||
/*.user
|
||||
/Debug
|
||||
/Release
|
||||
/UnitTests/Debug
|
||||
/UnitTests/Release
|
||||
/UnitTests/x64/Debug
|
||||
/UnitTests/x64/Release
|
||||
/x64/Debug
|
||||
/x64/Release
|
||||
/x86/Debug
|
||||
/x86/Release
|
||||
|
@ -64,6 +64,7 @@
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<OutDir>$(SolutionDir)\$(PlatformTarget)\$(Configuration)\</OutDir>
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
69
appveyor.yml
69
appveyor.yml
@ -8,76 +8,9 @@ configuration:
|
||||
platform:
|
||||
- x64
|
||||
- x86
|
||||
|
||||
for:
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2022
|
||||
configuration: Debug
|
||||
platform: x64
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\x64\Debug\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2022
|
||||
configuration: Release
|
||||
platform: x64
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\x64\Release\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2022
|
||||
configuration: Debug
|
||||
platform: x86
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\Debug\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2022
|
||||
configuration: Release
|
||||
platform: x86
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\Release\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2019
|
||||
configuration: Debug
|
||||
platform: x64
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\x64\Debug\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2019
|
||||
configuration: Release
|
||||
platform: x64
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\x64\Release\UnitTests.dll
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2019
|
||||
configuration: Debug
|
||||
platform: x86
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\Debug\UnitTests.dll"
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- image: Visual Studio 2019
|
||||
configuration: Release
|
||||
platform: x86
|
||||
environment:
|
||||
UnitTestsFile: UnitTests\Release\UnitTests.dll
|
||||
|
||||
build:
|
||||
project: UnitTests\UnitTests.sln
|
||||
parallel: true
|
||||
verbosity: minimal
|
||||
test_script:
|
||||
- cmd: vstest.console /logger:Appveyor %UnitTestsFile%
|
||||
- cmd: vstest.console /logger:Appveyor UnitTests\%platform%\%configuration%\UnitTests.dll
|
||||
|
Loading…
x
Reference in New Issue
Block a user