FFmpeg-Builds/.github/workflows/pr.yml

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 4.4,gpl 5.1,lgpl 4.4,lgpl 5.1,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.1,lgpl-shared 4.4,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/*