* add pipeline

* rm mac and linux build

* rm build doc

* fix test

* update pieline

* update ci

* update

* update readme

* udpate runsetting
This commit is contained in:
Xiaoyun Zhang 2020-08-18 19:01:58 -07:00 коммит произвёл GitHub
Родитель 7379edbb45
Коммит 10f1fd7e15
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 59 добавлений и 8 удалений

Просмотреть файл

@ -34,7 +34,7 @@ Included items must then not match any entries in the exclude list to remain inc
</Include>
<Exclude>
<ModulePath>.*CPPUnitTestFramework.*</ModulePath>
<ModulePath>.*\.Tests.dll$</ModulePath>
<ModulePath>.*\.Test.dll$</ModulePath>
<ModulePath>.*\Coverlet.Collector.dll$</ModulePath>
<ModulePath>.*\Coverlet.Core.dll$</ModulePath>
</Exclude>

Просмотреть файл

@ -5,7 +5,7 @@
<_Artifact>$(MSBuildThisFileDirectory)artifacts\</_Artifact>
<BaseIntermediateOutputPath>$(_Artifact)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(_Artifact)bin\$(MSBuildProjectName)\</BaseOutputPath>
<PackageOutputPath>$(_Artifact)\Packages\$(Configuration)\Shipping\</PackageOutputPath>
<PackageOutputPath>$(_Artifact)Packages\$(Configuration)\Shipping\</PackageOutputPath>
<IsPackable>false</IsPackable>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)opensource.snk</AssemblyOriginatorKeyFile>
<RunSettingsFilePath>$(MSBuildThisFileDirectory)\CodeCoverage.runsettings</RunSettingsFilePath>
@ -30,11 +30,6 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup>
<UnstableMLNetVersion>0.17.0</UnstableMLNetVersion>
<StableMLNetVersion>1.5.0</StableMLNetVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Condition="'$(MSBuildProjectExtension)' == '.csproj'"
Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />

Просмотреть файл

@ -2,4 +2,6 @@
CSharp wrapping library for [AzCopy](https://github.com/Azure/azure-storage-azcopy)
Coming soon
[![Build Status](https://dev.azure.com/xiaoyuz0315/BigMiao/_apis/build/status/LittleLittleCloud.AzCopy.Net?branchName=refs%2Fpull%2F1%2Fmerge)](https://dev.azure.com/xiaoyuz0315/BigMiao/_build/latest?definitionId=2&branchName=refs%2Fpull%2F1%2Fmerge) ![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/xiaoyuz0315/BigMiao/2) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
### Coming soon

54
azure-pipelines/ci.yaml Normal file
Просмотреть файл

@ -0,0 +1,54 @@
trigger:
branches:
exclude:
- u/*
pr:
branches:
include:
- master
jobs:
- job: Build
strategy:
matrix:
Win-Release:
imageName: 'windows-latest'
_configuration: Release
pool:
vmImage: $(imageName)
steps:
- script: init.cmd
displayName: initialize
condition: succeeded()
- script: Build.cmd -Configuration $(_configuration) -Pack -BuildNumber $(BUILD.BUILDNUMBER) -BinaryLog
displayName: Build and Pack
condition: succeeded()
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: 'test'
nobuild: true
publishTestResults: true
arguments: '--collect "Code coverage" --settings "CodeCoverage.runsettings"'
projects: '**/*.Test.csproj'
condition: succeeded()
# Should always run
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\log\$(_configuration)'
ArtifactName: '$(_configuration) log folder'
publishLocation: Container
continueOnError: true
condition: failed()
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\Packages\$(_configuration)\'
ArtifactName: '$(_configuration) packages folder'
publishLocation: Container
displayName: Publish packages folder
continueOnError: true
condition: eq(variables['_configuration'], 'Release')