47 lines (41 loc) · 965 Bytes
/
build-mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build - mac
on:
push:
branches:
- '**'
tags:
- 'v*'
paths-ignore:
- 'buildtools/docker/**'
- 'docs/**'
- '.vscode/**'
- '.devcontainer/**'
- '**.md'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
submodules: 'true'
- name: Install tools and dependencies
run: |
brew install tree bear automake meson yasm nasm
# already present: autoconf, go, openssl
- name: Build
run: |
buildtools/scripts/build.sh
tree build
- uses: actions/upload-artifact@v3
with:
name: ffmpeg-bin
path: build/bin/
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ffbuild-logs
path: ffmpeg/ffbuild/config.log
- name: Test
run: |
./tests/acceptance-test.sh