-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathappveyor.yml
52 lines (43 loc) · 1.51 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
os: Visual Studio 2015
environment:
matrix:
- CONFIGURATION: Release
PLATFORM: x64
install:
- git submodule update --init --recursive
############################################################################
# Install a recent CMake
############################################################################
- set CMAKE_URL="https://cmake.org/files/v3.13/cmake-3.13.0-win64-x64.zip"
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
- 7z x cmake.zip -oC:\projects\deps > nul
- move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory
- set PATH=C:\projects\deps\cmake\bin;%PATH%
- cmake --version
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir Build && cd Build
- cmake .. -G "Visual Studio 14 2015 Win64"
- cmake --build . --target Kiwi --config %CONFIGURATION%
after_build:
- cd %APPVEYOR_BUILD_FOLDER%
- set PATH=%PATH%;"C:\Program Files (x86)\Inno Setup 5"
- ISCC Scripts\setup-x64.iss
- mkdir Kiwi
- copy %APPVEYOR_BUILD_FOLDER%\Kiwi-x64-setup.exe %APPVEYOR_BUILD_FOLDER%\Kiwi\Kiwi-x64-setup.exe
- 7z a Kiwi-windows-x64.zip %APPVEYOR_BUILD_FOLDER%\Kiwi
artifacts:
- path: '*.zip'
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: ZtKK8yOVkgIf+6Vm0jQLCbjCjuTiln3w2k/xMHI/kgardyCVtZ6plKI5O8lR3NNY
artifact: Kiwi-windows-x64.zip
draft: true
prerelease: false
on:
appveyor_repo_tag: true
notifications:
- provider: Email
on_build_status_changed: false