criu/scripts/ci
Radostin Stoyanov bcda01319e
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-07-21 13:40:18 +02:00
..
riscv64-cross ci: add workflow for riscv64 2025-03-21 12:40:31 -07:00
asan.sh ci: stop testing ubuntu overlayfs 2023-10-22 13:29:25 -07:00
ci-after-success.sh CI: rename 'travis' to 'ci' 2020-11-08 14:04:12 -08:00
docker-test.sh ci: also exclude docker version 29 2026-07-21 13:40:17 +02:00
docker.env ci: Re-enable zdtm/static/binfmt_misc 2026-07-21 13:40:18 +02:00
java-test.sh ci: use package-manager dependency install scripts 2025-11-02 07:48:23 -08:00
loongarch64-qemu-test.sh ci: use package-manager dependency install scripts 2025-11-02 07:48:23 -08:00
Makefile ci: use clean state before self-contained check 2026-07-21 13:40:18 +02:00
podman-test.sh ci/podman: show mounts 2024-09-11 16:02:11 -07:00
prepare-for-fedora-rawhide.sh Use command -v instead of which 2025-11-05 15:41:34 -08:00
run-ci-tests.sh ci/java: update base image from focal to jammy 2025-11-02 07:48:24 -08:00
vagrant.sh Remove travis-ci leftovers 2025-11-02 07:48:23 -08:00