Skip to content

update to clang-format v14; update pre-commit hooks #90

update to clang-format v14; update pre-commit hooks

update to clang-format v14; update pre-commit hooks #90

Workflow file for this run

name: Docs
on:
pull_request:
types: [opened, reopened]
paths:
- "src/CirquePinnacle.h"
- "docs/**"
- "examples/**/*.ino"
- "examples/**/*.cpp"
- ".github/workflows/build_docs.yml"
push:
paths:
- "src/CirquePinnacle.h"
- "docs/**"
- "examples/**/*.ino"
- "examples/**/*.cpp"
- ".github/workflows/build_docs.yml"
release:
types: [published, edited]
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/checkout@v3
- name: Install sphinx deps
run: python -m pip install -r docs/requirements.txt
- name: build docs with Sphinx
working-directory: docs
run: sphinx-build . _build/html
- name: Save sphinx docs as artifact
uses: actions/upload-artifact@v3
with:
name: Cirque_Pinnacle_docs
path: ${{ github.workspace }}/docs/_build/html