From 3d65b98a97225dbd4c126431d0da07f2d7b3e45d Mon Sep 17 00:00:00 2001 From: Alec Muffett Date: Thu, 4 Jun 2026 19:43:30 +0400 Subject: [PATCH] ci(coin-matrix): gate on src/c2pool/main_.cpp entrypoint The presence check keyed on src/impl//main_.cpp, but the per-coin entrypoint actually lives at src/c2pool/main_.cpp (the convention documented in the file header comment). The btc binary entrypoint is src/c2pool/main_btc.cpp with no src/impl/btc/main_btc.cpp, so the btc matrix job silently skipped as a false green. Gate now matches the real entrypoint path while retaining the src/impl// directory presence check. --- .github/workflows/coin-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coin-matrix.yml b/.github/workflows/coin-matrix.yml index d56942164..8dcb3c944 100644 --- a/.github/workflows/coin-matrix.yml +++ b/.github/workflows/coin-matrix.yml @@ -31,7 +31,7 @@ jobs: - name: Check source presence id: presence run: | - if [ -f "src/impl/${{ matrix.coin }}/main_${{ matrix.coin }}.cpp" ] && [ -d "src/impl/${{ matrix.coin }}" ]; then + if [ -f "src/c2pool/main_${{ matrix.coin }}.cpp" ] && [ -d "src/impl/${{ matrix.coin }}" ]; then echo "exists=1" >> "$GITHUB_OUTPUT" echo "::notice::c2pool-${{ matrix.coin }} source present — building." else