diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5ab1e4c04..f43f29b5e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,7 +54,8 @@ Win10: script: - env - sh %CI_PROJECT_DIR%/CI/before_script.msvc.sh -c Release -p x64 -v 2017 -V - - C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\msbuild.exe MSVC2017_64\OpenMW.sln /t:Build /p:Configuration=Release /m:2 + - SET msBuildLocation="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" + - call %msBuildLocation% MSVC2017_64\OpenMW.sln /t:Build /p:Configuration=Release /m:2 cache: paths: - deps