1 Star 0 Fork 0

yanhuizhang / MissionPlanner

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
azure-pipelines.yml 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Oborne 提交于 2020-01-04 06:26 . compile
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
- refs/tags/beta
pool:
vmImage: 'windows-2019'
variables:
solution: '**/MissionPlanner.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
NUGET_PACKAGES: D:\a\1\s\packages
steps:
- script: date /t
displayName: Get the date
- script: dir /s
workingDirectory: $(Agent.BuildDirectory)
displayName: List contents of a folder
- task: Cache@2
inputs:
key: 'nuget | "$(Agent.OS)"'
restoreKeys: |
nuget | "$(Agent.OS)"
nuget
path: $(NUGET_PACKAGES)
displayName: Cache NuGet packages
- script: .nuget\nuget.exe update -self
workingDirectory: $(Build.Repository.LocalPath)
- script: .nuget\nuget.exe restore
workingDirectory: $(Build.Repository.LocalPath)
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- script: dir
workingDirectory: '$(Build.BinariesDirectory)'
displayName: List contents of a folder
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.Repository.LocalPath)/bin/Release/net461'
includeRootFolder: false
archiveFile: '$(Build.ArtifactStagingDirectory)/MissionPlanner.zip'
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'MissionPlanner'
targetPath: '$(Build.ArtifactStagingDirectory)/MissionPlanner.zip'
1
https://gitee.com/yanhuizhang/MissionPlanner.git
git@gitee.com:yanhuizhang/MissionPlanner.git
yanhuizhang
MissionPlanner
MissionPlanner
master

搜索帮助