Skip to content

Add --fileHeader option (#311) #119

Add --fileHeader option (#311)

Add --fileHeader option (#311) #119

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
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- 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@v4
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