forked from ArduPilot/MissionPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (47 loc) · 1.94 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
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
clone_folder: c:\MP\
cache:
- packages -> appveyor.yml
build_script:
- cmd: >-
rem git submodule update --init --recursive
dotnet --info
c:\mp\.nuget\nuget.exe sources Add -Name "myget" -Source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
appveyor-retry c:\mp\.nuget\nuget.exe update -self
appveyor-retry c:\mp\.nuget\nuget.exe restore
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" MissionPlanner.sln /m /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
dir c:\mp\bin\Release\net461
cd bin\Release\net461
for /f %%f in ('dir /a-d /b plugins') do if exist .\%%f del .\plugins\%%f
copy version.txt c:\mp\
rem del gdal dlls /s /f /q
7z a -tzip ..\..\..\MissionPlannerBeta.zip *
cd ..
md5sum.exe net461 > checksums.txt
copy checksums.txt c:\mp\
cd c:\mp\
cd msi
wix.exe ..\bin\release\net461\
"%wix%\bin\candle" installer.wxs -ext WiXNetFxExtension -ext WixDifxAppExtension -ext WixUIExtension.dll -ext WixUtilExtension -ext WixIisExtension
"%wix%\bin\light" installer.wixobj "%wix%\bin\difxapp_x86.wixlib" -sval -o MissionPlanner-latest.msi -ext WiXNetFxExtension -ext WixDifxAppExtension -ext WixUIExtension.dll -ext WixUtilExtension -ext WixIisExtension
test: off
artifacts:
- path: MissionPlannerCov-int.zip
- path: MissionPlannerBeta.zip
- path: checksums.txt
- path: version.txt
- path: ChangeLog.txt
deploy: off
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/c7f1e74edef028cfa905
method: POST
on_build_success: true
on_build_failure: false
on_build_status_changed: false
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
on_build_status_changed: false