2019-02-12 21:44:01 +00:00
|
|
|
---
|
2018-12-13 03:50:59 +00:00
|
|
|
kind: pipeline
|
2019-02-12 21:44:01 +00:00
|
|
|
name: build-debug
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
image: microsoft/dotnet:2-sdk
|
|
|
|
commands:
|
|
|
|
- dotnet publish "Jellyfin.Server" --configuration Debug --output "../ci/ci-debug"
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: build-release
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
image: microsoft/dotnet:2-sdk
|
|
|
|
commands:
|
|
|
|
- dotnet publish "Jellyfin.Server" --configuration Release --output "../ci/ci-release"
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: check-abi
|
2018-12-13 03:50:59 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
2018-12-13 23:40:01 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-02-10 19:57:31 +00:00
|
|
|
|
2019-01-05 21:38:53 +00:00
|
|
|
- name: build
|
|
|
|
image: microsoft/dotnet:2-sdk
|
2018-12-13 03:50:59 +00:00
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet publish "Jellyfin.Server" --configuration Release --output "../ci/ci-release"
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: clone-dotnet-compat
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- git clone --depth 1 https://github.com/EraYaN/dotnet-compatibility ci/dotnet-compatibility
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: build-dotnet-compat
|
|
|
|
image: microsoft/dotnet:2-sdk
|
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet publish "ci/dotnet-compatibility/CompatibilityCheckerCoreCLI" --configuration Release --output "../../ci-tools"
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: download-last-nuget-release-common
|
|
|
|
image: plugins/download
|
|
|
|
settings:
|
|
|
|
source: https://www.nuget.org/api/v2/package/Jellyfin.Common
|
2019-02-12 15:21:46 +00:00
|
|
|
destination: ci/Jellyfin.Common.nupkg
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: download-last-nuget-release-model
|
|
|
|
image: plugins/download
|
|
|
|
settings:
|
|
|
|
source: https://www.nuget.org/api/v2/package/Jellyfin.Model
|
2019-02-12 15:21:46 +00:00
|
|
|
destination: ci/Jellyfin.Model.nupkg
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: download-last-nuget-release-controller
|
|
|
|
image: plugins/download
|
|
|
|
settings:
|
|
|
|
source: https://www.nuget.org/api/v2/package/Jellyfin.Controller
|
2019-02-12 15:21:46 +00:00
|
|
|
destination: ci/Jellyfin.Controller.nupkg
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: download-last-nuget-release-naming
|
|
|
|
image: plugins/download
|
|
|
|
settings:
|
|
|
|
source: https://www.nuget.org/api/v2/package/Jellyfin.Naming
|
2019-02-12 15:21:46 +00:00
|
|
|
destination: ci/Jellyfin.Naming.nupkg
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: extract-downloaded-nuget-packages
|
|
|
|
image: garthk/unzip
|
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- unzip -j ci/Jellyfin.Common.nupkg "*.dll" -d ci/nuget-packages
|
|
|
|
- unzip -j ci/Jellyfin.Model.nupkg "*.dll" -d ci/nuget-packages
|
|
|
|
- unzip -j ci/Jellyfin.Controller.nupkg "*.dll" -d ci/nuget-packages
|
|
|
|
- unzip -j ci/Jellyfin.Naming.nupkg "*.dll" -d ci/nuget-packages
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: run-dotnet-compat-common
|
2019-02-12 15:21:46 +00:00
|
|
|
image: microsoft/dotnet:2-runtime
|
2019-02-10 20:04:39 +00:00
|
|
|
err_ignore: true
|
2019-02-10 19:57:31 +00:00
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet ci/ci-tools/CompatibilityCheckerCoreCLI.dll ci/nuget-packages/Jellyfin.Common.dll ci/ci-release/Jellyfin.Common.dll
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: run-dotnet-compat-model
|
2019-02-12 15:21:46 +00:00
|
|
|
image: microsoft/dotnet:2-runtime
|
2019-02-10 20:04:39 +00:00
|
|
|
err_ignore: true
|
2019-02-10 19:57:31 +00:00
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet ci/ci-tools/CompatibilityCheckerCoreCLI.dll ci/nuget-packages/Jellyfin.Model.dll ci/ci-release/Jellyfin.Model.dll
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: run-dotnet-compat-controller
|
2019-02-12 15:21:46 +00:00
|
|
|
image: microsoft/dotnet:2-runtime
|
2019-02-10 20:04:39 +00:00
|
|
|
err_ignore: true
|
2019-02-10 19:57:31 +00:00
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet ci/ci-tools/CompatibilityCheckerCoreCLI.dll ci/nuget-packages/Jellyfin.Controller.dll ci/ci-release/Jellyfin.Controller.dll
|
2019-02-10 19:57:31 +00:00
|
|
|
|
|
|
|
- name: run-dotnet-compat-naming
|
2019-02-12 15:21:46 +00:00
|
|
|
image: microsoft/dotnet:2-runtime
|
2019-02-10 20:04:39 +00:00
|
|
|
err_ignore: true
|
2019-02-10 19:57:31 +00:00
|
|
|
commands:
|
2019-02-12 15:21:46 +00:00
|
|
|
- dotnet ci/ci-tools/CompatibilityCheckerCoreCLI.dll ci/nuget-packages/Jellyfin.Naming.dll ci/ci-release/Jellyfin.Naming.dll
|