FFmpeg-Builds/.github/workflows/pr.yml
BtbN 0e5f512f8a Add 6.0 to builds
Will probably drop 4.4 if this causes build times to be too crazy, or if
it exhausts the asset size limit.
2023-03-03 18:55:03 +01:00

51 lines
1.3 KiB
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: [lgpl,gpl 6.0,gpl 5.1,lgpl 6.0,lgpl 5.1,gpl-shared,lgpl-shared,gpl-shared 6.0,gpl-shared 5.1,lgpl-shared 6.0,lgpl-shared 5.1]
quickbuild: [1]
include:
- target: win64
variant: gpl
quickbuild: ''
- target: linux64
variant: gpl
quickbuild: ''
- target: linuxarm64
variant: gpl
quickbuild: ''
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 }}
env:
QUICKBUILD: ${{ matrix.quickbuild }}
- name: Build ffmpeg
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ffmpeg
path: artifacts/*