1 Star 0 Fork 3

cheng53955/MineCase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
branches:
include:
- '*'
jobs:
- job: Linux
timeoutInMinutes: 0
pool:
vmImage: 'ubuntu-18.04'
variables:
buildConfiguration: 'Release'
steps:
- checkout: self
submodules: true
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: '5.0.100-preview.4.20258.7'
includePreviewVersions: true # Required for preview versions
- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: 'build'
projects: |
src/MineCase.sln
tests/MineCase.Tests.sln
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: 'test'
projects: 'tests/MineCase.Tests.sln'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: 'Publish'
inputs:
command: 'publish'
publishWebProjects: false
projects: |
src/MineCase.Server/MineCase.Server.csproj
src/MineCase.Gateway/MineCase.Gateway.csproj
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)
artifactName: MineCase
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/cheng53955/MineCase.git
git@gitee.com:cheng53955/MineCase.git
cheng53955
MineCase
MineCase
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385