mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-24 07:15:20 -07:00
Try adding a matrix
This commit is contained in:
parent
d2d634f641
commit
2f4bcd3cd0
1 changed files with 16 additions and 8 deletions
|
@ -20,11 +20,19 @@ variables:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Linux:
|
||||||
|
imageName: 'ubuntu-16.04'
|
||||||
|
Mac:
|
||||||
|
imageName: 'macos-10.13'
|
||||||
|
Windows:
|
||||||
|
imageName: 'vs2017-win2016'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Windows_Backend
|
- job: Backend
|
||||||
displayName: Windows Backend
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2017-win2016'
|
vmImage: $(imageName)
|
||||||
steps:
|
steps:
|
||||||
# Set the build name properly. The 'name' property won't recursively expand so hack here:
|
# Set the build name properly. The 'name' property won't recursively expand so hack here:
|
||||||
- powershell: Write-Host "##vso[build.updatebuildnumber]$($env:BUILDNAME)"
|
- powershell: Write-Host "##vso[build.updatebuildnumber]$($env:BUILDNAME)"
|
||||||
|
@ -35,7 +43,7 @@ stages:
|
||||||
displayName: Patch AssemblyInfo
|
displayName: Patch AssemblyInfo
|
||||||
inputs:
|
inputs:
|
||||||
Path: '$(Build.SourcesDirectory)'
|
Path: '$(Build.SourcesDirectory)'
|
||||||
FileNames: 'src\NzbDrone.Common\Properties\SharedAssemblyInfo.cs'
|
FileNames: 'src/NzbDrone.Common/Properties/SharedAssemblyInfo.cs'
|
||||||
InsertAttributes: false
|
InsertAttributes: false
|
||||||
FileEncoding: 'auto'
|
FileEncoding: 'auto'
|
||||||
WriteBOM: false
|
WriteBOM: false
|
||||||
|
@ -48,9 +56,9 @@ stages:
|
||||||
artifact: 'WindowsBackend'
|
artifact: 'WindowsBackend'
|
||||||
|
|
||||||
- job: Windows_Frontend
|
- job: Windows_Frontend
|
||||||
displayName: Windows Backend
|
displayName: Windows Frontend
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2017-win2016'
|
vmImage: $(imageName)
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
displayName: Set Node.js version
|
displayName: Set Node.js version
|
||||||
|
@ -162,7 +170,7 @@ stages:
|
||||||
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
||||||
|
|
||||||
- stage: Test
|
- stage: Test
|
||||||
dependsOn: Build
|
dependsOn: Package
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
jobs:
|
jobs:
|
||||||
- job: Linux_Unit_Tests
|
- job: Linux_Unit_Tests
|
||||||
|
@ -347,7 +355,7 @@ stages:
|
||||||
testRunTitle: 'macOS Unit Tests'
|
testRunTitle: 'macOS Unit Tests'
|
||||||
|
|
||||||
- stage: Coverage
|
- stage: Coverage
|
||||||
dependsOn: Build
|
dependsOn: Package
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
jobs:
|
jobs:
|
||||||
- job: Unit_Test_Coverage
|
- job: Unit_Test_Coverage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue