diff options
-rwxr-xr-x | test-build-debian.sh | 10 | ||||
-rwxr-xr-x | test-build-fedora.sh | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test-build-debian.sh b/test-build-debian.sh new file mode 100755 index 00000000..56a65af3 --- /dev/null +++ b/test-build-debian.sh @@ -0,0 +1,10 @@ +podman run --rm -it debian:testing sh -c ' + apt update -y && + apt upgrade -y && + apt install --no-install-recommends build-essential autoconf automake autopoint gettext libssl-dev m4 bison flex git ca-certificates pkg-config -y && + git clone https://gitlab.com/fetchmail/fetchmail.git && + cd fetchmail && + autoreconf -svif && + ./configure -C && + make -sj20 check && + ./fetchmail -V' diff --git a/test-build-fedora.sh b/test-build-fedora.sh new file mode 100755 index 00000000..ecb5263a --- /dev/null +++ b/test-build-fedora.sh @@ -0,0 +1,10 @@ +#!/bin/sh +exec podman run --rm -it fedora:rawhide sh -c ' + dnf upgrade -y --refresh && + dnf install automake bison flex gcc gettext-devel git openssl-devel -y && + git clone https://gitlab.com/fetchmail/fetchmail.git && + cd fetchmail && + autoreconf -svif && + ./configure -C && + make -sj20 check && + ./fetchmail -V' |