Skip to content

Commit

Permalink
build docs on prs
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Nov 19, 2024
1 parent 75d0d55 commit 98fdb3b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-docs-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docs

on: [pull_request]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: |
pip install --upgrade pip setuptools
pip install .[dev]
- name: Generate Docs
env:
BUILD_DOCS: true
run: |
mkdir cmake_build_debug
cd cmake_build_debug
cmake ..
cmake --build . --target docs
shell: bash
2 changes: 0 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
workflow_dispatch:


jobs:
docs:
Expand Down

0 comments on commit 98fdb3b

Please sign in to comment.