forked from ArduPilot/MissionPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (43 loc) · 1.8 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
version: 1.0.{build}
image: Visual Studio 2019
configuration: Release
clone_folder: c:\MP\
build_script:
- cmd: >-
git config -f .gitmodules submodule.mono.shallow true
git submodule update --init --depth 2 --no-single-branch
dotnet --info
msbuild -v:m -restore /m -t:Build -p:Configuration=Release MissionPlanner.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
dir c:\mp\bin\Release\net461
cd bin\Release\net461
powershell -command "ls plugins -recurse | ForEach-Object { if (Test-Path ($_.fullname -replace '\\plugins\\','\') -PathType Leaf) { $_.fullname }} | ForEach-Object { del $_ }"
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
rem wix.exe ..\bin\release\net461\
rem "%wix%\bin\candle" installer.wxs -ext WiXNetFxExtension -ext WixDifxAppExtension -ext WixUIExtension.dll -ext WixUtilExtension -ext WixIisExtension
rem "%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