mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +02:00
ci: documentation generation fixed after latest Conan breaking changes
This commit is contained in:
20
.github/workflows/documentation.yml
vendored
20
.github/workflows/documentation.yml
vendored
@@ -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: |
|
||||||
|
Reference in New Issue
Block a user