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:
parent
747b152001
commit
0c26551345
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user