Skip to content

Commit

Permalink
attempt to create docs using sphinx in an action
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Nov 17, 2023
1 parent 3c8efe8 commit 795db20
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: CMake on multiple platforms

on:
push:
branches: [ "trunk", "develop" ]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre_build-command: "cmake -S . -B build -DBUILD_DOCUMENTATION=ON -DBUILD_TESTING=OFF"
build-command: "cmake --build build --target Sphinx-libmcfp"

0 comments on commit 795db20

Please sign in to comment.