From: Emil Velikov Date: Tue, 3 Jun 2025 22:06:48 +0000 (+0100) Subject: ci: install and use bash across the board X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3bb0114394ebf1a81bbf4c3ca392a384d6634e9;p=thirdparty%2Fkmod.git ci: install and use bash across the board The upcoming CI rework will hard depend on some bash constructs. While theoretically possible to make them dash compliant, I'm not sure it's worth the effort. Just install bash and carry on. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/362 Signed-off-by: Lucas De Marchi --- diff --git a/.github/actions/setup-os/setup-debian.sh b/.github/actions/setup-os/setup-debian.sh index b8bf22e8..9e0349f1 100755 --- a/.github/actions/setup-os/setup-debian.sh +++ b/.github/actions/setup-os/setup-debian.sh @@ -17,6 +17,7 @@ fi apt-get update apt-get install --yes \ + bash \ build-essential \ clang \ gcc-multilib \ diff --git a/.github/actions/setup-os/setup-ubuntu.sh b/.github/actions/setup-os/setup-ubuntu.sh index fc1ba89d..1e98beb9 100755 --- a/.github/actions/setup-os/setup-ubuntu.sh +++ b/.github/actions/setup-os/setup-ubuntu.sh @@ -8,6 +8,7 @@ export DEBIAN_FRONTEND=noninteractive export TZ=Etc/UTC apt-get update apt-get install --yes \ + bash \ build-essential \ curl \ clang \ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8039685..cfec1107 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,10 @@ on: permissions: contents: read +defaults: + run: + shell: bash + jobs: build: env: