Skip to content

conf py added

conf py added #16

Workflow file for this run

name: CMake
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build_essential
run: sudo apt-get install build-essential
# install dependencies
- name: metis
run: sudo apt-get install libmetis-dev
- name: boost
run: sudo apt-get update && sudo apt-get install -yq libboost-all-dev
# build project
- name: mkdir
run: mkdir build
- name: cmake build
run: cmake -Bbuild -H.
- name: cmake make
run: cmake --build build/ --target all
documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
#- name: Generate Doxygen documentation
# uses: mattnotmitt/[email protected]
# with:
# working-directory: '.'
# doxyfile-path: 'Documentation'
- name: Process the Doxygen output using Sphinx
uses: ammaraskar/sphinx-action@master
with:
build-command: "sphinx-build -b html . sphinx"
docs-folder: 'Documentation/'
- name: Deploy to Github pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/sphinx