1 Star 0 Fork 14

自用测试/WTM

forked from Murphy/WTM 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cd-master.yml 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
Vito 提交于 2019-09-03 17:47 +08:00 . ci: modify all azure pipelines
# .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
# disabgle ci trigger
trigger: none
# disabgle pr trigger
pr: none
jobs:
- job: Linux
pool:
vmImage: "ubuntu-latest"
variables:
projs: "src/**/*.csproj"
buildPlatform: "Any CPU"
buildConfiguration: "Release"
steps:
- task: DotNetCoreInstaller@1
displayName: install
inputs:
version: "2.2.300"
- task: DotNetCoreCLI@2
displayName: restore
inputs:
command: "restore"
projects: "$(projs)"
feedsToUse: config
nugetConfigPath: NuGet.Config
arguments: "--configuration $(buildConfiguration)"
- task: DotNetCoreCLI@2
displayName: build
inputs:
command: "build"
projects: "$(projs)"
arguments: "--configuration $(buildConfiguration)"
- task: DotNetCoreCLI@2
displayName: test
inputs:
command: "test"
testRunTitle: "test"
arguments: '--configuration $(buildConfiguration) --collect "Code coverage"'
- task: DotNetCoreCLI@2
inputs:
command: "pack"
packagesToPack: "$(projs)"
versioningScheme: "off"
- task: NuGetCommand@2
inputs:
command: "push"
packagesToPush: "$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg"
nuGetFeedType: "external"
publishFeedCredentials: "nuget-org"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/self_testing/WTM.git
[email protected]:self_testing/WTM.git
self_testing
WTM
WTM
master

搜索帮助