Skip to content

Commit dc568e6

Browse files
committed
github CI test add poryscript and remove agbcc
1 parent 0afb193 commit dc568e6

File tree

1 file changed

+13
-26
lines changed

1 file changed

+13
-26
lines changed

.github/workflows/build.yml

+13-26
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
7-
- upcoming
6+
- main
87
pull_request:
98

109
jobs:
@@ -22,12 +21,6 @@ jobs:
2221
- name: Checkout
2322
uses: actions/checkout@v2
2423

25-
- name: Checkout agbcc
26-
uses: actions/checkout@v2
27-
with:
28-
path: agbcc
29-
repository: pret/agbcc
30-
3124
- name: Install binutils
3225
run: |
3326
sudo apt update
@@ -36,28 +29,22 @@ jobs:
3629
# gcc-arm-none-eabi is only needed for the modern build
3730
# as an alternative to dkP
3831

39-
- name: Install agbcc
40-
run: |
41-
./build.sh
42-
./install.sh ../
43-
working-directory: agbcc
32+
- name: Poryscript Download
33+
uses: robinraju/release-downloader@v1
34+
with:
35+
repository: 'huderlem/poryscript'
36+
latest: true
37+
fileName: 'poryscript-linux.zip'
38+
extract: true
39+
out-file-path: 'tools'
4440

45-
- name: Agbcc
46-
env:
47-
MODERN: 0
48-
COMPARE: 0
49-
run: make -j${nproc} -O all
41+
- name: Poryscript Install
42+
run: |
43+
sudo mv tools/poryscript-linux tools/poryscript
44+
sudo chmod +x tools/poryscript/poryscript
5045
5146
- name: Modern
5247
env:
5348
MODERN: 1
5449
COMPARE: 0
5550
run: make -j${nproc} -O all
56-
57-
- name: Test
58-
env:
59-
MODERN: 1
60-
TEST: 1
61-
run: |
62-
make -j${nproc} -O pokeemerald-test.elf
63-
make -j${nproc} check

0 commit comments

Comments
 (0)