Skip to content

Commit e2395cb

Browse files
committed
fix document flow
1 parent 665f852 commit e2395cb

File tree

3 files changed

+12
-313
lines changed

3 files changed

+12
-313
lines changed

Diff for: .github/workflows/documentation.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ jobs:
2020
path: "**/cpm_modules"
2121
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
2222

23-
- name: Before Install
23+
- name: Add conda to system path
2424
run: |
25-
sudo apt-get install g++-10
26-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 90
25+
# $CONDA is an environment variable pointing to the root of the miniconda directory
26+
echo $CONDA/bin >> $GITHUB_PATH
2727
28-
- name: Install dependencies
29-
run: sudo apt-get install libboost-dev
28+
- name: Install dependent software
29+
run: |
30+
conda info
31+
conda env update --file doc-dev.yml --name base
3032
3133
- name: Install dependencies
3234
run: |
33-
sudo apt-get install doxygen
3435
pip3 install jinja2 Pygments
3536
3637
- name: Build

Diff for: doc-dev.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: projgeom-cpp
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- doxygen

0 commit comments

Comments
 (0)