Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Windows support

Windows support #18

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: CI
permissions:
id-token: write
contents: read
jobs:
mpvsharp:
name: "Build Nickvision.MPVSharp"
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '7.0.x' ]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore Nickvision.MPVSharp/Nickvision.MPVSharp.csproj
- name: Build
run: dotnet build Nickvision.MPVSharp/Nickvision.MPVSharp.csproj --configuration Release --no-restore
simple:
name: "Build Example/Simple"
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '7.0.x' ]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore Examples/Simple/Simple.csproj
- name: Build
run: dotnet build Examples/Simple/Simple.csproj --configuration Release --no-restore