name: extension-conformance on: push: pull_request: workflow_dispatch: jobs: conformance: # This repository never builds the Marqdo CLI. It consumes one frozen # release binary supplied as the absolute path in the repository variable # `MARQDO_BIN`. The release archive must also ship `marqdo-provider-worker` # next to that binary; otherwise the provider case reports UNSUPPORTED and # the suite fails its mandatory gate. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Require a frozen CLI (never built here) run: | set -eu test -n "${MARQDO_BIN:-}" || { echo "MARQDO_BIN is not configured"; exit 2; } test -x "$MARQDO_BIN" || { echo "MARQDO_BIN is not executable: $MARQDO_BIN"; exit 2; } python3 tests/verify_frozen_cli.py --hash env: MARQDO_BIN: ${{ vars.MARQDO_BIN }} - name: Build native fixtures with cc/rustc (host target only) run: ./scripts/build_all.sh - name: Run frozen-binary conformance suite run: python3 tests/run_all.py env: MARQDO_BIN: ${{ vars.MARQDO_BIN }} - name: Re-verify the frozen binary did not change run: python3 tests/verify_frozen_cli.py --expect "${{ vars.MARQDO_EXPECTED_SHA256 }}" env: MARQDO_BIN: ${{ vars.MARQDO_BIN }} - name: Upload evidence if: always() uses: actions/upload-artifact@v4 with: name: extension-evidence path: evidence/results.json