FFMpegCore/.github/workflows/ci.yml
Malte Rosenbjerg 46eddd3748 Update ci.yml
2023-01-28 11:08:55 +01:00

37 lines
727 B
YAML

name: CI
on:
pull_request:
branches:
- master
- release
paths:
- .github/workflows/ci.yml
- FFMpegCore/**
- FFMpegCore.Test/**
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
timeout-minutes: 6
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
dotnet-version: '6.0.x'
- name: Prepare FFMpeg
uses: FedericoCarboni/setup-ffmpeg@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test with dotnet
run: dotnet test --logger GitHubActions