mirror of https://github.com/Jackett/Jackett
ci/cd: improve azure pipelines style (#8614)
This commit is contained in:
parent
45011259ef
commit
071e50f859
|
@ -1,13 +1,14 @@
|
|||
---
|
||||
name: $(majorVersion).$(minorVersion).$(patchVersion)
|
||||
variables:
|
||||
majorVersion: 0
|
||||
minorVersion: 16
|
||||
patchVersion: $[counter(variables['minorVersion'], 1)] #this will reset when we bump minor
|
||||
patchVersion: $[counter(variables['minorVersion'], 1)] # this will reset when we bump minor
|
||||
jackettVersion: $(majorVersion).$(minorVersion).$(patchVersion)
|
||||
buildConfiguration: Release
|
||||
netCoreFramework: netcoreapp3.1
|
||||
netCoreSdkVersion: 3.1.x
|
||||
system.debug: true
|
||||
# system.debug: true
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
@ -192,13 +193,14 @@ stages:
|
|||
jackett_launcher.sh
|
||||
targetFolder: $(Build.BinariesDirectory)/Jackett
|
||||
|
||||
#There is an issue with Mono 5.8 (fixed in Mono 5.12) where its expecting to use its own patched version of System.Net.Http.dll, instead of the version supplied in folder
|
||||
#https://github.com/dotnet/corefx/issues/19914
|
||||
#https://bugzilla.xamarin.com/show_bug.cgi?id=60315
|
||||
#The workaround is to delete System.Net.Http.dll and patch the .exe.config file
|
||||
#Mono on FreeBSD doesn't like the bundled System.Runtime.InteropServices.RuntimeInformation -> Delete it
|
||||
#https://github.com/dotnet/corefx/issues/23989
|
||||
#https://github.com/Jackett/Jackett/issues/3547
|
||||
# There is an issue with Mono 5.8 (fixed in Mono 5.12) where its expecting to use its own patched version of
|
||||
# System.Net.Http.dll, instead of the version supplied in folder
|
||||
# https://github.com/dotnet/corefx/issues/19914
|
||||
# https://bugzilla.xamarin.com/show_bug.cgi?id=60315
|
||||
# The workaround is to delete System.Net.Http.dll and patch the .exe.config file
|
||||
# Mono on FreeBSD doesn't like the bundled System.Runtime.InteropServices.RuntimeInformation -> Delete it
|
||||
# https://github.com/dotnet/corefx/issues/23989
|
||||
# https://github.com/Jackett/Jackett/issues/3547
|
||||
- task: PowerShell@2
|
||||
displayName: Patch Mono Build (Mono only)
|
||||
condition: and(succeeded(), startsWith(variables['buildDescription'], 'Mono'))
|
||||
|
@ -296,7 +298,6 @@ stages:
|
|||
dotnet-format --dry-run --check --verbosity diagnostic --folder ./src/Jackett.Tray
|
||||
dotnet-format --dry-run --check --verbosity diagnostic --folder ./src/Jackett.Updater
|
||||
|
||||
|
||||
- stage: UnitTestJackett
|
||||
displayName: Unit Tests
|
||||
dependsOn: CodeStyle
|
||||
|
@ -396,7 +397,6 @@ stages:
|
|||
codeCoverageTool: Cobertura
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/coverlet/reports/Cobertura.xml
|
||||
|
||||
|
||||
- stage: Integration
|
||||
displayName: Integration Tests
|
||||
dependsOn: BuildJackett
|
||||
|
@ -470,7 +470,6 @@ stages:
|
|||
projects: '**/*IntegrationTest*/*.csproj'
|
||||
testRunTitle: 'Integration - $(buildDescription) - $(Build.BuildId)'
|
||||
|
||||
|
||||
- stage: PublishGithub
|
||||
displayName: Publish to Github
|
||||
dependsOn:
|
||||
|
|
Loading…
Reference in New Issue