FFmpeg-Builds/.github/workflows/pr.yml
nanake e99b3f7772 Ignore LICENSE file because NPOTB
Signed-off-by: nanake <nanake@users.noreply.github.com>
2021-05-18 15:39:22 +02:00

33 lines
797 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]
variant: [gpl,lgpl,gpl 4.4,lgpl 4.4,gpl-shared,lgpl-shared,gpl-shared 4.4,lgpl-shared 4.4]
steps:
- name: Checkout
uses: actions/checkout@v2
- 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@v2
with:
name: ffmpeg
path: artifacts/*