hedara90 5f86fd7de6
Changed github CI to use arm-none-eabi-gcc (#6829)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-05-12 16:38:03 +01:00

39 lines
753 B
YAML

name: CI
on:
push:
branches:
- master
- upcoming
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
COMPARE: 0
UNUSED_ERROR: 1
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install binutils
run: |
sudo apt update
sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
# build-essential and git are already installed
- name: ROM
env:
COMPARE: 0
run: make -j${nproc} -O all
- name: Test
env:
TEST: 1
run: |
make -j${nproc} check