-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
72 lines (55 loc) · 1.69 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
66
67
68
69
70
71
version: v{build}
image:
- Visual Studio 2017
skip_tags: true
build:
verbosity: quiet
branches:
# blacklist
except:
- gh-pages
environment:
matrix:
- APPVEYOR_YML_DISABLE_PS_LINUX: true
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
CMAKE_CONFIG: Debug
build_script:
- cmd: cmake -E make_directory Win64
- cmd: cd Win64
- cmd: cmake "-G%CMAKE_GENERATOR%" -D CMAKE_BUILD_TYPE=%CMAKE_CONFIG% -D CMAKE_INSTALL_PREFIX=./install ../libcluon
- cmd: cmake --build .
- cmd: cd ..
- ps: $release = Get-Content C:\projects\libcluon\VERSION
test_script:
- cmd: cd Win64
- cmd: ctest -VV --output-on-failure -C "%CMAKE_CONFIG%"
# scripts to run after tests
after_test:
- cmd: set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
- cmd: cmake --build . --target install
- ps: Get-Content C:\projects\libcluon\buildtools\innosetup\setup.iss.template | Foreach-Object {$_ -replace "RELEASE", $release} | Set-Content C:\projects\libcluon\buildtools\innosetup\setup.iss
- cmd: ISCC.exe C:\projects\libcluon\buildtools\innosetup\setup.iss
artifacts:
- path: 'buildtools\innosetup\libcluon-*.exe'
deploy:
- provider: BinTray
on:
branch: master
username: chrberger
api_key:
secure: UMVlea7yObUN1uFkjHKSaqozIOYedVU0FAr4DDHlQoK4JXE9OQC1RCHJw7IS9S2z
subject: chrberger
repo: libcluon
package: libcluon-win64-debug
version: master2
publish: true
override: true
explode: true
notifications:
- provider: Slack
auth_token:
secure: Tt0Bj1T4fHiCygiv2GpvUumDR+XmqV14ginGuIOfDzYg6DutaZ4BLdgTMs0vsP79ojx4OWLO7DxejmkEVearHe7EtCrrGZivtRUOH8gEkTc=
channel: '#appveyor'
on_build_success: true
on_build_failure: true
on_build_status_changed: true