-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (54 loc) · 1.55 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: CI
on:
push:
branches:
- master
- beta
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
env:
GAME_VERSION: FIRERED
GAME_LANGUAGE: ENGLISH
GAME_REVISION: 0
MODERN: 0
COMPARE: 0
steps:
- 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
sudo apt install -y build-essential libpng-dev libelf-dev
# 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: Poryscript download
uses: robinraju/release-downloader@v1
with:
repository: 'huderlem/poryscript'
latest: true
fileName: 'poryscript-linux.zip'
extract: true
out-file-path: 'tools'
- name: Poryscript install
run: |
sudo mv tools/poryscript-linux/poryscript tools/poryscript/
sudo mv tools/poryscript-linux/font_config.json tools/poryscript/
sudo chmod +x tools/poryscript/poryscript
sudo rm -rf tools/poryscript-linux.zip
sudo rm -rf tools/poryscript-linux
- name: Build with agbcc
run: make -j${nproc} -O all