tumbledemerald-legacy/.github/workflows/build.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2022-05-19 19:14:13 +02:00
name: Tum the Builder (cAn We FiX iT?)
on:
push:
branches: [ master ]
pull_request:
jobs:
Tum-build:
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
MODERN: 0
COMPARE: 0
steps:
- name: Checkout
uses: actions/checkout@master
- name: Checkout syms
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@master
with:
path: symbols
ref: symbols
- name: Checkout agbcc
uses: actions/checkout@master
with:
path: agbcc
repository: pret/agbcc
- 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 ../
working-directory: agbcc
- name: Modern
env:
MODERN: 1
COMPARE: 0
run: make -j${nproc} all