mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 15:27:48 -05:00
Check for errors in build-windows.bat so CI job fails if build fails
This commit is contained in:
@@ -58,16 +58,28 @@ goto bits_done
|
||||
::---------------------------------------------------------::
|
||||
qmake OpenRGB.pro CONFIG-=debug_and_release CONFIG+=release
|
||||
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
EXIT /B %ERRORLEVEL%
|
||||
)
|
||||
|
||||
::---------------------------------------------------------::
|
||||
:: Run jom to execute the build ::
|
||||
::---------------------------------------------------------::
|
||||
jom
|
||||
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
EXIT /B %ERRORLEVEL%
|
||||
)
|
||||
|
||||
::---------------------------------------------------------::
|
||||
:: 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\
|
||||
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
EXIT /B %ERRORLEVEL%
|
||||
)
|
||||
|
||||
::---------------------------------------------------------::
|
||||
:: Rename the release folder ::
|
||||
::---------------------------------------------------------::
|
||||
|
||||
Reference in New Issue
Block a user