Add build support for macOS (x86_64) #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 6.0,gpl 5.1,lgpl 6.0,lgpl 5.1,gpl-shared,lgpl-shared,gpl-shared 6.0,gpl-shared 5.1,lgpl-shared 6.0,lgpl-shared 5.1] | |
quickbuild: [1] | |
include: | |
- target: win64 | |
variant: gpl | |
quickbuild: '' | |
- target: linux64 | |
variant: gpl | |
quickbuild: '' | |
- target: linuxarm64 | |
variant: gpl | |
quickbuild: '' | |
- target: macos | |
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/* |