2020-11-04 00:48:01 +00:00
|
|
|
name: doc
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-06-03 15:43:41 +00:00
|
|
|
# Use Ubuntu 20.04 because doxygen 1.8.13 from Ubuntu 18.04 is broken.
|
2021-06-03 15:28:02 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2020-11-04 00:48:01 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Create Build Environment
|
|
|
|
run: |
|
2021-06-03 16:03:00 +00:00
|
|
|
sudo apt install doxygen python3-virtualenv python3-wheel
|
2020-11-07 17:12:54 +00:00
|
|
|
sudo npm install -g less clean-css
|
2020-11-04 00:48:01 +00:00
|
|
|
cmake -E make_directory ${{runner.workspace}}/build
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
working-directory: ${{runner.workspace}}/build
|
2020-11-07 16:09:01 +00:00
|
|
|
env:
|
|
|
|
KEY: ${{secrets.KEY}}
|
2020-11-07 15:20:51 +00:00
|
|
|
run: $GITHUB_WORKSPACE/support/build-docs.py
|