criu/scripts
Radostin Stoyanov 5e1531888d ci: use clean state before self-contained check
The check-commit target verifies that each commit builds successfully
on its own. However, without cleaning previously generated build artifacts
(e.g. auto-generated `*.o` files) this can cause the check to fail:

make[2]: *** No rule to make target 'compel/include/uapi/compel/asm/breakpoints.h', needed by 'compel/arch/x86/src/lib/infect.o'.  Stop.
make[1]: *** [Makefile.compel:35: compel/libcompel.a] Error 2

To fix this, we add 'git clean -dfx' to remove all untracked and ignored
files before attempting the build.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-03-09 10:29:42 +00:00
..
build ci/java: update base image from focal to jammy 2025-11-02 07:48:24 -08:00
ci ci: use clean state before self-contained check 2026-03-09 10:29:42 +00:00
nmk Use command -v instead of which 2025-11-05 15:41:34 -08:00
criu-ns criu-ns: fix lint error 2024-09-11 16:02:11 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak scripts: rseq: fix detection of rseq_cpu_id_state 2026-03-03 11:49:59 -08:00
fetch-clang-format.sh clang-format: disable column limit constraint 2023-10-22 13:29:25 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
github-indent-warnings.py lint: don't fail workflow on indent fail 2023-10-22 13:29:25 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py make: remove checks for python 2 binary 2023-10-22 13:29:25 -07:00
protobuf-gen.sh scripts/protobuf-gen.sh: fix (not ignore) shellcheck warnings 2023-04-15 21:17:21 -07:00
ruff.toml make: replace flake8 with ruff 2024-09-11 16:02:11 -07:00
systemd-autofs-restart.sh Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00
uninstall_module.py scripts/uninstall_module: import signal module 2025-03-21 12:40:31 -07:00