From 2e937cade3bdf871f3dd532b2168eadb0cfa5b4f Mon Sep 17 00:00:00 2001 From: Ludovic Date: Fri, 31 Jul 2026 22:55:27 +0200 Subject: [PATCH] ci(uci): add uci compliance action bench 440287 --- .github/workflows/uci-compliance.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/uci-compliance.yml diff --git a/.github/workflows/uci-compliance.yml b/.github/workflows/uci-compliance.yml new file mode 100644 index 0000000..90dd111 --- /dev/null +++ b/.github/workflows/uci-compliance.yml @@ -0,0 +1,35 @@ +name: UCI Compliance Check + +on: + push: + branches: [ "main", "dev", "rewrite" ] + pull_request: + branches: [ "*" ] + +jobs: + test-uci: + runs-on: ubuntu-latest + + steps: + - name: Checkout Engine Code + uses: actions/checkout@v3 + + - name: Build Engine + run: | + # Replace this with your actual build command (e.g., make, cmake, cargo build) + make EXE=pluto + + - name: Download Fastchess + run: | + # Download the latest Linux x86-64 tar archive + wget https://github.com/Disservin/fastchess/releases/latest/download/fastchess-linux-x86-64.tar + + # Extract the archive + tar -xvf fastchess-linux-x86-64.tar + + # Ensure the extracted binary (usually named 'fastchess') is executable + chmod +x fastchess-linux-x86-64/fastchess + + - name: Run UCI Compliance Test + run: | + ./fastchess-linux-x86-64/fastchess --compliance ./pluto