Skip to content

Release 0.0.3

Release 0.0.3 #144

Workflow file for this run

name: Code Style Check
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
- master
- dev
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
astyle-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install AStyle
run: |
sudo apt-get update && sudo apt-get install -y lbzip2 build-essential cmake pkg-config libsdl2-dev || true
sudo apt-get install -f -y
wget https://sourceforge.net/projects/astyle/files/astyle/astyle%203.6/astyle-3.6.13.tar.bz2/download -O astyle.tar.bz2
tar -xf astyle.tar.bz2
cd astyle-3.6.13/
mkdir -p build
cd build
cmake ../
make
sudo make install
- name: Check code style
run: |
chmod +x ./scripts/format.sh
./scripts/format.sh