Commit Graph
8 Commits
Author SHA1 Message Date
retoor 5100a36421 fix: move cargo env sourcing into make step and fix build echo target name 2024-11-30 21:11:41 +00:00
retoor 04c1cf45cb fix: correct cargo environment source path in CI workflow
The CI workflow was sourcing the cargo binary directory ($HOME/.cargo/bin) instead of the environment setup script ($HOME/.cargo/env), which prevented proper initialization of Rust toolchain paths during build steps.
2024-11-30 20:32:18 +00:00
retoor d053dac468 fix: source cargo bin before checkout in build workflow to fix PATH 2024-11-30 20:30:48 +00:00
retoor bab72cd97e fix: source cargo environment before running make in build workflow 2024-11-30 20:28:30 +00:00
retoor ca71cc5177 ci: remove --profile minimal flag from rustup install in build workflow 2024-11-30 20:25:18 +00:00
retoor 9967ea9a6c feat: add rust toolchain installation and build step for risspam in CI
Add curl to apt install list and install Rust nightly via rustup in the CI workflow. Update Makefile all target to include build_risspam before run_risspam, ensuring the Rust-based risspam binary is compiled before execution.
2024-11-30 20:10:24 +00:00
retoor 857be54db5 chore: remove valgrind target from build workflow and simplify CI step 2024-11-30 20:04:32 +00:00
retoor bbe721b620 feat: add initial project structure with spam detection tool and supporting libraries
Add the complete source tree for the isspam spam detection utility, including the main C implementation (isspam.c), custom memory allocator (rmalloc.h), string builder (rstr.h), dynamic string list (rstring_list.h), build configuration (Makefile, .clang-format), CI workflow (.gitea/workflows/build.yaml), and sample test data (spam/examole_spam3.txt, not_spam/correct1.txt). The core logic defines a list of forbidden words and provides functions for tokenizing input, removing preserved characters, and checking content against the spam keyword set.
2024-11-28 17:39:34 +00:00