diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5715d3afe..12bab27cc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,23 +180,20 @@ jobs: sudo usermod -a -G audio "${USER}" sudo bash ci/setup-xvfb.sh - - name: Check if linux-modules-extra is available - id: check-snd-dummy - if: (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags'))) - continue-on-error: true - run: | - sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }} - - name: Set up snd-dummy - if: steps.check-snd-dummy.outcome == 'success' && (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags'))) + if: (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags'))) env: DEST_DIR: ${{ env.TMPDIR }}/linux-modules-extra-${{ env.LINUX_VERSION }} + uses: tecolicom/actions-use-apt-tools@main + with: + tools: linux-modules-extra-${{ env.LINUX_VERSION }} + path: "${DEST_DIR}" + + - name: modprobe snd-dummy + if: (!(contains(matrix.extra, 'unittests') || contains(matrix.extra, 'vimtags'))) run: | - cd /lib/modules/${{ env.LINUX_VERSION }} - sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}" - tar -cvC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x sudo depmod --verbose - sudo modprobe --verbose snd-dummy + sudo modprobe --verbose snd-dummy - name: Check autoconf if: contains(matrix.extra, 'unittests') |