linux-build.yml 371 Bytes
Newer Older
Martin Finkel's avatar
Martin Finkel committed
1
steps:
2 3 4 5
- task: UseDotNet@2
  displayName: 'Use .NET Core SDK'
  inputs:
    packageType: sdk
6
    version: 3.1.300
7

8 9
- bash: |
   #!/bin/bash
Martin Finkel's avatar
Martin Finkel committed
10 11
   set -ex
   git apply buildsystem/linux.patch
12 13
  displayName: 'Update csproj for linux'
 
Martin Finkel's avatar
Martin Finkel committed
14 15 16
- task: DotNetCoreCLI@2
  displayName: 'dotnet build'
  inputs:
Martin Finkel's avatar
Martin Finkel committed
17
    projects: src/LibVLCSharp/LibVLCSharp.csproj
18
    arguments: '-c Release'