Files
marqdo-extension-conformance/.github/workflows/conformance.yml
T
2026-11-21 23:08:00 +08:00

38 lines
1.2 KiB
YAML

name: extension-conformance
on:
push:
pull_request:
workflow_dispatch:
jobs:
conformance:
# This repository does not build the Marqdo CLI. It consumes one frozen
# release binary supplied to the job as the absolute path in the
# `MARQDO_BIN` repository variable.
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; }
env:
MARQDO_BIN: ${{ vars.MARQDO_BIN }}
- name: Build native fixtures with cc
run: |
./plugin/build.sh
./provider/build.sh
- name: Run frozen-binary conformance suite
run: python3 tests/run_all.py
env:
MARQDO_BIN: ${{ vars.MARQDO_BIN }}
MARQDO_EXPECTED_SHA256: ${{ vars.MARQDO_EXPECTED_SHA256 }}
- name: Upload evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: extension-evidence
path: evidence/results.json