Skip to content

Commit

Permalink
Add workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
korran committed Mar 3, 2023
1 parent 20da69f commit f1e3c5e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/doc-gen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

name: Build and Test

on:
workflow_dispatch:
pull_request:

jobs:
build_and_test:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Install peakrd-uvm
run: |
python3 -m pip install \
peakrdl-uvm==2.2.0 \
peakrdl-regblock==0.10.0 \
peakrdl-html==2.9.0 \
peakrdl-ipxact==3.3.0
- name: Generate docs
run: |
echo ############# Running script
tools/scripts/reg_doc_gen.sh
- name: Stage documents
mkdir -p /tmp/pages-docs
cp -R src/integration/docs/caliptra_reg_html /tmp/pages-docs/internal-regs
cp -R src/soc_ifc/docs/caliptra_top_reg_html /tmp/pages-docs/external-regs
find /tmp/pages-docs

# - name: Generate GitHub Pages artifacts
# uses: actions/upload-pages-artifact@v1
# with:
# path:

0 comments on commit f1e3c5e

Please sign in to comment.