From 26c0c08b1c4fb302db55355bd49181c8740b7ee6 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 17 Aug 2026 15:19:39 +0200 Subject: refactor(ci) cleaning ci a little --- scripts/tests/formating_check.bash | 3 +++ scripts/tests/perft.bash | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 scripts/tests/formating_check.bash (limited to 'scripts/tests') diff --git a/scripts/tests/formating_check.bash b/scripts/tests/formating_check.bash new file mode 100755 index 0000000..932d82e --- /dev/null +++ b/scripts/tests/formating_check.bash @@ -0,0 +1,3 @@ +#!/usr/bin/sh + +find src -name '*.cpp' -o -name '*.hpp' | xargs clang-format --dry-run --Werror diff --git a/scripts/tests/perft.bash b/scripts/tests/perft.bash index 1338569..335f7de 100755 --- a/scripts/tests/perft.bash +++ b/scripts/tests/perft.bash @@ -40,13 +40,12 @@ configs=( "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -|3|97862" "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -|4|4085603" - # other positions + # even more cool ones "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1|1|14" "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1|2|191" "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1|3|2812" "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1|4|43238" - # even more cool ones "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1|1|6" "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1|2|264" "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1|3|9467" -- cgit v1.2.3