File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 2525 - name : Install Python Dependencies
2626 run : python -m pip install --upgrade pip setuptools wheel pyyaml
2727
28+ - name : Install Doxygen
29+ run : sudo apt-get install doxygen graphviz
30+
2831 - name : Cache Dependencies
2932 id : cache-depends
3033 uses : actions/cache@v2
@@ -45,12 +48,20 @@ jobs:
4548 working-directory : protobuf-3.11.3
4649 run : sudo make install && sudo ldconfig
4750
51+ - name : Install proto2cpp
52+ run : git clone --depth 1 https://github.com/OpenSimulationInterface/proto2cpp.git
53+
4854 - name : Prepare C++ Build
4955 run : mkdir build
5056
57+ - name : Prepare Documentation Bukd
58+ run : |
59+ echo "EXCLUDE_PATTERNS = */osi3/* */protobuf-3.11.3/* */proto2cpp/*" >> doxygen_config.cmake.in
60+ echo "GENERATE_TREEVIEW = YES" >> doxygen_config.cmake.in
61+
5162 - name : Configure C++ Build
5263 working-directory : build
53- run : cmake ..
64+ run : cmake -D FILTER_PROTO2CPP_PY_PATH=$GITHUB_WORKSPACE/proto2cpp ..
5465
5566 - name : Build C++
5667 working-directory : build
6576 - name : Run Python Tests
6677 run : python -m unittest discover tests
6778
79+ - name : Archive Documentation
80+ uses : actions/upload-artifact@v2
81+ with :
82+ name : linux64-doc
83+ path : doc/html
84+ if-no-files-found : error
85+
You can’t perform that action at this time.
0 commit comments