From 5c52971f603d35aa689022eb0a0bc670ab6788e6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:58:13 +0100 Subject: ci: use shell script to deduplicate workflow (#21079) --- .github/scripts/install_deps_ubuntu.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .github/scripts/install_deps_ubuntu.sh (limited to '.github/scripts') diff --git a/.github/scripts/install_deps_ubuntu.sh b/.github/scripts/install_deps_ubuntu.sh new file mode 100755 index 0000000000..012409ba4a --- /dev/null +++ b/.github/scripts/install_deps_ubuntu.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +PACKAGES=( + autoconf + automake + build-essential + cmake + cpanminus + curl + gettext + libtool-bin + locales-all + ninja-build + pkg-config + unzip +) + +sudo apt-get update +sudo apt-get install -y "${PACKAGES[@]}" -- cgit