代码拉取完成,页面将自动刷新
version: 1.0.{build}
image: Visual Studio 2019
configuration: Release
clone_folder: c:\MP\
cache:
- packages -> appveyor.yml
- C:\Users\appveyor\.nuget\packages -> appveyor.yml
build_script:
- cmd: >-
git config -f .gitmodules submodule.mono.shallow true
git submodule update --init --depth 2 --no-single-branch
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 MissionPlanner.sln
msbuild -v:m -restore /m -t:Build -p:Configuration=Release MissionPlanner.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
rem 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
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。