-
-
Notifications
You must be signed in to change notification settings - Fork 118
/
appveyor.yml
65 lines (55 loc) · 1.46 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: 2.2.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.2.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