ci: use shell script to deduplicate workflow (#21079)

This commit is contained in:
dundargoc
2022-12-05 11:58:13 +01:00
committed by GitHub
parent 9d8dbd9846
commit 5c52971f60
3 changed files with 25 additions and 29 deletions

19
.github/scripts/install_deps_ubuntu.sh vendored Executable file
View File

@@ -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[@]}"