Skip to content

Commit

Permalink
github CI test add poryscript and remove agbcc
Browse files Browse the repository at this point in the history
  • Loading branch information
ravepossum committed Jul 19, 2024
1 parent 0afb193 commit dc568e6
Showing 1 changed file with 13 additions and 26 deletions.
39 changes: 13 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: CI
on:
push:
branches:
- master
- upcoming
- main
pull_request:

jobs:
Expand All @@ -22,12 +21,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Checkout agbcc
uses: actions/checkout@v2
with:
path: agbcc
repository: pret/agbcc

- name: Install binutils
run: |
sudo apt update
Expand All @@ -36,28 +29,22 @@ jobs:
# 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: Poryscript Download
uses: robinraju/release-downloader@v1
with:
repository: 'huderlem/poryscript'
latest: true
fileName: 'poryscript-linux.zip'
extract: true
out-file-path: 'tools'

- name: Agbcc
env:
MODERN: 0
COMPARE: 0
run: make -j${nproc} -O all
- name: Poryscript Install
run: |
sudo mv tools/poryscript-linux tools/poryscript
sudo chmod +x tools/poryscript/poryscript
- name: Modern
env:
MODERN: 1
COMPARE: 0
run: make -j${nproc} -O all

- name: Test
env:
MODERN: 1
TEST: 1
run: |
make -j${nproc} -O pokeemerald-test.elf
make -j${nproc} check

0 comments on commit dc568e6

Please sign in to comment.