* Update all dependencies and deal with warning/errors * Add updated AsyncEnumerable implementation * Fix broken target * Cleanup * Remove obsolete message * typo * Update azure pipelines * Update samples to .NET Core 3.0 * Pull out test change * Install the .net core 3 SDK on the ubuntu image for the time being * Target net core 3 for the unit tests because pipelines
48 lines
962 B
YAML
48 lines
962 B
YAML
variables:
|
|
buildConfiguration: Release
|
|
buildTag: $[ startsWith(variables['Build.SourceBranch'], 'refs/tags') ]
|
|
buildNumber: $[ variables['Build.BuildNumber'] ]
|
|
|
|
trigger:
|
|
tags:
|
|
include:
|
|
- '*'
|
|
branches:
|
|
include:
|
|
- '*'
|
|
|
|
jobs:
|
|
- job: Linux
|
|
pool:
|
|
vmImage: 'ubuntu-16.04'
|
|
steps:
|
|
- task: UseDotNet@2
|
|
displayName: 'Use .NET Core sdk'
|
|
inputs:
|
|
packageType: 'sdk'
|
|
version: '3.x'
|
|
- template: azure/build.yml
|
|
|
|
- job: Windows_build
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
condition: ne(variables['Build.SourceBranch'], 'refs/heads/dev')
|
|
steps:
|
|
- template: azure/build.yml
|
|
|
|
- job: Windows_deploy
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
condition: |
|
|
and (
|
|
succeeded(),
|
|
or (
|
|
eq(variables['Build.SourceBranch'], 'refs/heads/dev'),
|
|
eq(variables['buildTag'], True)
|
|
)
|
|
)
|
|
steps:
|
|
- template: azure/build.yml
|
|
- template: azure/deploy.yml
|
|
- template: azure/docs.yml
|