version: 2.3.0.{build} branches: only: - master clone_folder: c:\projects\cdogs-sdl image: - Visual Studio 2022 configuration: - Release matrix: fast_finish: true environment: CTEST_OUTPUT_ON_FAILURE: 1 # https://www.appveyor.com/docs/windows-images-software/#python PYTHON: "C:\\Python37" SDL2_VERSION: 2.26.4 SDL2_IMAGE_VERSION: 2.8.1 SDL2_MIXER_VERSION: 2.6.3 SDLDIR: C:\projects\cdogs-sdl VERSION: 2.3.0 install: - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - python --version - cd C:\Tools\vcpkg - git pull - .\bootstrap-vcpkg.bat - vcpkg install --triplet x86-windows sdl2 sdl2-image sdl2-mixer[core,mpg123] protobuf --recurse - pip install protobuf - cd %APPVEYOR_BUILD_FOLDER% before_build: - .\build\windows\get-sdl2-dlls.bat dll 86 "appveyor DownloadFile" - cmake -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 17 2022" -A Win32 . build: project: c:\projects\cdogs-sdl\cdogs-sdl.sln verbosity: minimal parallel: true after_build: - msbuild c:\projects\cdogs-sdl\src\PACKAGE.vcxproj - dir cache: - c:\tools\vcpkg\installed\ artifacts: - path: /.\C-Dogs*.exe/ - path: /.\C-Dogs*.zip/ deploy: provider: GitHub description: '' auth_token: secure: Ap9XXGG/1cyV9hpat7EaYxZHBt/VWdH82Bx+nIugdJ1Dh3I9e8OP4L/IXkadUjdR prerelease: false force_update: true #to be in piece with Travis CI on: appveyor_repo_tag: true after_deploy: - .\build\windows\butler.bat