0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.1541: CI: sound dummy is disabled

Problem:    CI: sound dummy is disabled.
Solution:   Make sound dummy work again. (closes #12380)
This commit is contained in:
Philip H 2023-05-11 15:22:58 +01:00 committed by Bram Moolenaar
parent f9dc278946
commit e741f039cf
2 changed files with 17 additions and 12 deletions

View File

@ -174,18 +174,21 @@ jobs:
sudo usermod -a -G audio "${USER}" sudo usermod -a -G audio "${USER}"
sudo bash ci/setup-xvfb.sh sudo bash ci/setup-xvfb.sh
# FIXME: Temporarily disabled because of build errors - name: Set up snd-dummy
# - name: Set up snd-dummy if: (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags')))
# if: (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags'))) env:
# env: DEST_DIR: ${{ env.TMPDIR }}/linux-modules-extra-${{ env.LINUX_VERSION }}
# DEST_DIR: ${{ env.TMPDIR }}/linux-modules-extra-${{ env.LINUX_VERSION }} run: |
# run: | cd /lib/modules/${{ env.LINUX_VERSION }}
# cd /lib/modules/${{ env.LINUX_VERSION }} if [ sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }} 2>&1 | $(grep "Unable to locate package ") ]; then
# sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }} echo "Download of " linux-modules-extra-${{ env.LINUX_VERSION }} "failed continue anyway" exit 0
# sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}" else
# tar -cC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
# sudo depmod sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
# sudo modprobe snd-dummy tar -cvC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x
sudo depmod --verbose
sudo modprobe --verbose snd-dummy
fi
- name: Check autoconf - name: Check autoconf
if: contains(matrix.extra, 'unittests') if: contains(matrix.extra, 'unittests')

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1541,
/**/ /**/
1540, 1540,
/**/ /**/