mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Test ci
This commit is contained in:
parent
114aebf8b5
commit
7c8d1ccd0d
@ -16,4 +16,4 @@ build:windows:
|
|||||||
artifacts:
|
artifacts:
|
||||||
expire_in: '2 hrs'
|
expire_in: '2 hrs'
|
||||||
paths:
|
paths:
|
||||||
- package/
|
- PACKAGE/
|
||||||
|
@ -6,12 +6,11 @@ set root=%cd%
|
|||||||
|
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
|
||||||
|
|
||||||
mkdir package
|
mkdir BUILD
|
||||||
cd package
|
cd BUILD
|
||||||
|
|
||||||
echo "Begin build of ScreenPlay "
|
echo "Begin build of ScreenPlay "
|
||||||
qmake.exe ../ScreenPlay.pro -spec win32-msvc "CONFIG+=release"
|
qmake.exe ../ScreenPlay.pro -spec win32-msvc "CONFIG+=release"
|
||||||
jom.exe clean
|
|
||||||
jom.exe qmake_all
|
jom.exe qmake_all
|
||||||
jom.exe -j8
|
jom.exe -j8
|
||||||
jom.exe install
|
jom.exe install
|
||||||
|
@ -1,15 +1,30 @@
|
|||||||
setlocal EnableExtensions
|
setlocal EnableExtensions
|
||||||
|
|
||||||
|
set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin
|
||||||
|
set PATH=%PATH%;C:\Qt\5.11.2\msvc2017_64\bin
|
||||||
|
set root=%cd%
|
||||||
|
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
|
||||||
|
|
||||||
echo "Begin packaging"
|
echo "Begin packaging"
|
||||||
|
|
||||||
xcopy "Shared" "package\Launcher" /s /y
|
mkdir PACKAGE
|
||||||
|
cd BUILD
|
||||||
|
|
||||||
C:\Qt\5.11.2\msvc2017_64\bin\windeployqt.exe --release --qmldir Launcher/qml package/Launcher/DC-Launcher.exe
|
xcopy /s ScreenPlay\release ..\PACKAGE
|
||||||
|
xcopy /s ScreenPlaySDK\release ..\PACKAGE
|
||||||
|
xcopy /s ScreenPlayWidget\release ..\PACKAGE
|
||||||
|
xcopy /s ScreenPlayWindow\release ..\PACKAGE
|
||||||
|
xcopy /s ScreenPlayWorkshop\release ..\PACKAGE
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
windeployqt.exe --release --qmldir ScreenPlay/qml PACKAGE/ScreenPlay.exe
|
||||||
|
|
||||||
|
cd PACKAGE
|
||||||
|
|
||||||
|
del /f *.cpp
|
||||||
|
del /f *.h
|
||||||
|
del /f *.obj
|
||||||
|
del /f *.res
|
||||||
|
|
||||||
del /f package\PatchFileGenerator\*.cpp
|
|
||||||
del /f package\PatchFileGenerator\*.h
|
|
||||||
del /f package\PatchFileGenerator\*.obj
|
|
||||||
del /f package\PatchFileGenerator\*.res
|
|
Loading…
Reference in New Issue
Block a user