forked from hmxmilohax/rock-band-3-deluxe
-
Notifications
You must be signed in to change notification settings - Fork 1
88 lines (78 loc) · 2.67 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
name: CI
on: [push, pull_request]
jobs:
build_yarg:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build Files
run: |
sed -i '1d' _ark/dx/song_updates/songs_updates.dta
dependencies/python/configure_build.py yarg
dependencies/linux/ninja
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: RB3DX-YARG-Updates
path: out/yarg
build_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Set env
run: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Print build info
run: |
echo $GITHUB_SHA_SHORT
python dependencies/dev_scripts/add_devbuild.py $GITHUB_SHA_SHORT
- name: Build ARK
run: |
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove Excess files
run: |
find . -name "*.txt" -type f -delete
find . -name "*.zbm" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: RB3DX-Xbox
path: out/xbox
build_ps3:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Print build info
run: |
$GITHUB_SHA_SHORT="$(git rev-parse --short HEAD)".ToUpper()
python dependencies/dev_scripts/add_devbuild.py $GITHUB_SHA_SHORT
- name: Build ARK
run: |
python dependencies/python/configure_build.py ps3
dependencies/windows/ninja.exe
- name: Build PKG
run: |
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP8802-BLUS30463_00-RB3DXNITE"
$packageversion="1.05"
dependencies/ta_pkg_repacker_tools/make_package_npdrm_retail.exe --k-licensee 0x00000000000000000000000000000000 --drm-type Local --package-version $packageversion --content-type GameData --content-id ($content + $sha_short) dependencies/ta_pkg_repacker_tools/package.conf out/ps3
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: RB3DX-PS3
path: '*.pkg'