Skip to content

Commit

Permalink
Add Doxygen CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Sep 12, 2024
1 parent 290e43f commit 63beea6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,37 @@ jobs:

- name: Tidy
run: cmake --build CSFML/build --target tidy

docs:
name: Documentation
runs-on: macos-14

steps:
- name: Install Doxygen
run: |
brew update
brew install doxygen ninja || true
- name: Checkout SFML
uses: actions/checkout@v4
with:
repository: SFML/SFML
ref: master
path: SFML

- name: Configure SFML
run: cmake -S SFML -B SFML/build -GNinja -DCMAKE_INSTALL_PREFIX=SFML/install

- name: Build SFML
run: cmake --build SFML/build --target install

- name: Checkout CSFML
uses: actions/checkout@v4
with:
path: CSFML

- name: Configure CSFML
run: cmake -S CSFML -B CSFML/build -GNinja -DSFML_ROOT=SFML/install -DCSFML_BUILD_DOC=ON -DCSFML_LINK_SFML_STATICALLY=ON

- name: Build Doxygen Site
run: cmake --build CSFML/build --target doc

0 comments on commit 63beea6

Please sign in to comment.