2022-09-07 20:38:28 +00:00
|
|
|
name: asdf-firmware
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-09-08 02:28:19 +00:00
|
|
|
- asdf-release
|
|
|
|
- asdf-build-test
|
2022-09-07 20:38:28 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_firmware:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: apt-get install gcc-avr binutils-avr avr-libc
|
|
|
|
- run: snap install cmake
|
|
|
|
- run: pip install -U sphinx sphinx-rtd-theme sphinx-autodoc-typehints
|
|
|
|
- run: pip install -U sphinxcontrib-napoleon
|
|
|
|
- run: pip install -U toml build
|
|
|
|
- run: pip install pipenv
|
|
|
|
|
|
|
|
# Create the build directories, make all targets, and copy
|
|
|
|
# hex files to sphinx source directory for download links
|
|
|
|
- run: bash ./make-targets.sh -a -p -i -s
|
|
|
|
- run: mkdir public
|
|
|
|
- run: sphinx-build -b html docs/source public
|