katapult/scripts/test-build.sh
Eric Callahan fcb2f84553
test: add katapult test build workflow
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-05-22 10:20:11 -04:00

19 lines
426 B
Bash
Executable File

#!/bin/bash
# Katapult build test script. Based on Klipper's ci-build.sh script.
# Stop script early on any error
set -eu
for TARGET in test/configs/*.config ; do
echo "::group::=============== Katapult Build $TARGET"
set -x
make clean
make distclean
unset CC
cp ${TARGET} .config
make olddefconfig
make V=1
set +x
echo "=============== Finished $TARGET"
echo "::endgroup::"
done