mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI: update Windows builds to VS2017 and Qt 5.10.1
This commit is contained in:
parent
2e19c5f08a
commit
8c2eee2e25
@ -97,12 +97,12 @@ if defined BuildOBS (
|
|||||||
mkdir build64
|
mkdir build64
|
||||||
echo Running cmake for obs-studio %OBSLatestTag% 32-bit...
|
echo Running cmake for obs-studio %OBSLatestTag% 32-bit...
|
||||||
cd ./build32
|
cd ./build32
|
||||||
cmake -G "Visual Studio 12 2013" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true ..
|
cmake -G "Visual Studio 15 2017" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true ..
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo Running cmake for obs-studio %OBSLatestTag% 64-bit...
|
echo Running cmake for obs-studio %OBSLatestTag% 64-bit...
|
||||||
cd ../build64
|
cd ../build64
|
||||||
cmake -G "Visual Studio 12 2013 Win64" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true ..
|
cmake -G "Visual Studio 15 2017 Win64" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true ..
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo Building obs-studio %OBSLatestTag% 32-bit ^(Build Config: %build_config%^)...
|
echo Building obs-studio %OBSLatestTag% 32-bit ^(Build Config: %build_config%^)...
|
||||||
|
@ -1,20 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
REM Set default values to use AppVeyor's built-in Qt.
|
REM Set default values to use AppVeyor's built-in Qt.
|
||||||
set QTDIR32=C:\Qt\5.7\msvc2013
|
set QTDIR32=C:\Qt\5.10.1\msvc2015
|
||||||
set QTDIR64=C:\Qt\5.7\msvc2013_64
|
set QTDIR64=C:\Qt\5.10.1\msvc2017_64
|
||||||
set QTCompileVersion=5.7.1
|
set QTCompileVersion=5.10.1
|
||||||
|
|
||||||
REM If the AppVeyor cache couldn't recover qt570.7z,
|
|
||||||
REM try to fetch Qt 5.7.0 from slepin.fr.
|
|
||||||
if not exist qt570.7z (
|
|
||||||
curl -kLO https://www.slepin.fr/obs-plugins/deps/qt570.7z -f --retry 5 -C -
|
|
||||||
)
|
|
||||||
|
|
||||||
REM If qt570.7z exists now, use that instead of AppVeyor's built-in Qt.
|
|
||||||
if exist qt570.7z (
|
|
||||||
7z x qt570.7z -o"Qt5.7.0"
|
|
||||||
set QTDIR32=%CD%\Qt5.7.0\msvc2013
|
|
||||||
set QTDIR64=%CD%\Qt5.7.0\msvc2013_64
|
|
||||||
set QTCompileVersion=5.7.0
|
|
||||||
)
|
|
||||||
|
14
appveyor.yml
14
appveyor.yml
@ -4,10 +4,10 @@ environment:
|
|||||||
install:
|
install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- cd C:\projects\
|
- cd C:\projects\
|
||||||
- if not exist dependencies2013.zip curl -kLO https://obsproject.com/downloads/dependencies2013.zip -f --retry 5 -C -
|
- if not exist dependencies2015.zip curl -kLO https://obsproject.com/downloads/dependencies2015.zip -f --retry 5 -C -
|
||||||
- 7z x dependencies2013.zip -odependencies2013
|
- 7z x dependencies2015.zip -odependencies2015
|
||||||
- set DepsPath32=%CD%\dependencies2013\win32
|
- set DepsPath32=%CD%\dependencies2015\win32
|
||||||
- set DepsPath64=%CD%\dependencies2013\win64
|
- set DepsPath64=%CD%\dependencies2015\win64
|
||||||
- call C:\projects\obs-websocket\CI\install-setup-qt.cmd
|
- call C:\projects\obs-websocket\CI\install-setup-qt.cmd
|
||||||
- set build_config=Release
|
- set build_config=Release
|
||||||
- call C:\projects\obs-websocket\CI\install-build-obs.cmd
|
- call C:\projects\obs-websocket\CI\install-build-obs.cmd
|
||||||
@ -15,9 +15,9 @@ install:
|
|||||||
- mkdir build32
|
- mkdir build32
|
||||||
- mkdir build64
|
- mkdir build64
|
||||||
- cd ./build32
|
- cd ./build32
|
||||||
- cmake -G "Visual Studio 12 2013" -DQTDIR="%QTDIR32%" -DLibObs_DIR="C:\projects\obs-studio\build32\libobs" -DLIBOBS_INCLUDE_DIR="C:\projects\obs-studio\libobs" -DLIBOBS_LIB="C:\projects\obs-studio\build32\libobs\%build_config%\obs.lib" -DOBS_FRONTEND_LIB="C:\projects\obs-studio\build32\UI\obs-frontend-api\%build_config%\obs-frontend-api.lib" ..
|
- cmake -G "Visual Studio 15 2017" -DQTDIR="%QTDIR32%" -DLibObs_DIR="C:\projects\obs-studio\build32\libobs" -DLIBOBS_INCLUDE_DIR="C:\projects\obs-studio\libobs" -DLIBOBS_LIB="C:\projects\obs-studio\build32\libobs\%build_config%\obs.lib" -DOBS_FRONTEND_LIB="C:\projects\obs-studio\build32\UI\obs-frontend-api\%build_config%\obs-frontend-api.lib" ..
|
||||||
- cd ../build64
|
- cd ../build64
|
||||||
- cmake -G "Visual Studio 12 2013 Win64" -DQTDIR="%QTDIR64%" -DLibObs_DIR="C:\projects\obs-studio\build64\libobs" -DLIBOBS_INCLUDE_DIR="C:\projects\obs-studio\libobs" -DLIBOBS_LIB="C:\projects\obs-studio\build64\libobs\%build_config%\obs.lib" -DOBS_FRONTEND_LIB="C:\projects\obs-studio\build64\UI\obs-frontend-api\%build_config%\obs-frontend-api.lib" ..
|
- cmake -G "Visual Studio 15 2017 Win64" -DQTDIR="%QTDIR64%" -DLibObs_DIR="C:\projects\obs-studio\build64\libobs" -DLIBOBS_INCLUDE_DIR="C:\projects\obs-studio\libobs" -DLIBOBS_LIB="C:\projects\obs-studio\build64\libobs\%build_config%\obs.lib" -DOBS_FRONTEND_LIB="C:\projects\obs-studio\build64\UI\obs-frontend-api\%build_config%\obs-frontend-api.lib" ..
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- call msbuild /m /p:Configuration=%build_config% C:\projects\obs-websocket\build32\obs-websocket.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
- call msbuild /m /p:Configuration=%build_config% C:\projects\obs-websocket\build32\obs-websocket.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
@ -32,7 +32,7 @@ deploy_script:
|
|||||||
test: off
|
test: off
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- C:\projects\dependencies2013.zip
|
- C:\projects\dependencies2015.zip
|
||||||
- C:\projects\qt570.7z
|
- C:\projects\qt570.7z
|
||||||
- C:\projects\obs-studio-last-tag-built.txt
|
- C:\projects\obs-studio-last-tag-built.txt
|
||||||
- C:\projects\obs-studio\
|
- C:\projects\obs-studio\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user