Skip to content

Add build support for macOS (arm64) #13

Add build support for macOS (arm64)

Add build support for macOS (arm64) #13

Workflow file for this run

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: ''
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/*