forked from domoticz/domoticz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (42 loc) · 1.37 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
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
#init:
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#
#on_finish:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
before_build:
- ps: >-
nuget install Tools.InnoSetup
- cmd: >-
cd msbuild
appveyor DownloadFile https://cdn.rawgit.com/domoticz/win32-libraries/master/WindowsLibraries.7z
7z x WindowsLibraries.7z > NUL:
cd ..
build:
parallel: true # enable MSBuild parallel builds
project: msbuild\domoticz.sln # path to Visual Studio solution or project
verbosity: minimal
after_build:
- cmd: >-
cp appversion.h version_windows_x86.h
cp History.txt history_windows_x86.txt
Tools.InnoSetup.5.6.1\tools\ISCC msbuild\WindowsInstaller\DomoticzSetup.iss
msbuild msbuild\package.proj
artifacts:
- path: domoticz_windows_x86.zip
- path: version_windows_x86.h
- path: history_windows_x86.txt
- path: History.txt
test: off
deploy:
- provider: FTP
protocol: sftp
host: $(FTP_HOST)
username: $(FTP_USER)
password: $(FTP_PASSWORD)
folder: beta
on:
APPVEYOR_REPO_NAME: domoticz/domoticz
APPVEYOR_REPO_BRANCH: development