mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-24 15:25:20 -07:00
Try matrix jobs not stages
This commit is contained in:
parent
2f4bcd3cd0
commit
e6d4d9d48a
1 changed files with 27 additions and 13 deletions
|
@ -20,17 +20,21 @@ 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: Backend
|
- job: Backend
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Linux:
|
||||||
|
osName: 'Linux'
|
||||||
|
imageName: 'ubuntu-16.04'
|
||||||
|
Mac:
|
||||||
|
osName: 'MacOS'
|
||||||
|
imageName: 'macos-10.13'
|
||||||
|
Windows:
|
||||||
|
osName: 'Windows'
|
||||||
|
imageName: 'vs2017-win2016'
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
steps:
|
steps:
|
||||||
|
@ -53,10 +57,20 @@ stages:
|
||||||
- bash: ./build.sh --only-backend
|
- bash: ./build.sh --only-backend
|
||||||
displayName: Build Lidarr Backend
|
displayName: Build Lidarr Backend
|
||||||
- publish: $(outputFolder)
|
- publish: $(outputFolder)
|
||||||
artifact: 'WindowsBackend'
|
artifact: '$(osName)Backend'
|
||||||
|
|
||||||
- job: Windows_Frontend
|
- job: Frontend
|
||||||
displayName: Windows Frontend
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Linux:
|
||||||
|
osName: 'Linux'
|
||||||
|
imageName: 'ubuntu-16.04'
|
||||||
|
Mac:
|
||||||
|
osName: 'MacOS'
|
||||||
|
imageName: 'macos-10.13'
|
||||||
|
Windows:
|
||||||
|
osName: 'Windows'
|
||||||
|
imageName: 'vs2017-win2016'
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
steps:
|
steps:
|
||||||
|
@ -69,7 +83,7 @@ stages:
|
||||||
- bash: ./build.sh --only-frontend
|
- bash: ./build.sh --only-frontend
|
||||||
displayName: Build Lidarr Frontend
|
displayName: Build Lidarr Frontend
|
||||||
- publish: $(outputFolder)
|
- publish: $(outputFolder)
|
||||||
artifact: 'WindowsFrontend'
|
artifact: '$(osName)Frontend'
|
||||||
|
|
||||||
# - job: macOS
|
# - job: macOS
|
||||||
# displayName: macOS
|
# displayName: macOS
|
||||||
|
@ -110,11 +124,11 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2017-win2016'
|
vmImage: 'vs2017-win2016'
|
||||||
steps:
|
steps:
|
||||||
|
- checkout: self
|
||||||
- download: current
|
- download: current
|
||||||
artifact: 'WindowsBackend'
|
artifact: 'WindowsBackend'
|
||||||
- download: current
|
- download: current
|
||||||
artifact: 'WindowsFrontend'
|
artifact: 'WindowsFrontend'
|
||||||
|
|
||||||
- bash: ./build.sh --only-packages
|
- bash: ./build.sh --only-packages
|
||||||
displayName: Create Lidarr Packages
|
displayName: Create Lidarr Packages
|
||||||
- task: PublishPipelineArtifact@0
|
- task: PublishPipelineArtifact@0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue