Skip to content

Various Smaller Changes #198

Various Smaller Changes

Various Smaller Changes #198

Workflow file for this run

name: Code check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-check:
name: Build Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo sh -c '(curl https://practicerom.com/public/packages/debian/pgp.pub || wget -O - https://practicerom.com/public/packages/debian/pgp.pub) | apt-key add - && echo deb https://practicerom.com/public/packages/debian ./staging main >/etc/apt/sources.list.d/practicerom.list && apt update'
sudo apt install practicerom-dev ninja-build
pip install -r requirements.txt
- name: Test build
run: |
python3 configure.py
ninja -j16 us jp
python3 configure.py --cppflags='-DPAYLOAD=0x1c84d30 -DDMA_COPY=0x8002973c -DEND=0x01ccd110' --ldflags='-Wl,--defsym,start=0x8004ad7c'
ninja -j16 us_ldr jp_ldr
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clang-format style check
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: 'src'