Update dependencies remove legacy code (#955) #927
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build the documentation | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up python | |
uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
- name: install dependencies | |
run: | | |
pip install ".[docs]" | |
sudo apt-get -y update | |
sudo apt-get -y install graphviz libclang1-11 libclang-cpp11 | |
- name: install doxygen from SF binary archives | |
env: | |
DOXYGEN_VERSION: 1.9.4 | |
run: | | |
mkdir doxygen-bin-arc && cd doxygen-bin-arc | |
curl -L https://sourceforge.net/projects/doxygen/files/rel-$DOXYGEN_VERSION/doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz > doxygen.tar.gz | |
gunzip doxygen.tar.gz | |
tar xf doxygen.tar | |
cd doxygen-$DOXYGEN_VERSION | |
sudo make install | |
- name: build the documentation | |
run: | | |
make html | |
rm documentation/build/html/.buildinfo | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: docs build artifacts | |
path: | | |
documentation/build/html | |
examples/*/*/xml |