diff --git a/.github/workflows/distro_tests.yml b/.github/workflows/distro_tests.yml index f8a20e6b4..e18e71031 100644 --- a/.github/workflows/distro_tests.yml +++ b/.github/workflows/distro_tests.yml @@ -21,8 +21,17 @@ jobs: run: | if [ -f /etc/os-release ]; then . /etc/os-release - if [ "$ID" = "alpine" ]; then + if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ] || [ "$ID" = "kalilinux" ] || [ "$ID" = "parrotsec" ]; then + apt-get update + apt-get -y install curl + elif [ "$ID" = "alpine" ]; then apk add --no-cache bash gcc g++ musl-dev libffi-dev + elif [ "$ID" = "archlinux" ]; then + pacman -Syu --noconfirm curl + elif [ "$ID" = "fedora" ]; then + dnf install -y curl + elif [ "$ID" = "gentoo" ]; then + emerge --update --newuse curl fi fi