bonk #9
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm | |
env: | |
GAME_VERSION: EMERALD | |
GAME_REVISION: 0 | |
GAME_LANGUAGE: ENGLISH | |
MODERN: 0 | |
COMPARE: 0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Checkout agbcc | |
uses: actions/checkout@v2 | |
with: | |
path: agbcc | |
repository: pret/agbcc | |
- name: Install binutils | |
run: sudo apt install -y build-essentials libelf-dev | |
# build-essential, git, and libpng-dev are already installed | |
# gcc-arm-none-eabi is only needed for the modern build | |
# as an alternative to dkP | |
- name: Install agbcc | |
run: | | |
./build.sh | |
./install.sh ../ | |
working-directory: agbcc | |
- name: Agbcc | |
run: make -j${nproc} -O all | |
- name: Modern | |
env: | |
MODERN: 1 | |
COMPARE: 0 | |
run: make -j${nproc} -O all | |
- name: Test | |
env: | |
TEST: 1 | |
run: | | |
make -j${nproc} -O pokeemerald-test.elf | |
make -j${nproc} check |