2019-02-19 03:16:17 +01:00
|
|
|
name: $(Date:yyyyMMdd)$(Rev:.r)
|
2019-02-18 23:47:31 +01:00
|
|
|
|
|
|
|
variables:
|
2020-04-12 19:20:37 +02:00
|
|
|
- name: TestProjects
|
2020-06-07 07:37:08 +02:00
|
|
|
value: 'tests/**/*Tests.csproj'
|
2020-04-12 19:20:37 +02:00
|
|
|
- name: RestoreBuildProjects
|
2020-06-07 07:37:08 +02:00
|
|
|
value: 'Jellyfin.Server/Jellyfin.Server.csproj'
|
2019-02-18 23:47:31 +01:00
|
|
|
|
2019-02-18 22:36:24 +01:00
|
|
|
pr:
|
2019-02-18 23:42:24 +01:00
|
|
|
autoCancel: true
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
batch: true
|
2020-09-02 22:42:00 +02:00
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
tags:
|
|
|
|
include:
|
|
|
|
- 'v*'
|
2019-02-18 22:26:40 +01:00
|
|
|
|
2019-02-18 23:24:39 +01:00
|
|
|
jobs:
|
2020-09-02 22:53:33 +02:00
|
|
|
- ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')) }}:
|
2020-01-13 16:22:52 +01:00
|
|
|
- template: azure-pipelines-main.yml
|
|
|
|
parameters:
|
2020-06-07 07:37:08 +02:00
|
|
|
LinuxImage: 'ubuntu-latest'
|
2020-01-13 16:22:52 +01:00
|
|
|
RestoreBuildProjects: $(RestoreBuildProjects)
|
|
|
|
|
2020-09-02 22:42:00 +02:00
|
|
|
- ${{ if not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))) }}:
|
2020-01-13 16:22:52 +01:00
|
|
|
- template: azure-pipelines-test.yml
|
|
|
|
parameters:
|
2020-01-15 11:27:38 +01:00
|
|
|
ImageNames:
|
2020-06-07 07:37:08 +02:00
|
|
|
Linux: 'ubuntu-latest'
|
|
|
|
Windows: 'windows-latest'
|
|
|
|
macOS: 'macos-latest'
|
2020-10-01 17:38:36 +02:00
|
|
|
|
|
|
|
- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
|
|
|
|
- template: azure-pipelines-test.yml
|
|
|
|
parameters:
|
|
|
|
ImageNames:
|
|
|
|
Linux: 'ubuntu-latest'
|
2020-01-13 16:22:52 +01:00
|
|
|
|
2020-09-02 22:42:00 +02:00
|
|
|
- ${{ if not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))) }}:
|
2020-06-07 07:37:08 +02:00
|
|
|
- template: azure-pipelines-abi.yml
|
2020-01-13 16:22:52 +01:00
|
|
|
parameters:
|
2020-01-15 11:27:38 +01:00
|
|
|
Packages:
|
2019-02-19 02:17:57 +01:00
|
|
|
Naming:
|
|
|
|
NugetPackageName: Jellyfin.Naming
|
2019-02-19 02:28:16 +01:00
|
|
|
AssemblyFileName: Emby.Naming.dll
|
2019-02-19 02:17:57 +01:00
|
|
|
Controller:
|
|
|
|
NugetPackageName: Jellyfin.Controller
|
2019-02-19 02:28:16 +01:00
|
|
|
AssemblyFileName: MediaBrowser.Controller.dll
|
2019-02-19 02:17:57 +01:00
|
|
|
Model:
|
|
|
|
NugetPackageName: Jellyfin.Model
|
2019-02-19 02:28:16 +01:00
|
|
|
AssemblyFileName: MediaBrowser.Model.dll
|
2019-02-19 02:17:57 +01:00
|
|
|
Common:
|
|
|
|
NugetPackageName: Jellyfin.Common
|
2019-02-19 02:28:16 +01:00
|
|
|
AssemblyFileName: MediaBrowser.Common.dll
|
2021-09-03 22:21:33 +02:00
|
|
|
Extensions:
|
|
|
|
NugetPackageName: Jellyfin.Extensions
|
|
|
|
AssemblyFileName: Jellyfin.Extensions.dll
|
2020-06-07 07:37:08 +02:00
|
|
|
LinuxImage: 'ubuntu-latest'
|
2020-06-19 22:25:11 +02:00
|
|
|
|
2020-09-02 22:42:00 +02:00
|
|
|
- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
|
2020-06-19 22:25:11 +02:00
|
|
|
- template: azure-pipelines-package.yml
|