FFmpeg-Builds/.github/workflows/pr.yml
2022-07-06 17:03:11 +02:00

38 lines
1,008 B
YAML

name: Test Full Build
on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'
- 'LICENSE'
env:
DOCKER_BUILDKIT: 1
jobs:
build:
name: Test Full Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [win64,linux64,linuxarm64]
variant: [gpl,lgpl,gpl 4.4,gpl 5.0,lgpl 4.4,lgpl 5.0,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.0,lgpl-shared 4.4,lgpl-shared 5.0]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install buildx
uses: docker/setup-buildx-action@v2
with:
config: .github/buildkit.toml
driver: docker
- name: Build Image
run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Build ffmpeg
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ffmpeg
path: artifacts/*