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 <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/454
- 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'
- 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