diff options
author | Eric Wong <e@80x24.org> | 2023-09-13 09:12:41 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-14 10:06:24 +0000 |
commit | f051f5255c063d6e10637e6efc05876564e8e9be (patch) | |
tree | 85ed87a2e2814876effd36bd9932b934fcd65c10 /ci | |
parent | 8affa863b069186a367debcf695760a2df09d9ca (diff) | |
download | public-inbox-f051f5255c063d6e10637e6efc05876564e8e9be.tar.gz |
We'll leave forcing `--yes' to ci/run.sh and remove --purge usage with apt-get(1) entirely. Also start defining some more profiles aimed at users who want a minimal install for the subset of public-inbox they wish to use. There'll be some more built-in dependency handling to work across different distros, but the $always_deps thing is a start.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> +# Beware, this alters system-wide package installation. set -e SUDO=${SUDO-'sudo'} PERL=${PERL-'perl'} MAKE=${MAKE-'make'} DO=${DO-''} @@ -15,7 +16,7 @@ NPROC=${NPROC-$({ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN || $PERL -w ci/profiles.perl | while read args do - $DO $SUDO $PERL -w install/deps.perl --allow-remove $args + $DO $SUDO $PERL -w install/deps.perl -y --allow-remove $args $DO $PERL Makefile.PL $DO $MAKE -j${BUILD_JOBS-$NPROC} $DO $MAKE -j${TEST_JOBS-1} ${TEST_TARGET-test} |