2021-03-05 03:14:29 +01:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-08-12 02:10:57 +02:00
|
|
|
branches:
|
2021-04-03 07:26:55 +02:00
|
|
|
- master
|
|
|
|
- battle_engine
|
|
|
|
- pokemon_expansion
|
|
|
|
- item_expansion
|
2021-03-05 03:14:29 +01:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-06-16 17:03:23 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
GAME_VERSION: EMERALD
|
|
|
|
GAME_REVISION: 0
|
|
|
|
GAME_LANGUAGE: ENGLISH
|
|
|
|
MODERN: 0
|
2021-08-12 02:10:57 +02:00
|
|
|
COMPARE: 0
|
2021-03-05 03:14:29 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2021-04-03 07:26:55 +02:00
|
|
|
uses: actions/checkout@v2
|
2021-03-05 03:14:29 +01:00
|
|
|
|
2021-06-16 17:03:23 +02:00
|
|
|
- name: Checkout agbcc
|
2021-08-12 02:10:57 +02:00
|
|
|
uses: actions/checkout@v2
|
2021-06-16 17:03:23 +02:00
|
|
|
with:
|
|
|
|
path: agbcc
|
|
|
|
repository: pret/agbcc
|
|
|
|
|
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: |
|
|
|
|
./build.sh
|
|
|
|
./install.sh ../
|
2021-06-16 17:03:23 +02:00
|
|
|
working-directory: agbcc
|
2021-03-05 03:14:29 +01:00
|
|
|
|
2021-04-03 07:26:55 +02:00
|
|
|
- name: Agbcc
|
2021-08-12 02:10:57 +02:00
|
|
|
run: make -j${nproc} all
|
2021-03-05 03:14:29 +01:00
|
|
|
|
|
|
|
- name: Modern
|
2021-06-16 17:03:23 +02:00
|
|
|
env:
|
|
|
|
MODERN: 1
|
|
|
|
COMPARE: 0
|
|
|
|
run: make -j${nproc} all
|