Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Update Github Action to use AStyle 3.4.10 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobMeades authored Dec 30, 2023
1 parent 1d97553 commit f379593
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ jobs:
- name: dependencies
run: |
sudo apt update
sudo apt install doxygen astyle python3
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
python3 astyle.py && UBX_WORKDIR="$(pwd)" doxygen

0 comments on commit f379593

Please sign in to comment.