sovereignx/.github/workflows/build.yml

43 lines
904 B
YAML
Raw Normal View History

2021-03-05 02:14:29 +00:00
name: CI
on:
push:
branches:
2021-04-03 06:26:55 +01:00
- master
2023-07-15 16:25:23 +01:00
- upcoming
2021-03-05 02:14:29 +00:00
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
COMPARE: 0
UNUSED_ERROR: 1
2021-03-05 02:14:29 +00:00
steps:
- name: Checkout
2021-04-03 06:26:55 +01:00
uses: actions/checkout@v2
2021-03-05 02:14:29 +00:00
- name: Install binutils
2023-11-05 21:46:22 +00:00
run: |
sudo apt update
sudo apt install -y build-essential libpng-dev libelf-dev
2021-03-05 02:14:29 +00:00
# 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
2024-08-11 21:06:33 +01:00
- name: ROM
env:
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