File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Presubmit
22
33permissions :
44 contents : read
5+ pages : write
6+ id-token : write
57
68# Controls when the action will run.
79on :
1820 # prevent caching problems when updating the image.
1921 # container: khronosgroup/docker-images:asciidoctor-spec.20240702
2022 container : khronosgroup/docker-images@sha256:4aab96a03ef292439c9bd0f972adfa29cdf838d0909b1cb4ec2a6d7b2d14a37f
23+ environment :
24+ name : github-pages
25+ url : ${{ steps.deployment.outputs.page_url }}
2126
2227 steps :
2328 - uses : actions/checkout@v4
5863 - name : Generate reference pages
5964 run : |
6065 python3 makeSpec -spec khr OUTDIR=out.refpages -j -O manhtmlpages
66+
67+ - name : Build specs for deployment (HTML and PDF)
68+ run : |
69+ python3 makeSpec -clean -spec khr+ext OUTDIR=out.deploy -j api c env ext
70+
71+ - name : Upload artifacts
72+ uses : actions/upload-pages-artifact@v3
73+ with :
74+ path : out.deploy
75+ retention-days : " 1"
76+
77+ - name : Deploy to GitHub Pages
78+ id : deployment
79+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ THIS IS A PREVIEW SPECIFICATION BUILD TO REVIEW IN-FLIGHT CHANGES!
2+
3+ Published specifications may be found on the Khronos OpenCL Registry; see
4+ https://registry.khronos.org/OpenCL/.
5+
16Copyright 2008-2025 The Khronos Group Inc.
27
38This Specification is protected by copyright laws and contains material proprietary to Khronos.
You can’t perform that action at this time.
0 commit comments