1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-04 22:22:16 +00:00

github/workflows: add macOS CI

This commit is contained in:
Jan Ekström 2021-07-23 12:24:38 +03:00
parent 747b152001
commit 0c26551345

View File

@ -39,3 +39,30 @@ jobs:
if: ${{ failure() }}
run: |
cat ./build/config.log
macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
cc:
- "clang"
os:
- "macos-10.15"
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew update
brew install autoconf automake pkg-config libtool python freetype fribidi little-cms2 luajit libass ffmpeg
- name: Build
run: |
./ci/build-macos.sh
env:
CC: "${{ matrix.cc }}"
TRAVIS_OS_NAME: "${{ matrix.os }}"
- name: Print configure log
if: ${{ failure() }}
run: |
cat ./build/config.log