Download .github/workflows/update-ops-docs.yml from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/.github/workflows/update-ops-docs.yml
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github@9f63da05cd17e144eb118af61a784286378961ba/.github/workflows/update-ops-docs.yml
-
curl -L -o update-ops-docs.yml https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/.github/workflows/update-ops-docs.yml
1.47 kB
| name: Update Operations Documentation | |
| on: | |
| push: | |
| paths: | |
| - '.github/workflows/update-ops-docs.yml' | |
| - 'docs/ops.md' | |
| - 'docs/ops/**' | |
| - 'scripts/create_ops_docs.py' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/update-ops-docs.yml' | |
| - 'docs/ops.md' | |
| - 'docs/ops/**' | |
| - 'scripts/create_ops_docs.py' | |
| jobs: | |
| update-ops-docs: | |
| runs-on: [self-hosted, fast, ARM64] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Generate operations documentation to temporary file | |
| run: | | |
| mkdir -p /tmp/ops_check | |
| ./scripts/create_ops_docs.py /tmp/ops_check/ops.md | |
| - name: Check if docs/ops.md matches generated version | |
| run: | | |
| if ! diff -q docs/ops.md /tmp/ops_check/ops.md; then | |
| echo "Operations documentation (docs/ops.md) is not up to date with the backend CSV files." | |
| echo "To fix: run ./scripts/create_ops_docs.py and commit the updated docs/ops.md along with your changes" | |
| echo "Differences found:" | |
| diff docs/ops.md /tmp/ops_check/ops.md || true | |
| exit 1 | |
| fi | |
| echo "Operations documentation is up to date." | |