Skip to content

Merge pull request #141 from poncateam/fix_barycenter #89

Merge pull request #141 from poncateam/fix_barycenter

Merge pull request #141 from poncateam/fix_barycenter #89

Workflow file for this run

name: Deploy documentation to gh-pages
on:
push:
branches: [ master ]
jobs:
deploy-doc:
runs-on: ubuntu-20.04
steps:
- name: Prepare directories
run: |
mkdir -p src/
mkdir -p build/
- name: Checkout remote head
uses: actions/checkout@master
with:
path: src/
- name: Install packages
run : sudo apt-get install graphviz texlive-bibtex-extra
- name: Fetch recent doxygen (1.9.6)
run: |
curl https://www.doxygen.nl/files/doxygen-1.9.6.linux.bin.tar.gz -o doxygen-1.9.6.linux.bin.tar.gz
tar -xvzf doxygen-1.9.6.linux.bin.tar.gz
- name: Configure Doc
run: |
cd build/
cmake ../src/ -DCMAKE_EXECUTE_PROCESS_COMMAND_ECHO=STDOUT -DPONCA_CONFIGURE_EXAMPLES=OFF -DPONCA_CONFIGURE_TESTS=OFF -DDOXYGEN_EXECUTABLE=../doxygen-1.9.6/bin/doxygen
- name: Build doc
run: |
cd build/
cmake --build . --target ponca-doc
- name: Deploy Doc
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
publish_dir: 'build/doc/html'