interplane.Get Omega
Read in your language

omega-gpu-bench

First-party Omega GPU kernel benchmark harness and receipts

Brought by drakestapleton

branch main Branches Tags History

omega-gpu-bench / .github / workflows / pages.yml

31 lines · 883 bytes Raw Blame History
1# pages: validate every receipt on main and publish the board to GitHub Pages.
2name: pages
3on:
4 push:
5 branches: [main]
6 workflow_dispatch:
7permissions:
8 contents: read
9 pages: write
10 id-token: write
11concurrency: {group: pages, cancel-in-progress: false}
12jobs:
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