.gitlab-ci.yml 1.87 KB
Newer Older
Martin Finkel's avatar
Martin Finkel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
stages:
    - build

build-libvlcsharp:
    stage: build
    tags:
        - mac
        - xamarin
    script:
        - msbuild LibVLCSharp/LibVLCSharp.csproj /t:restore,clean,build /p:Configuration=Release
        
build-libvlcsharp-forms:
    stage: build
    tags:
        - mac
        - xamarin
    script:
        - msbuild LibVLCSharp.Forms/LibVLCSharp.Forms.csproj /t:restore,clean,build /p:Configuration=Release

build-libvlcsharp-samples:
  stage: build
  tags:
      - mac
      - xamarin
  script:
      - nuget restore LibVLCSharp.sln
      - msbuild Samples/LibVLCSharp.Android.Sample/LibVLCSharp.Android.Sample.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/LibVLCSharp.FSharp.Sample/LibVLCSharp.FSharp.Sample.fsproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/LibVLCSharp.Mac.Sample/LibVLCSharp.Mac.Sample.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/LibVLCSharp.NetCore.Sample/LibVLCSharp.NetCore.Sample.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/LibVLCSharp.iOS.Sample/LibVLCSharp.iOS.Sample.csproj /t:restore,clean,build /p:Configuration=Release
      
build-libvlcsharp-forms-samples:
  stage: build
  tags:
      - mac
      - xamarin
  script:
      - nuget restore LibVLCSharp.Forms.Sample.sln
      - msbuild Samples/Forms/LibVLCSharp.Forms.Sample/LibVLCSharp.Forms.Sample.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/Forms/LibVLCSharp.Forms.Sample.Android/LibVLCSharp.Forms.Sample.Android.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/Forms/LibVLCSharp.Forms.Sample.Mac/LibVLCSharp.Forms.Sample.Mac.csproj /t:restore,clean,build /p:Configuration=Release
      - msbuild Samples/Forms/LibVLCSharp.Forms.Sample.iOS/LibVLCSharp.Forms.Sample.iOS.csproj /t:restore,clean,build /p:Configuration=Release