ci: documentation generation fixed after latest Conan breaking changes

This commit is contained in:
Mateusz Pusz
2022-06-06 19:57:17 +02:00
parent c713ae7a43
commit 955b6a7332

View File

@@ -25,16 +25,16 @@ name: Documentation
on: on:
push: push:
paths: paths:
- '.github/workflows/documentation.yml' - ".github/workflows/documentation.yml"
- 'docs/**' - "docs/**"
- 'src/**' - "src/**"
- 'example/**' - "example/**"
pull_request: pull_request:
paths: paths:
- '.github/workflows/documentation.yml' - ".github/workflows/documentation.yml"
- 'docs/**' - "docs/**"
- 'src/**' - "src/**"
- 'example/**' - "example/**"
env: env:
CC: gcc-10 CC: gcc-10
@@ -65,7 +65,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.8' python-version: "3.8"
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
pip install -Ur docs/requirements.txt pip install -Ur docs/requirements.txt
@@ -83,7 +83,7 @@ jobs:
- name: Configure CMake - name: Configure CMake
working-directory: build working-directory: build
run: | run: |
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
- name: Generate documentation - name: Generate documentation
working-directory: build working-directory: build
run: | run: |