]> git.ipfire.org Git - thirdparty/systemd.git/commit
ci: run the musl build & test under mkosi with a postmarketOS tools tree 42171/head
authorDaan De Meyer <daan@amutable.com>
Tue, 19 May 2026 10:36:01 +0000 (10:36 +0000)
committerDaan De Meyer <daan@amutable.com>
Wed, 20 May 2026 17:22:35 +0000 (17:22 +0000)
commitc7113f6b3cd9932ac2ddba507138bc9d7df49d4d
treea88c7d2016f68cf7fa410201bbd3fecff0096ac2
parent65f076f4b05fb47ec286925baf94a6fd37ed45c1
ci: run the musl build & test under mkosi with a postmarketOS tools tree

Drop the standalone Unit-tests (musl) workflow that ran on an Alpine sandbox
spun up by jirutka/setup-alpine, and merge it into unit-tests.yml as a new
build-musl job that provisions a postmarketOS tools tree via mkosi and runs
the meson build + test suite through 'mkosi box'. postmarketOS is musl-native,
so the musl-gcc / -idirafter /usr/include wrappers the Fedora tools tree
needed are gone; the linter.yml's own musl build step also goes away since
the unit-tests workflow now covers it (and tests it).

postmarketOS doesn't ship a downstream systemd packaging spec, so the new
tools tree config in mkosi.tools.conf/mkosi.conf.d/postmarketos.conf does not
set PrepareScripts and lists build deps manually. mkosi.sync now early-exits
when PKG_SUBDIR is unset so the missing pkgenv entry doesn't trip set -u.

Co-developed-by: Claude Opus 4.7 <noreply@anthropic.com>
.github/workflows/linter.yml
.github/workflows/unit-tests-musl.sh [deleted file]
.github/workflows/unit-tests-musl.yml [deleted file]
.github/workflows/unit-tests.yml
mkosi/mkosi.sync
mkosi/mkosi.tools.conf/mkosi.conf.d/postmarketos.conf [new file with mode: 0644]
tools/fetch-mkosi.py