Commit a7fb7106 authored by Martin Finkel's avatar Martin Finkel

Update azure-pipelines.yml

(cherry picked from commit 3c88a43556e91e593606fdf6eec75981dae99a52)
parent 5acac983
......@@ -4,55 +4,21 @@ trigger:
pr:
- master
pool:
name: Hosted VS2017
demands: msbuild
steps:
- task: gep13.chocolatey-azuredevops.chocolatey-azuredevops.ChocolateyCommand@0
displayName: 'Install GTK#'
inputs:
command: install
installPackageId: gtksharp
- task: MSBuild@1
displayName: 'Build LibVLCSharp'
inputs:
solution: LibVLCSharp/LibVLCSharp.csproj
msbuildArguments: '/t:restore,clean,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.WPF'
inputs:
solution: LibVLCSharp.WPF/LibVLCSharp.WPF.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.GTK'
inputs:
solution: LibVLCSharp.GTK/LibVLCSharp.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms'
inputs:
solution: LibVLCSharp.Forms/LibVLCSharp.Forms.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms.Platforms.WPF'
inputs:
solution: LibVLCSharp.Forms.Platforms.WPF/LibVLCSharp.Forms.Platforms.WPF.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms.Platforms.GTK'
inputs:
solution: LibVLCSharp.Forms.Platforms.GTK/LibVLCSharp.Forms.Platforms.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Tests'
inputs:
solution: LibVLCSharp.Tests/LibVLCSharp.Tests.csproj
msbuildArguments: '/t:restore,clean,build'
\ No newline at end of file
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: scripts/linux-build.yml
- job: macOS
pool:
vmImage: 'macOS-10.13'
steps:
- template: scripts/mac-build.yml
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- template: scripts/windows-build.yml
\ No newline at end of file
steps:
- task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
projects: LibVLCSharp/LibVLCSharp.csproj
arguments: '/p:NETSTANDARD_ONLY=true -c Release'
\ No newline at end of file
steps:
- task: DotNetCoreInstaller@0
displayName: 'Use .NET Core sdk 2.2.105'
inputs:
version: 2.2.105
- bash: |
SYMLINK=5.16.0
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
echo "##vso[task.setvariable variable=DYLD_FALLBACK_LIBRARY_PATH;]$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH"
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
mono --version
msbuild /version
dotnet --info
displayName: 'Update mono'
- task: MSBuild@1
displayName: 'Build LibVLCSharp'
inputs:
solution: LibVLCSharp/LibVLCSharp.csproj
msbuildArguments: '/t:restore,clean,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.GTK'
inputs:
solution: LibVLCSharp.GTK/LibVLCSharp.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms'
inputs:
solution: LibVLCSharp.Forms/LibVLCSharp.Forms.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms.Platforms.GTK'
inputs:
solution: LibVLCSharp.Forms.Platforms.GTK/LibVLCSharp.Forms.Platforms.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Tests'
inputs:
solution: LibVLCSharp.Tests/LibVLCSharp.Tests.csproj
msbuildArguments: '/t:restore,clean,build'
\ No newline at end of file
steps:
- task: gep13.chocolatey-azuredevops.chocolatey-azuredevops.ChocolateyCommand@0
displayName: 'Install GTK#'
inputs:
command: install
installPackageId: gtksharp
- task: MSBuild@1
displayName: 'Build LibVLCSharp'
inputs:
solution: LibVLCSharp/LibVLCSharp.csproj
msbuildArguments: '/t:restore,clean,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.WPF'
inputs:
solution: LibVLCSharp.WPF/LibVLCSharp.WPF.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.GTK'
inputs:
solution: LibVLCSharp.GTK/LibVLCSharp.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms'
inputs:
solution: LibVLCSharp.Forms/LibVLCSharp.Forms.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms.Platforms.WPF'
inputs:
solution: LibVLCSharp.Forms.Platforms.WPF/LibVLCSharp.Forms.Platforms.WPF.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Forms.Platforms.GTK'
inputs:
solution: LibVLCSharp.Forms.Platforms.GTK/LibVLCSharp.Forms.Platforms.GTK.csproj
msbuildArguments: '/t:restore,build'
- task: MSBuild@1
displayName: 'Build LibVLCSharp.Tests'
inputs:
solution: LibVLCSharp.Tests/LibVLCSharp.Tests.csproj
msbuildArguments: '/t:restore,clean,build'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment