Check for errors in build-windows.bat so CI job fails if build fails

master
Adam Honse 5 months ago
parent 0b5010cda6
commit 0721f643c4

@ -58,16 +58,28 @@ goto bits_done
::---------------------------------------------------------:: ::---------------------------------------------------------::
qmake OpenRGB.pro CONFIG-=debug_and_release CONFIG+=release qmake OpenRGB.pro CONFIG-=debug_and_release CONFIG+=release
IF %ERRORLEVEL% NEQ 0 (
EXIT /B %ERRORLEVEL%
)
::---------------------------------------------------------:: ::---------------------------------------------------------::
:: Run jom to execute the build :: :: Run jom to execute the build ::
::---------------------------------------------------------:: ::---------------------------------------------------------::
jom jom
IF %ERRORLEVEL% NEQ 0 (
EXIT /B %ERRORLEVEL%
)
::---------------------------------------------------------:: ::---------------------------------------------------------::
:: Run windeployqt to copy the Qt dll files :: :: Run windeployqt to copy the Qt dll files ::
::---------------------------------------------------------:: ::---------------------------------------------------------::
windeployqt --no-patchqt --no-quick-import --no-translations --no-system-d3d-compiler --no-compiler-runtime --no-opengl-sw --no-network .\release\ windeployqt --no-patchqt --no-quick-import --no-translations --no-system-d3d-compiler --no-compiler-runtime --no-opengl-sw --no-network .\release\
IF %ERRORLEVEL% NEQ 0 (
EXIT /B %ERRORLEVEL%
)
::---------------------------------------------------------:: ::---------------------------------------------------------::
:: Rename the release folder :: :: Rename the release folder ::
::---------------------------------------------------------:: ::---------------------------------------------------------::

Loading…
Cancel
Save