summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-02-24 19:14:23 +0100
committerder richter <der.richter@gmx.de>2024-02-24 20:04:16 +0100
commit0f36a098811ebf80dfd19dde7c522def5ea8bf5e (patch)
tree5d1fa52b5a46d47fe0a6f827c28879f304c0791c /.github
parent3390dce4264014d8c6d1aad2a7750086fc13144a (diff)
downloadmpv-0f36a098811ebf80dfd19dde7c522def5ea8bf5e.tar.bz2
mpv-0f36a098811ebf80dfd19dde7c522def5ea8bf5e.tar.xz
github/workflows: add macOS 14 arm runner with most recent xcode
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ca4506fd65..4ea558d96e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -97,11 +97,15 @@ jobs:
os:
- "macos-12"
- "macos-13"
+ - "macos-14"
include:
- os: "macos-12"
arch: "intel"
- os: "macos-13"
arch: "intel"
+ - os: "macos-14"
+ arch: "arm"
+ xcode: "Xcode_15.2"
steps:
- uses: actions/checkout@v4
@@ -110,6 +114,11 @@ jobs:
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print
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
run: |
brew update