forked from domoticz/domoticz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (31 loc) · 971 Bytes
/
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
version: 1.0.{build}
os: Visual Studio 2015
before_build:
- ps: >-
nuget install Tools.InnoSetup
build_script:
- cd msbuild
- appveyor DownloadFile https://cdn.rawgit.com/domoticz/win32-libraries/master/WindowsLibraries.7z
- '7z x WindowsLibraries.7z > NUL:'
- cd ..
- msbuild msbuild\domoticz.sln /p:Configuration=Release /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ps: cp appversion.h version_windows_x86.h
- ps: cp History.txt history_windows_x86.txt
- Tools.InnoSetup.5.5.9\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: master