aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2023-03-19 16:16:08 +0100
committerMatthias Andree <matthias.andree@gmx.de>2023-03-19 16:16:08 +0100
commit3d080091273bcef4153575ffaf6d4b4dba00a26e (patch)
tree7e6392609c6798cac8920c6e2164a974657c6fa7
parentdfce9d8ab45cdf21b1d2a5e3cf18cfb98d617d91 (diff)
downloadfetchmail-3d080091273bcef4153575ffaf6d4b4dba00a26e.tar.gz
fetchmail-3d080091273bcef4153575ffaf6d4b4dba00a26e.tar.bz2
fetchmail-3d080091273bcef4153575ffaf6d4b4dba00a26e.zip
Add test build scripts, which use podman.
-rwxr-xr-xtest-build-debian.sh10
-rwxr-xr-xtest-build-fedora.sh10
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'