mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
e397edc826
Former-commit-id: dd958a3450
37 lines
698 B
YAML
37 lines
698 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@v3
|
|
|
|
- name: Prepare .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: '6.0.x'
|
|
|
|
- name: Prepare FFMpeg
|
|
uses: Iamshankhadeep/setup-ffmpeg@v1.2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
version: "4.4"
|
|
|
|
- name: Test with dotnet
|
|
run: dotnet test --logger GitHubActions
|