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
|
2021-05-17 11:18:28 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2021-05-18 02:31:48 +00:00
|
|
|
- '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:
|
2022-07-06 15:00:37 +00:00
|
|
|
target: [win64,linux64,linuxarm64]
|
2022-08-18 08:23:25 +00:00
|
|
|
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: ''
|
2020-09-20 16:08:01 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-05-06 16:04:02 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-11-13 15:25:52 +00:00
|
|
|
- name: Install buildx
|
2022-05-06 16:04:02 +00:00
|
|
|
uses: docker/setup-buildx-action@v2
|
2021-11-13 15:25:52 +00:00
|
|
|
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 }}
|
2022-08-18 08:23:25 +00:00
|
|
|
env:
|
|
|
|
QUICKBUILD: ${{ matrix.quickbuild }}
|
2020-09-20 16:08:01 +00:00
|
|
|
- name: Build ffmpeg
|
|
|
|
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
|
|
|
- name: Upload artifacts
|
2022-05-06 16:04:02 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2020-09-20 16:08:01 +00:00
|
|
|
with:
|
|
|
|
name: ffmpeg
|
|
|
|
path: artifacts/*
|