Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add building documentation #4215

Merged
merged 11 commits into from
Feb 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Documentation
on: [push, pull_request]

jobs:
Build_Doc:
runs-on: ubuntu-20.04
steps:
- name: Clone OpenVINO
uses: actions/checkout@v2
with:
submodules: recursive
lfs: true

- name: Install dependencies
run: |
sudo apt --assume-yes install libusb-1.0-0-dev graphviz texlive
python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt
azhogov marked this conversation as resolved.
Show resolved Hide resolved
python3 -m pip install lxml
# install doxygen
mkdir doxygen
cd doxygen
git clone https://github.com/doxygen/doxygen.git
cd doxygen
git checkout Release_1_9_1
mkdir build
cd build
cmake ..
cmake --build . -j`nproc`
sudo make install

- name: CMake doc
run: |
mkdir build
cd build
cmake -DENABLE_DOCS=ON ..

- name: Build doc
run: cmake --build . --target openvino_docs || exit 0
azhogov marked this conversation as resolved.
Show resolved Hide resolved
working-directory: build

- name: 'Upload doc'
uses: actions/upload-artifact@v2
with:
name: openvino_doc
path: build/docs/html/
4 changes: 2 additions & 2 deletions .github/workflows/files_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Files Size
on: [push, pull_request]

jobs:
Check-Files-Size:
Check_Files_Size:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand All @@ -14,4 +14,4 @@ jobs:
- name: git lfs ls-files
run: |
git lfs ls-files --size