2020-02-16 10:46:30 +01:00
|
|
|
name: CI
|
2020-10-27 12:08:18 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-12-07 17:51:25 +01:00
|
|
|
branches:
|
|
|
|
- master
|
2020-10-27 12:08:18 +01:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2020-02-16 10:46:30 +01:00
|
|
|
jobs:
|
2020-02-21 17:57:25 +01:00
|
|
|
ci:
|
2020-12-06 00:59:51 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-12-06 01:03:13 +01:00
|
|
|
os: [windows-latest, ubuntu-latest]
|
2020-12-07 22:07:41 +01:00
|
|
|
timeout-minutes: 6
|
2020-02-16 10:46:30 +01:00
|
|
|
steps:
|
2020-12-06 00:53:11 +01:00
|
|
|
- name: Checkout
|
2021-05-15 11:50:34 +02:00
|
|
|
uses: actions/checkout@v2
|
2020-12-07 18:07:23 +01:00
|
|
|
- name: Prepare .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
2022-03-24 21:19:27 +01:00
|
|
|
dotnet-version: '6.0.x'
|
2020-02-16 11:13:21 +01:00
|
|
|
- name: Prepare FFMpeg
|
2021-05-15 11:50:34 +02:00
|
|
|
uses: FedericoCarboni/setup-ffmpeg@v1
|
2020-02-16 10:46:30 +01:00
|
|
|
- name: Test with dotnet
|
2020-10-25 17:25:46 +01:00
|
|
|
run: dotnet test --logger GitHubActions
|