summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-07-23 12:24:38 +0300
committerJan Ekström <jeebjp@gmail.com>2021-07-25 11:53:31 +0300
commit0c26551345ad56c7fc2129ec74376e53e919ff35 (patch)
tree641325b56240e139d58a0970d1dfbb5b2a1c5183
parent747b1520012e6035c1f6746e20480f76e8f83918 (diff)
downloadmpv-0c26551345ad56c7fc2129ec74376e53e919ff35.tar.bz2
mpv-0c26551345ad56c7fc2129ec74376e53e919ff35.tar.xz
github/workflows: add macOS CI
-rw-r--r--.github/workflows/build.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 306772c32e..01e1981ade 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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