-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml.disable
51 lines (41 loc) · 1.16 KB
/
appveyor.yml.disable
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
#
# Appveyor build
#
# @author Natesh Narain <[email protected]>
os: Visual Studio 2015
clone_folder: c:\projects\gameboycore
environment:
VCPKG_TOOLCHAIN: c:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake
configuration:
- Release
install:
- cd c:\tools\vcpkg
- vcpkg install gtest sfml cxxopts fmt
- vcpkg integrate install
before_build:
- cd c:\projects\gameboycore
- git submodule update --init --recursive
- mkdir build && cd build
- cmake .. -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_TOOLS=ON -DCMAKE_TOOLCHAIN_FILE=%VCPKG_TOOLCHAIN%
build:
project: c:\projects\gameboycore\build\gameboycore.sln
verbosity: minimal
after_build:
- cd C:\projects\gameboycore\build
- cmake --build . --target check
- msbuild C:\projects\gameboycore\build\PACKAGE.vcxproj /verbosity:quiet
artifacts:
- path: .\build\gameboycore-*-win32.zip
name: zip-file
deploy:
provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
description: 'v$(APPVEYOR_REPO_TAG_NAME)'
auth_token:
secure: +F7/lKFe9fc9q4w0lCpc9tR1H4JucHiE7WuevfJCaWOeU/5ul8QojqNACB6ODFgT
artifact: zip-file
draft: false
prerelease: false
on:
appveyor_repo_tag: true
force_update: true