about summary refs log tree commit homepage
path: root/ci/run.sh
DateCommit message (Collapse)
2023-09-20drop GNU nproc(1) support in favor of getconf(1)
`getconf NPROCESSORS_ONLN' will succeed on GNU/Linux systems anyways; and the non-underscore-prefixed invocation works fine on all BSD flavors tested. Thus the `nproc' and `gnproc' attempts will never be reached. The only downside is we lose the ability to account for CPU affinity, but that's probably not an issue since CPU affinity (AFAIK) isn't a commonly-used feature.
2023-09-20ci/run: favor `make check' as the default target
While parallelism isn't always a good thing, `make check' has more verbose output to help us track down occasionally failing tests.
2023-09-14install/deps: safer defaults for regular users
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.
2023-09-14move deps.perl into new install/ directory
deps.perl can be useful for non-CI purposes as long as it's not blindly removing packages. Thus, a --allow-remove flag now exists for CI use and removals are disabled by default. deps.perl also gets easier-to-use in that now install/os.perl is split off from from ci/profiles.perl so OS-supplied packaged manager.
2023-09-09ci/profiles: rewrite in Perl
Reading os-release(5) is a bit more painful, now; and still requires using the shell. However, sharing code between *BSDs and being able to use v-strings for version comparisons is much easier. Test profiles for *BSDs are also trimmed down and more focused on portability stuff.
2023-09-09ci/run.sh: parameterize BUILD_JOBS TEST_JOBS and TEST_TARGET
Parallezing BUILD_JOBS is usually harmless, but TEST_JOBS can be problematic when tracking down problems on new platforms. TEST_TARGET can be `check' or `check-run' for performance.
2021-01-01update copyrights for 2021
Using "make update-copyrights" after setting GNULIB_PATH in my config.mak
2020-02-06treewide: run update-copyrights from gnulib for 2019
I didn't wait until September to do it, this year!
2019-05-09ci: include some scripts to make CI easier
This should make it easier to test a bunch of package installation profiles across whatever OS isolation one chooses (chroots, containers, jails, VMs).