This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Documentation change only: what to do if you don't know what a named … #166
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: style | |
on: | |
pull_request: | |
push: | |
jobs: | |
style: | |
name: style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: dependencies | |
run: | | |
sudo apt update | |
sudo apt install doxygen cmake python3 | |
# Install AStyle the hard way in order to get 3.4.10 | |
wget https://sourceforge.net/projects/astyle/files/astyle/astyle%203.4/astyle-3.4.10.tar.bz2/download -O astyle.tar.bz2 | |
tar -xf astyle.tar.bz2 | |
cd astyle-3.4.10 | |
mkdir as-gcc-exe | |
cd as-gcc-exe | |
cmake ../ | |
make | |
sudo make install | |
cd ../.. | |
rm -rf astyle-3.4.10 | |
- name: check | |
run: | | |
python3 astyle.py && UBX_WORKDIR="$(pwd)" doxygen |