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

39 lines
997 B
YAML
Raw Normal View History

2020-09-20 16:08:01 +00:00
name: Test Full Build
on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'
- 'LICENSE'
2020-09-20 16:08:01 +00:00
2021-04-05 16:46:32 +00:00
env:
DOCKER_BUILDKIT: 1
2020-09-20 16:08:01 +00:00
jobs:
build:
2021-05-17 14:58:57 +00:00
name: Test Full Build
2020-09-20 16:08:01 +00:00
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
2021-05-13 01:41:32 +00:00
target: [win64,linux64]
2022-01-14 19:44:21 +00:00
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]
2020-09-20 16:08:01 +00:00
steps:
- name: Checkout
uses: actions/checkout@v2
2021-11-13 15:25:52 +00:00
- name: Install buildx
uses: docker/setup-buildx-action@v1
with:
config: .github/buildkit.toml
2021-12-06 18:29:52 +00:00
driver: docker
2020-09-20 16:08:01 +00:00
- 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/*