Skip to content

Commit 040c5c7

Browse files
committed
CI: use macos-15-intel
screen must be disabled here because the Core Graphics API for screen capture is being deprecated/removed in macOS 15. closes <#485>
1 parent e83a407 commit 040c5c7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/scripts/environment.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ case "$RUNNER_OS" in
104104
--enable-libbacktrace \
105105
--enable-syphon \
106106
"
107+
macos_major=$(sw_vers -productVersion | cut -d. -f1)
108+
if [ "$macos_major" -ge 15 ]; then
109+
FEATURES="$FEATURES --disable-screen"
110+
fi
107111
;;
108112
Windows)
109113
FEATURES="$FEATURES $CUDA_FEATURES --enable-dshow --enable-spout --enable-wasapi"

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
needs: prepare
137137
strategy:
138138
matrix:
139-
os: [macos-13, macos-14]
139+
os: [macos-15-intel, macos-14]
140140
fail-fast: false
141141
runs-on: ${{ matrix.os }}
142142
env:

0 commit comments

Comments
 (0)