diff --git a/appveyor-build.bat b/appveyor-build.bat index cf23226ab..90b5db01f 100644 --- a/appveyor-build.bat +++ b/appveyor-build.bat @@ -1,8 +1,15 @@ -REM Set up MSYS environment -set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% +REM Set up Visual Studio x64 environment +call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" -REM Run MSYS script -bash -c ./appveyor-build.sh +REM Install Open*IO libraries +vcpkg install opencolorio +vcpkg install openimageio + +REM Run cmake +cmake -G "NMake Makefiles" . + +REM Build +nmake REM Check if this build should set up a debugging session IF "%ENABLE_RDP%"=="1" ( diff --git a/appveyor.yml b/appveyor.yml index aafe2b5b3..2afc08312 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,11 @@ branches: image: Visual Studio 2015 environment: TRAVIS_REPO_SLUG: olive-editor/olive +install: +- cd C:\Tools\vcpkg +- git pull +- .\bootstrap-vcpkg.bat +- cd %APPVEYOR_BUILD_FOLDER% build_script: - cmd: appveyor-build.bat artifacts: