CI: macos-12 runner is being sunset, switch to 13

See: https://github.com/actions/runner-images/issues/10721

closes: #15780

Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Philip H.
2024-10-02 19:21:52 +02:00
committed by Christian Brabandt
parent 6a89c94a9e
commit 5d64e28011

View File

@ -322,7 +322,7 @@ jobs:
fail-fast: false
matrix:
features: [tiny, normal, huge]
runner: [macos-12, macos-14]
runner: [macos-13, macos-14]
steps:
- name: Checkout repository from github
@ -334,14 +334,6 @@ jobs:
brew install lua libtool
echo "LUA_PREFIX=$(brew --prefix)" >> $GITHUB_ENV
- name: Install blackhole-2ch for macos-12
if: matrix.features == 'huge' && matrix.runner == 'macos-12'
run: |
# Install audio device for playing sound since some of macos-12 machines have no audio device installed.
if system_profiler -json SPAudioDataType | jq -er '.SPAudioDataType[]._items == []'; then
brew install blackhole-2ch
fi
- name: Grant microphone access for macos-14
if: matrix.features == 'huge' && matrix.runner == 'macos-14'
run: |