1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 12:42:04 +00:00

github/workflows: add macOS 14 arm runner with most recent xcode

This commit is contained in:
der richter 2024-02-24 19:14:23 +01:00
parent 3390dce426
commit 0f36a09881

View File

@ -97,11 +97,15 @@ jobs:
os: os:
- "macos-12" - "macos-12"
- "macos-13" - "macos-13"
- "macos-14"
include: include:
- os: "macos-12" - os: "macos-12"
arch: "intel" arch: "intel"
- os: "macos-13" - os: "macos-13"
arch: "intel" arch: "intel"
- os: "macos-14"
arch: "arm"
xcode: "Xcode_15.2"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -110,6 +114,11 @@ jobs:
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print
brew unlink python && brew link --overwrite python brew unlink python && brew link --overwrite python
- name: Change Xcode version
if: ${{ matrix.xcode != '' }}
run: |
sudo xcode-select -s /Applications/${{ matrix.xcode }}.app
- name: Install dependencies - name: Install dependencies
run: | run: |
brew update brew update