From 3d080091273bcef4153575ffaf6d4b4dba00a26e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 19 Mar 2023 16:16:08 +0100 Subject: Add test build scripts, which use podman. --- test-build-debian.sh | 10 ++++++++++ test-build-fedora.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100755 test-build-debian.sh create mode 100755 test-build-fedora.sh 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' -- cgit v1.2.3