Skip to content

Update README.md

Update README.md #106

Workflow file for this run

name: main
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Install FFmpeg - linux
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install ffmpeg -y
- name: Build
run: |
dotnet build -c Release
- name: Test
run: |
dotnet test -c Release
- uses: actions/upload-artifact@v2
if: matrix.os == 'windows-latest'
with:
path: FFmpeg.AutoGen/bin/Release/*.nupkg
if-no-files-found: error
- name: Codegen Build & Test
if: matrix.os == 'windows-latest'
run: |
dotnet run -c Release -p FFmpeg.AutoGen.CppSharpUnsafeGenerator -- --input FFmpeg --namespace FFmpeg.AutoGen
dotnet build FFmpeg.AutoGen