-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuildbot-tweaks.patch
74 lines (62 loc) · 2.36 KB
/
buildbot-tweaks.patch
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
--- libretro-super/libretro-buildbot-recipe.sh 2022-04-28 19:32:40.937244108 +0000
+++ libretro-super/libretro-buildbot-recipe.sh 2022-04-28 19:55:38.678933261 +0000
@@ -649,6 +649,7 @@
[ "${ENABLED}" != "YES" ] && { echo "${NAME} is disabled, skipping"; continue; }
+ echo "::group::$NAME"
echo "buildbot job started at: $(date)"
echo
echo "buildbot job: $jobid processing $NAME"
@@ -755,6 +756,7 @@
echo
echo "buildbot job finished at: $(date)"
+ echo "::endgroup::"
cd "${BASE_DIR}"
@@ -794,6 +796,7 @@
echo "URL: $URL"
echo "REPO TYPE: $TYPE"
echo "ENABLED: $ENABLED"
+ BRANCH="miyoomini-1.10.3"
if [ -d "${PARENTDIR}/${DIR}/.git" ]; then
cd $PARENTDIR
@@ -1666,12 +1669,12 @@
touch $TMPDIR/built-frontend
- compile_filters audio ${HELPER} ${MAKE}
- compile_filters video ${HELPER} ${MAKE}
+ #compile_filters audio ${HELPER} ${MAKE}
+ #compile_filters video ${HELPER} ${MAKE}
- echo 'configuring...'
- echo "configure command: $CONFIGURE $ARGS"
- ${CONFIGURE} ${ARGS}
+ #echo 'configuring...'
+ #echo "configure command: $CONFIGURE $ARGS"
+ #${CONFIGURE} ${ARGS}
echo 'cleaning up...'
echo "CLEANUP CMD: ${HELPER} ${MAKE} clean"
@@ -1684,8 +1687,13 @@
fi
echo 'building...'
- echo "BUILD CMD: ${HELPER} ${MAKE} -j${JOBS}"
- ${HELPER} ${MAKE} -j${JOBS} 2>&1 | tee -a "$LOGFILE"
+ echo "BUILD CMD: ${HELPER} ${MAKE} -f Makefile.miyoomini -j${JOBS}"
+ mkdir dist/
+ ${HELPER} ${MAKE} -f Makefile.miyoomini -j${JOBS} 2>&1 | tee -a "$LOGFILE"
+ cp retroarch dist/
+ ${HELPER} ${MAKE} clean
+ echo "BUILD CMD: ${HELPER} ${MAKE} -f Makefile.miyoomini_ml -j${JOBS}"
+ ${HELPER} ${MAKE} -f Makefile.miyoomini_ml -j${JOBS} 2>&1 | tee -a "$LOGFILE"
status=$?
echo "$status"
@@ -1696,6 +1704,13 @@
MESSAGE="retroarch: [status: done] [$jobid]"
echo buildbot job: $MESSAGE >> "$LOGFILE"
echo "Packaging"
+ mkdir -p dist/.retroarch/assets/rgui/font dist/.retroarch/filters/video dist/.retroarch/filters/audio
+ cp retroarch_multilang COPYING dist/
+ cp retroarch.cfg dist/.retroarch/
+ cp libretro-common/audio/dsp_filters/*.dsp dist/.retroarch/filters/audio/
+ cp gfx/video_filters/*.filt dist/.retroarch/filters/video/
+ cp media/assets/rgui/font/* dist/.retroarch/assets/rgui/font/
+ ls -lahR dist/
else
MESSAGE="retroarch: [status: fail] [$jobid]"
echo buildbot job: $MESSAGE >> "$LOGFILE"