From: Lucas De Marchi Date: Mon, 3 Aug 2026 20:52:21 +0000 (-0500) Subject: ci: Workaround alpine CI build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47999f7f4fcd75f9dc636822d79aedf9084accbb;p=thirdparty%2Fkmod.git ci: Workaround alpine CI build Alpine build is failing in CI apparently since the move to 7.1.x: error: objtool [signal.c:118]: init_signal_handler: sigaltstack failed: Out of memory make[4]: *** [/usr/src/linux-headers-7.1.5-0-stable/scripts/Makefile.build:289: mod-foo-a.o] Error 255 make[4]: *** Deleting file 'mod-foo-a.o' Workaround by passing -j1 when building the test modules. Signed-off-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/454 --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18e72723..6e4f3385 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,7 @@ jobs: - container: 'alpine:latest' meson_setup: '-Db_sanitize=none' only_bits: '64' + modules_makeflags: "-j1" - container: 'archlinux:multilib-devel' - container: 'debian:bookworm-slim' meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dmbedtls=disabled' @@ -160,10 +161,15 @@ jobs: - name: test run: | do_test() { + unset MAKEFLAGS + if [[ -n "${{ matrix.skip_test }}" && "${{ matrix.skip_test }}" == "$2" ]]; then echo "::notice::Skipping tests" return 0 fi + if [[ -n "${{ matrix.modules_makeflags }}" + export MAKEFLAGS="${{ matrix.modules_makeflags" }}" + fi meson test -C "$1" || meson test -C "$1" --verbose } source .github/functions.sh