mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
build: documentation generation fixed again
This commit is contained in:
14
.github/workflows/conan-ci.yml
vendored
14
.github/workflows/conan-ci.yml
vendored
@@ -67,20 +67,26 @@ jobs:
|
|||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Install dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -Ur docs/requirements.txt
|
pip install -Ur docs/requirements.txt
|
||||||
- name: Install Conan
|
- name: Install Conan
|
||||||
run: |
|
run: |
|
||||||
pip install -U conan
|
pip install -U conan
|
||||||
|
- name: Configure Conan
|
||||||
|
run: |
|
||||||
conan config init
|
conan config init
|
||||||
- name: Generate
|
conan remote add upload ${{ secrets.CONAN_UPLOAD }}
|
||||||
|
conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan
|
||||||
|
- name: Install Conan dependencies
|
||||||
run: |
|
run: |
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
conan install .. -e CONAN_RUN_TESTS=True
|
conan install .. -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True
|
||||||
|
- name: Generate documentation
|
||||||
|
run: |
|
||||||
cmake ..
|
cmake ..
|
||||||
cmake --build . --target sphinx
|
cmake --build . --target sphinx
|
||||||
- name: Deploy
|
- name: Deploy documentation
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user