annotate ci/load-snd-dummy.sh @ 31736:4fac5d2c5a3c v9.0.1200

patch 9.0.1200: AppVeyor builds with an old Python version Commit: https://github.com/vim/vim/commit/474f226582dcd8a4570fcb4d7d3e5a3b27279470 Author: Christopher Plewright <chris@createng.com> Date: Sun Jan 15 13:23:20 2023 +0000 patch 9.0.1200: AppVeyor builds with an old Python version Problem: AppVeyor builds with an old Python version. Solution: Switch from Python 3.8 to 3.11. (Christopher Plewright, closes #11814)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Jan 2023 14:30:04 +0100
parents 3a7017ee1161
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 #!/bin/bash
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 set -e
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 if ! modprobe snd-dummy; then
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 # snd-dummy is contained in linux-modules-extra (if exists)
21875
3a7017ee1161 patch 8.2.1487: Travis: installing snd-dummy is not always useful
Bram Moolenaar <Bram@vim.org>
parents: 19722
diff changeset
6 apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 modprobe snd-dummy
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 fi