-
Notifications
You must be signed in to change notification settings - Fork 50
285 lines (236 loc) · 7.42 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
name: fake-08
on:
push:
branches: '**'
pull_request:
branches: [ $default-branch ]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: make tests
xbox-series-libretro:
name: Xbox Series Libretro
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: git make mingw-w64-ucrt-x86_64-gcc
- name: Build
run: cd platform/libretro && make
- uses: actions/upload-artifact@v3
with:
name: Xbox-Series-libretro
path: |
platform/libretro/fake08_libretro.dll
threeDS:
name: 3DS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir devkitpro/devkitarm /bin/bash -ex /build_dir/.github/workflows/build3ds.sh
- uses: actions/upload-artifact@v3
with:
name: Nintendo 3DS
path: |
platform/3ds/*.3dsx
platform/3ds/*.cia
switch-standalone:
name: Switch
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir devkitpro/devkita64 /bin/bash -ex /build_dir/.github/workflows/buildSwitch.sh
- uses: actions/upload-artifact@v3
with:
name: Nintendo Switch
path: |
platform/switch/*.nro
wiiu-standalone:
name: WiiU
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir jondbell/devkitppc-wiiu-sdl2 /bin/bash -ex /build_dir/.github/workflows/buildWiiU.sh
- uses: actions/upload-artifact@v3
with:
name: Nintendo Wii U
path: |
platform/wiiu/*.rpx
vita-standalone:
name: Vita
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir gnuton/vitasdk-docker:20220413 /bin/sh -ex /build_dir/.github/workflows/buildVita.sh
- uses: actions/upload-artifact@v3
with:
name: PS Vita
path: |
platform/vita/*.vpk
bittboy-standalone:
name: Bittboy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir mcejp/arm-miyoo-linux-musleabi-gcc /bin/sh -ex /build_dir/.github/workflows/buildBittboy.sh
- uses: actions/upload-artifact@v3
with:
name: Bittboy
path: |
platform/bittboy/FAKE08
platform/bittboy/pico8.elf
miyoomini-standalone:
name: MiyooMini
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir jondbell/union-miyoomini-toolchain /bin/sh -ex /build_dir/.github/workflows/buildMiyooMini.sh
- uses: actions/upload-artifact@v3
with:
name: MiyooMini
path: |
platform/miyoomini/FAKE08
opendingux-standalone:
name: Opendingux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir jondbell/gcw0 /bin/sh -ex /build_dir/.github/workflows/buildGcw0.sh
- uses: actions/upload-artifact@v3
with:
name: Gcw0
path: |
platform/gcw0/fake08_gcw0.opk
android-libretro:
name: android-libretro
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Setup NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r21e
- name: Build
run: cd platform/libretro/jni && ndk-build
- name: Rename Artifacts
run: |
cp platform/libretro/libs/arm64-v8a/libfake08.so platform/libretro/libs/libfake08-arm64.so &&
cp platform/libretro/libs/armeabi-v7a/libfake08.so platform/libretro/libs/libfake08-arm32.so
- uses: actions/upload-artifact@v3
with:
name: Android-Libretro
path: |
platform/libretro/libs/libfake08-arm64.so
platform/libretro/libs/libfake08-arm32.so
platform/libretro/fake08_libretro.info
miyoomini-libretro:
name: MiyooMini-libretro
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir jondbell/union-miyoomini-toolchain /bin/sh -ex /build_dir/.github/workflows/buildMiyooMini-libretro.sh
- uses: actions/upload-artifact@v3
with:
name: MiyooMini-libretro
path: |
platform/libretro/fake08_libretro_miyoomini.so
platform/libretro/fake08_libretro.info
platform/libretro/miyoomini/launch.sh
opendingux-libretro:
name: GCW0-libretro
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir jondbell/gcw0 /bin/sh -ex /build_dir/.github/workflows/buildGcw0-libretro.sh
- uses: actions/upload-artifact@v3
with:
name: GCW0-libretro
path: |
platform/libretro/fake08_libretro_gcw0.so
platform/libretro/fake08_libretro.info
switch-libretro:
name: switch-libretro
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules : recursive
- name: CheckoutLibretro
uses: actions/checkout@v3
with:
repository: libretro/RetroArch
path: retroarch
- name: Build
run: |
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $GITHUB_WORKSPACE:/build_dir devkitpro/devkita64 /bin/bash -ex /build_dir/.github/workflows/buildSwitch-libretro.sh
- uses: actions/upload-artifact@v3
with:
name: switch-libretro
path: |
platform/libretro/fake08_libretro.info
retroarch/fake08_libretro_libnx.nro