-
Notifications
You must be signed in to change notification settings - Fork 22
87 lines (79 loc) · 2.09 KB
/
build-artifact.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: build-artifact
on: push
jobs:
nes-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install build-essential python3-pil -y
- uses: ./.github/actions/cache_cc65
- name: Run makefile
run: |
cd nes
make 240pee.nes 240pee-bnrom.nes mdfourier.nsf mdfourier4k.nes
- name: Upload ROM binaries
uses: actions/upload-artifact@master
with:
name: 240pee-NES
path: |
nes/240pee.nes
nes/240pee-bnrom.nes
nes/mdfourier.nsf
nes/mdfourier4k.nes
nes/map.txt
nes/bnmap.txt
nes/mdfmap.txt
nes/nsfmap.txt
gb-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install libpng-dev python3-pil build-essential bison pkg-config -y
- uses: ./.github/actions/cache_rgbds
- name: Run makefile
run: |
cd gameboy
make gb240p.gb
- name: Upload ROM binaries
uses: actions/upload-artifact@master
with:
name: 240pee-GB
path: |
gameboy/gb240p.gb
gameboy/gb240p.map
gameboy/gb240p.sym
gba-build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm:latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install python3-pil -y
- name: Run makefile
run: |
cd gba
make
- name: Upload ROM binaries
uses: actions/upload-artifact@master
with:
name: 240pee-GBA
path: |
gba/240pee_mb.gba
gba/240pee_mb.elf