git repos / PlatformFolders

commit a9fe2cf3

sum01 · 2018-04-26 22:06
a9fe2cf35ca68018c8bdb7773abb14991d4aef33 patch · browse files
parent 0863f4b8241a7c471ad963b388f1061a622922fa

Use Win32 on the test script for Appveyor

While it's used in the build script, for some reason it was fine without it.
It's better to be correct though :)

Changed files

M appveyor.yml before
diff --git a/appveyor.yml b/appveyor.yml index c4866d6..6a6ce96 100644 --- a/appveyor.yml +++ b/appveyor.yml
@@ -63,7 +63,7 @@ build_script:
# to run your custom scripts instead of automatic tests
# The %CONFIGURATION% and %PLATFORM% variables are set from Appveyor as env-vars
test_script:
- - cmd: MSBuild.exe /p:Configuration="%CONFIGURATION%" /p:Platform="%PLATFORM%" /v:minimal "%APPVEYOR_BUILD_FOLDER%"\build\RUN_TESTS.vcxproj
+ - cmd: IF "%PLATFORM%"=="x86" (MSBuild.exe "%APPVEYOR_BUILD_FOLDER%"\build\RUN_TESTS.vcxproj /p:Configuration="%CONFIGURATION%" /p:Platform="Win32" /v:minimal /m) ELSE (MSBuild.exe "%APPVEYOR_BUILD_FOLDER%"\build\RUN_TESTS.vcxproj /p:Configuration="%CONFIGURATION%" /p:Platform="%PLATFORM%" /v:minimal /m)
#---------------------------------#
# global handlers #