From 5034f2defa300ad33556b1d13b63e9db642fba76 Mon Sep 17 00:00:00 2001 From: Alex Anderson Date: Tue, 29 May 2018 04:37:48 -0700 Subject: [PATCH] appveyor update --- CI/install-build-obs-rematrix-filter.cmd | 163 +++++++++++++++++++++++ CI/install-setup-qt.cmd | 6 + appveyor.yml | 54 ++------ 3 files changed, 177 insertions(+), 46 deletions(-) create mode 100644 CI/install-build-obs-rematrix-filter.cmd create mode 100644 CI/install-setup-qt.cmd diff --git a/CI/install-build-obs-rematrix-filter.cmd b/CI/install-build-obs-rematrix-filter.cmd new file mode 100644 index 000000000..f09a68247 --- /dev/null +++ b/CI/install-build-obs-rematrix-filter.cmd @@ -0,0 +1,163 @@ +@echo off +SETLOCAL EnableDelayedExpansion + +REM Check if obs-studio build exists. +REM If the obs-studio directory does exist, check if the last OBS tag built +REM matches the latest OBS tag. +REM If the tags match, do not build obs-studio. +REM If the tags do not match, build obs-studio. +REM If the obs-studio directory doesn't exist, build obs-studio. +echo Checking for obs-studio build... + +set OBSLatestTagPrePull=0 +set OBSLatestTagPostPull=0 + +set "BuildOBS=" + +REM Check the last tag successfully built by CI. +if exist C:\projects\obs-studio-last-tag-built.txt ( + set /p OBSLastTagBuilt= C:\projects\latest-obs-studio-tag-pre-pull.txt + set /p OBSLatestTagPrePull= C:\projects\latest-obs-studio-tag-post-pull.txt + set /p OBSLatestTagPostPull= C:\projects\obs-studio-latest-tag.txt + set /p OBSLatestTag= C:\projects\obs-studio-last-tag-built.txt +REM set /p OBSLastTagBuilt= C:\projects\obs-studio-last-tag-built.txt + - set /p OBSLastTagBuilt=