CI: test_sound fails on macos-12 (#14715) Commit: https://github.com/vim/vim/commit/c8330b8fff8e44c450a606ba91c1fec5f41478f7 Author: ichizok <gclient.g...@gmail.com> Date: Sat May 4 01:22:35 2024 +0900
CI: test_sound fails on macos-12 (https://github.com/vim/vim/issues/14715) Signed-off-by: ichizok <gclient.g...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0307b454b..74a6674c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -330,8 +330,16 @@ 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.runner == 'macos-14' + if: matrix.features == 'huge' && matrix.runner == 'macos-14' run: | # Temporary fix to fix microphone permission issues for macos-14 when playing sound. sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1s2vna-00DDL4-6z%40256bit.org.