pokeemerald/.github/workflows/build.yml

37 lines
795 B
YAML
Raw Normal View History

2021-03-05 03:14:29 +01:00
name: CI
on:
push:
2021-04-03 07:26:55 +02:00
branches:
- master
- battle_engine
- pokemon_expansion
- item_expansion
2021-03-05 03:14:29 +01:00
pull_request:
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout
2021-04-03 07:26:55 +02:00
uses: actions/checkout@v2
2021-03-05 03:14:29 +01:00
- name: Install binutils
run: sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi
# 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: |
git clone https://github.com/pret/agbcc.git
cd agbcc
./build.sh
./install.sh ../
2021-04-03 07:26:55 +02:00
- name: Agbcc
run: make -j${nproc}
2021-03-05 03:14:29 +01:00
- name: Modern
2021-04-03 07:38:15 +02:00
run: make -j${nproc} modern