2020-09-20 16:08:01 +00:00
|
|
|
name: Test Full Build
|
2021-01-01 13:53:48 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
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:
|
|
|
|
name: Build ffmpeg
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
target: [win64]
|
2021-04-04 06:38:55 +00:00
|
|
|
variant: [gpl,lgpl,gpl 4.4,lgpl 4.4,gpl-shared,lgpl-shared,gpl-shared 4.4,lgpl-shared 4.4]
|
2020-09-20 16:08:01 +00:00
|
|
|
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/*
|