diff --git a/appveyor.yml b/appveyor.yml index 435e08640..e5acbeb55 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,29 +2,22 @@ platform: x64 environment: matrix: - - compiler: msvc - generator: Visual Studio 14 - vcvarsallpath: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat + - vcvarsallpath: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat arch: amd64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - compiler: msvc - generator: Visual Studio 15 vcvarsallpath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat arch: x86 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - compiler: msvc - generator: Visual Studio 16 vcvarsallpath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat arch: amd64 build_script: - set "PYTHON_ROOT=C:\python37-x64" - set "PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%" - - 'if "%compiler%"=="msvc" pip install --upgrade meson' - - 'if "%compiler%"=="msvc" pip install fonttools' - - 'if "%compiler%"=="msvc" "%vcvarsallpath%" %arch% && meson setup build --wrap-mode=default --buildtype=release -Dglib=enabled -Dfreetype=enabled -Dgdi=enabled -Ddirectwrite=enabled && meson test --print-errorlogs --suite=harfbuzz -Cbuild' + - pip install --upgrade meson fonttools + - "%vcvarsallpath%" %arch% && meson setup build --wrap-mode=default --buildtype=release -Dglib=enabled -Dfreetype=enabled -Dgdi=enabled -Ddirectwrite=enabled && meson test --print-errorlogs --suite=harfbuzz -Cbuild cache: - c:\tools\vcpkg\installed\