diff options
author | Filip Navara <filip.navara@gmail.com> | 2019-10-30 16:39:47 +0300 |
---|---|---|
committer | Johan Lorensson <lateralusx.github@gmail.com> | 2019-10-30 16:39:47 +0300 |
commit | 3d397805d4bb5764bc2e8e0da3c83d47c4b1f569 (patch) | |
tree | f46fcd53d15d74b324f66736b5883c786db57b7b /scripts/ci | |
parent | 2823ac5d95bd9558de0b164271968ac3cb2d6c58 (diff) |
[netcore] Report errors on Windows CI (#17616)
* [netcore] Report errors on Windows CI
* Fix Windows build
Diffstat (limited to 'scripts/ci')
-rw-r--r-- | scripts/ci/pipeline-netcore-runtime.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci/pipeline-netcore-runtime.yml b/scripts/ci/pipeline-netcore-runtime.yml index 2ad43c2388b..44c2a6308dc 100644 --- a/scripts/ci/pipeline-netcore-runtime.yml +++ b/scripts/ci/pipeline-netcore-runtime.yml @@ -246,10 +246,13 @@ stages: - script: | %CD:~0,2%\msys64\usr\bin\bash -lc "PATH=/usr/bin:/mingw64/bin:/c/hostedtoolcache/windows/dncs/2.2.203/x64:/c/Program\ Files/Git/bin ./autogen.sh --host=x86_64-w64-mingw32 --with-core=only" CALL msvc\run-msbuild.bat build x86_64 release "/p:PlatformToolset=v140 /p:MONO_TARGET_GC=sgen" + IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL% %CD:~0,2%\msys64\usr\bin\bash -lc "PATH=/c/windows/System32/WindowsPowerShell/v1.0/:/usr/bin:/mingw64/bin:/c/hostedtoolcache/windows/dncs/2.2.203/x64:/c/Program\ Files/Git/bin make -C netcore bcl CORLIB_BUILD_FLAGS='-c $(_BuildConfig)'" + IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL% MKDIR mono\mini\.libs\ COPY msvc\build\sgen\x64\bin\Release\mono-2.0-sgen.dll mono\mini\.libs\monosgen-2.0.dll %CD:~0,2%\msys64\usr\bin\bash -lc "PATH=/c/windows/System32/WindowsPowerShell/v1.0/:/usr/bin:/mingw64/bin:/c/hostedtoolcache/windows/dncs/2.2.203/x64:/c/Program\ Files/Git/bin make -C netcore nupkg" + IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL% MKDIR artifacts\log\$(_BuildConfig)\ MKDIR artifacts\SymStore\$(_BuildConfig)\ MKDIR artifacts\packages\$(_BuildConfig)\Shipping\ |