Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up CI with Azure Pipelines #31

Merged
merged 28 commits into from Jul 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
af12e44
Set up CI with Azure Pipelines
azure-pipelines[bot] Dec 28, 2018
31d0f48
Update azure-pipelines.yml for Azure Pipelines
azure-pipelines[bot] Dec 28, 2018
dfd2d11
Update azure-pipelines.yml for Azure Pipelines
azure-pipelines[bot] Dec 28, 2018
20a13a1
Update azure-pipelines.yml for Azure Pipelines
azure-pipelines[bot] Dec 28, 2018
7a10071
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
e1f0e39
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
1e9ba50
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
0cb3d92
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
8cf647e
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
0f16c36
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
a503601
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
889dca2
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
bc72c79
Update azure-pipelines.yml for Azure Pipelines
bijington Jun 22, 2019
8c62e0e
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
a9005ee
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
99b2f7a
Merge remote-tracking branch 'origin/master' into azure-pipelines
bijington Jul 16, 2019
b961fa6
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
91cf6d0
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
63b1dc4
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
f3c030c
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
8ce8196
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
6604975
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
d428d1d
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 16, 2019
9660617
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 17, 2019
6dfd511
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 17, 2019
a4c8583
Update azure-pipelines.yml for Azure Pipelines
bijington Jul 18, 2019
41f28cb
Merge branch 'azure-pipelines' of github.com:bijington/expressive int…
bijington Jul 18, 2019
627f387
Updated the code coverage batch script to point to VS 2019
bijington Jul 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/CSharp/Expressive/coverage.bat
Expand Up @@ -22,7 +22,7 @@ if %errorlevel% equ 0 (
exit /b %errorlevel%

:RunOpenCoverUnitTestMetrics
.\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\mstest.exe" -register:user -targetargs:"/testcontainer:\"Expressive.Tests\bin\Debug\Expressive.Tests.dll\" /resultsfile:\".\GeneratedReports\results.trx\"" -filter:"+[Expressive*]* -[Expressive.Tests]*" -mergebyhash -skipautoprops -output:".\GeneratedReports\Expressive.xml"
.\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\mstest.exe" -register:user -targetargs:"/testcontainer:\"Expressive.Tests\bin\Debug\Expressive.Tests.dll\" /resultsfile:\".\GeneratedReports\results.trx\"" -filter:"+[Expressive*]* -[Expressive.Tests]*" -mergebyhash -skipautoprops -output:".\GeneratedReports\Expressive.xml"

exit /b %errorlevel%

Expand Down
53 changes: 53 additions & 0 deletions azure-pipelines.yml
@@ -0,0 +1,53 @@
# 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:
- master

pool:
vmImage: 'vs2017-win2016'

steps:
- task: NuGetCommand@2
displayName: "NuGet Restore"
inputs:
command: 'restore'
restoreSolution: '**/*.sln'
feedsToUse: 'select'

- task: PowerShell@2
displayName: "NET Standard Build"
inputs:
targetType: 'inline'
script: |
dotnet build .\Source\CSharp\Expressive\Expressive.Standard\Expressive.Standard.csproj -c release

- task: MSBuild@1
displayName: "NET 4.0 Build"
inputs:
solution: '**\Expressive.csproj'
configuration: 'Release'

# - task: BatchScript@1
# displayName: "Code coverage"
# inputs:
# filename: '.\Source\CSharp\Expressive\coverage.bat'

# - task: VSTest@2
# displayName: "Unit testing"
# inputs:
# testSelector: 'testAssemblies'
# testAssemblyVer2: |
# **\Expressive.Tests.dll
# **\Expressive.Tests.Standard.dll
# !**\*TestAdapter.dll
# !**\obj\**
# searchFolder: '$(System.DefaultWorkingDirectory)'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '.\Source\CSharp\Expressive\bin'
ArtifactName: 'drop'
publishLocation: 'Container'