omega-gpu-bench
First-party Omega GPU kernel benchmark harness and receipts
Brought by drakestapleton
omega-gpu-bench / .github / workflows / pages.yml
| 1 | # pages: validate every receipt on main and publish the board to GitHub Pages. |
| 2 | name: pages |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | workflow_dispatch: |
| 7 | permissions: |
| 8 | contents: read |
| 9 | pages: write |
| 10 | id-token: write |
| 11 | concurrency: {group: pages, cancel-in-progress: false} |
| 12 | jobs: |
| 13 | build: |
| 14 | runs-on: ubuntu-24.04-arm |
| 15 | timeout-minutes: 10 |
| 16 | steps: |
| 17 | - uses: actions/checkout@v4 |
| 18 | with: {fetch-depth: 0} |
| 19 | - name: validate receipts |
| 20 | run: if ls receipts/*.json >/dev/null 2>&1; then python3 tools/validate.py receipts/*.json; fi |
| 21 | - name: build the board |
| 22 | run: python3 tools/board.py site |
| 23 | - uses: actions/upload-pages-artifact@v3 |
| 24 | with: {path: site} |
| 25 | deploy: |
| 26 | needs: build |
| 27 | runs-on: ubuntu-latest |
| 28 | environment: {name: github-pages, url: "${{ steps.d.outputs.page_url }}"} |
| 29 | steps: |
| 30 | - id: d |
| 31 | uses: actions/deploy-pages@v4 |