28 lines
622 B
YAML
Raw Normal View History

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