This repository has been archived by the owner on May 6, 2024. It is now read-only.
V2023.10.0 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |