-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roman Kozachenko
committed
Mar 2, 2019
1 parent
5f9e058
commit 9db5387
Showing
4 changed files
with
11 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,13 @@ | ||
jobs: | ||
- job: macOs | ||
pool: | ||
name: Hosted macOS | ||
steps: | ||
- template: .azure/build.yml | ||
|
||
- job: linux | ||
pool: | ||
name: Hosted Ubuntu 1604 | ||
steps: | ||
- template: .azure/build.yml | ||
|
||
- script: curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -channel 1.1 | ||
displayName: Installing .netcore 1.1 | ||
|
||
- template: .azure/tests.yml | ||
parameters: | ||
netcore1Global: false | ||
variables: | ||
sln: progaudi.tarantool.sln | ||
tests: tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj | ||
|
||
- job: win | ||
dependsOn: | ||
- macOs | ||
- linux | ||
pool: | ||
name: Hosted VS2017 | ||
steps: | ||
- template: .azure/build.yml | ||
resources: | ||
repositories: | ||
- repository: templates | ||
type: github | ||
name: progaudi/azure-pipelines | ||
endpoint: progaudi | ||
|
||
- task: PowerShell@2 | ||
displayName: pack nuget package | ||
inputs: | ||
targetType: inline | ||
script: | | ||
$version = $(git describe --tags | %{$_ -replace '-([^g])', '.$1'}) | ||
dotnet pack --no-build -v minimal -c Release /property:Version=$version /property:PackageOutputPath=$(Build.ArtifactStagingDirectory) | ||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
- task: NuGetCommand@2 | ||
displayName: push nuget packages | ||
inputs: | ||
command: push | ||
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg' | ||
nuGetFeedType: external | ||
publishFeedCredentials: api.nuget.org | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: nupkgs | ||
jobs: | ||
- template: library/nuget.yml@templates |