-
Notifications
You must be signed in to change notification settings - Fork 4
63 lines (54 loc) · 2.35 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
name: CI
on: [push, pull_request]
jobs:
build_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build ARK
run: |
chmod +x dependencies/arkhelper
chmod +x dependencies/dtab
chmod +x dependencies/superfreq
find . -name "*.*_ps2" -type f -delete
find . -name "*.vgs" -type f -delete
dependencies/arkhelper dir2ark ./_ark ./_build/Xbox/gen -e -s 4073741823
dependencies/dtab -b _init/init_track_theme.dta _init/init_track_theme.dtb
dependencies/dtab -b _init/init_ui_theme.dta _init/init_ui_theme.dtb
dependencies/dtab -b _init/init.dta _init/init.dtb
dependencies/dtab -e _init/init_ui_theme.dtb _build/Xbox/gen/init_ui_theme.dtb
dependencies/dtab -e _init/init_track_theme.dtb _build/Xbox/gen/init_track_theme.dtb
dependencies/dtab -e _init/init.dtb _build/Xbox/gen/init.dtb
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: GH2DX-Xbox
path: |
_build/Xbox/gen
_build/Xbox/default.xex
build_xbox_force_guitar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build ARK
run: |
chmod +x dependencies/arkhelper
chmod +x dependencies/dtab
chmod +x dependencies/superfreq
find . -name "*.*_ps2" -type f -delete
find . -name "*.vgs" -type f -delete
sed -i -e "s/;#define FORCE_PAD (1)/#define FORCE_PAD (1)/" _ark/config/macros.dta
dependencies/arkhelper dir2ark ./_ark ./_build/Xbox/gen -e -s 4073741823
dependencies/dtab -b _init/init_track_theme.dta _init/init_track_theme.dtb
dependencies/dtab -b _init/init_ui_theme.dta _init/init_ui_theme.dtb
dependencies/dtab -b _init/init.dta _init/init.dtb
dependencies/dtab -e _init/init_ui_theme.dtb _build/Xbox/gen/init_ui_theme.dtb
dependencies/dtab -e _init/init_track_theme.dtb _build/Xbox/gen/init_track_theme.dtb
dependencies/dtab -e _init/init.dtb _build/Xbox/gen/init.dtb
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: GH2DX-Xbox-force-all-as-guitar-controller
path: |
_build/Xbox/gen
_build/Xbox/default.xex