Skip to content

Commit

Permalink
Update action to build and upload C++ API docs, with graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed May 28, 2024
1 parent e77428e commit ef973d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/code_layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,22 @@ jobs:
tar -xzf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
python -m pip install --upgrade pip
pip install autopep8 nose2 mock termcolor
- name: install graphviz
run: |
sudo apt install -y graphviz
- name: Make
run: |
mkdir build
cd build
cmake -DUSE_CCACHE=OFF -DWITH_CORE=OFF -DWITH_APIDOC=ON -DWITH_ASTYLE=ON -DENABLE_TESTS=ON \
-DWITH_DOT=NO -DWERROR=ON -DDOXYGEN_EXECUTABLE=../doxygen-${DOXYGEN_VERSION}/bin/doxygen ..
-DWITH_DOT=YES -DWERROR=ON -DDOXYGEN_EXECUTABLE=../doxygen-${DOXYGEN_VERSION}/bin/doxygen ..
make -j3 apidoc
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: apidoc_build
path: /home/runner/work/QGIS/QGIS/build/doc/api/html
retention-days: 15
- name: Run Tests
run: cd build && ctest -V -R PyQgsDocCoverage

Expand Down

0 comments on commit ef973d6

Please sign in to comment.