|
|
@ -33,6 +33,13 @@ jobs:
|
|
|
|
packageType: sdk
|
|
|
|
packageType: sdk
|
|
|
|
version: ${{ parameters.DotNetSdkVersion }}
|
|
|
|
version: ${{ parameters.DotNetSdkVersion }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
|
|
|
|
displayName: 'Install ABI CompatibilityChecker tool'
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
command: custom
|
|
|
|
|
|
|
|
custom: tool
|
|
|
|
|
|
|
|
arguments: 'update compatibilitychecker -g'
|
|
|
|
|
|
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
|
|
displayName: "Download New Assembly Build Artifact"
|
|
|
|
displayName: "Download New Assembly Build Artifact"
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
@ -72,15 +79,6 @@ jobs:
|
|
|
|
overWrite: true
|
|
|
|
overWrite: true
|
|
|
|
flattenFolders: true
|
|
|
|
flattenFolders: true
|
|
|
|
|
|
|
|
|
|
|
|
- task: DownloadGitHubRelease@0
|
|
|
|
|
|
|
|
displayName: "Download ABI Compatibility Check Tool"
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
connection: Jellyfin Release Download
|
|
|
|
|
|
|
|
userRepository: EraYaN/dotnet-compatibility
|
|
|
|
|
|
|
|
defaultVersionType: "latest"
|
|
|
|
|
|
|
|
itemPattern: "**-ci.zip"
|
|
|
|
|
|
|
|
downloadPath: "$(System.ArtifactsDirectory)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- task: ExtractFiles@1
|
|
|
|
- task: ExtractFiles@1
|
|
|
|
displayName: "Extract ABI Compatibility Check Tool"
|
|
|
|
displayName: "Extract ABI Compatibility Check Tool"
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
@ -89,8 +87,10 @@ jobs:
|
|
|
|
cleanDestinationFolder: true
|
|
|
|
cleanDestinationFolder: true
|
|
|
|
|
|
|
|
|
|
|
|
# The `--warnings-only` switch will swallow the return code and not emit any errors.
|
|
|
|
# The `--warnings-only` switch will swallow the return code and not emit any errors.
|
|
|
|
- task: CmdLine@2
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
displayName: "Execute ABI Compatibility Check Tool"
|
|
|
|
displayName: 'Execute ABI Compatibility Check Tool'
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
|
script: "dotnet tools/CompatibilityCheckerCLI.dll current-release/$(AssemblyFileName) new-release/$(AssemblyFileName) --azure-pipelines --warnings-only"
|
|
|
|
command: custom
|
|
|
|
|
|
|
|
custom: compat
|
|
|
|
|
|
|
|
arguments: 'current-release/$(AssemblyFileName) new-release/$(AssemblyFileName) --azure-pipelines --warnings-only'
|
|
|
|
workingDirectory: $(System.ArtifactsDirectory)
|
|
|
|
workingDirectory: $(System.ArtifactsDirectory)
|
|
|
|