mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-25 13:05:16 +01:00
Add Doxygen CI job
This commit is contained in:
1 parent
290e43ff66
commit
63beea6043
1 file changed
+34
@@ -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
|
||||
Reference in new issue
Block a user