diff options
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0307b45..1110665 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -270,6 +270,9 @@ jobs: do_test() { sg audio "sg $(id -gn) '$*'"; } do_test make ${SHADOWOPT} ${TEST} + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + - name: Vim tags if: contains(matrix.extra, 'vimtags') run: | @@ -330,8 +333,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);" @@ -388,6 +399,9 @@ jobs: run: | make ${TEST} + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + windows: runs-on: windows-2022 @@ -683,6 +697,9 @@ jobs: nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\vim || exit 1 ) + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + - name: Generate gcov files if: matrix.coverage shell: msys2 {0} |