Skip to content

rename isBattle to context and fix associated logic #230

rename isBattle to context and fix associated logic

rename isBattle to context and fix associated logic #230

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 -fsSL https://raw.githubusercontent.com/PracticeROM/packages/HEAD/scripts/install-debian_amd64.sh)"
sudo apt-get install -y practicerom-dev ninja-build
pip install --break-system-packages -r requirements.txt
- name: Test build
run: |
python3 configure.py
ninja us jp
python3 configure.py --cppflags='-DPAYLOAD=0x1c84d30 -DDMA_COPY=0x8002973c -DEND=0x01ccd110' --ldflags='-Wl,--defsym,start=0x8004ad7c'
ninja 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/clang-format-action@v4.11.0
with:
clang-format-version: '16'
check-path: 'src'