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

Use VSBuild instead of dotnet build #1177

Merged
merged 8 commits into from
Feb 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,17 @@ stages:

- task: DotNetCoreCLI@2
inputs:
command: build
command: restore
projects: .\src\Humanizer.sln
arguments: -c $(BuildConfiguration)
displayName: Build
displayName: Restore

- task: NuGetToolInstaller@1
- task: VSBuild@1
inputs:
solution: .\src\Humanizer.sln
configuration: $(BuildConfiguration)

- task: NuGetToolInstaller@1

- pwsh: |
mkdir $(Build.ArtifactStagingDirectory)\Packages
Expand All @@ -72,7 +77,7 @@ stages:
inputs:
command: test
projects: .\src\Humanizer.Tests\Humanizer.Tests.csproj
arguments: -c $(BuildConfiguration) --collect:"XPlat code coverage" -s $(System.DefaultWorkingDirectory)/src/CodeCoverage.runsettings -- RunConfiguration.DisableAppDomain=true
arguments: -c $(BuildConfiguration) --no-build --collect:"XPlat code coverage" -s $(System.DefaultWorkingDirectory)/src/CodeCoverage.runsettings -- RunConfiguration.DisableAppDomain=true
displayName: Run Tests

- task: DotNetCoreCLI@2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Humanizer.Tests.Localisation.ku
[UseCulture("ku")]
public class TimeSpanHumanizeTests
{

[Theory]
[Trait("Translation", "Native speaker")]
[InlineData(366, "1 ساڵ")]
Expand Down
1 change: 1 addition & 0 deletions src/Humanizer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{97AAE24D
ProjectSection(SolutionItems) = preProject
..\azure-pipelines.yml = ..\azure-pipelines.yml
..\build.cmd = ..\build.cmd
..\build.ps1 = ..\build.ps1
Humanizer.ruleset = Humanizer.ruleset
EndProjectSection
EndProject
Expand Down