Commit Graph

712 Commits

Author SHA1 Message Date
Brad Parker acbb99578c windows: add extra deployment step for Qt 2018-04-30 22:10:44 -07:00
twinaphex 0e41a110ef Update libretro-buildbot-recipe.sh 2018-04-25 16:09:29 +02:00
Aaron Kling 12cc3b777c Build android jni targets based on archs defined in Application.mk
This allows each core to define which archs it builds for.
Currently the scripts force build all archs even for cores that
cannot support them, ala dolphin on 32 bit archs.
2018-04-16 12:17:07 -05:00
Aaron Kling e67f890eb4 Do not build arm64-v8a support for main android retroarch apk 2018-04-02 21:19:23 -05:00
Aaron Kling 61b11b9431 Strip android cmake output
This checks for the STRIPPATH varible in the android path. Only
setting that variable for the android cmake targets. JNI outputs
already stripped shared objects.
2018-03-28 22:57:07 -05:00
Aaron Kling 2ff2d2dd0a Fix and simplify android cmake path 2018-03-28 16:11:30 -05:00
orbea 50f3a97d0b libretro-buildbot-recipe.sh: Add one more NOCLEAN. 2018-02-04 15:31:04 -08:00
orbea 53b69575fd libretro-buildbot-recipe.sh: Don't fetch changes or reset the repo if $NOCLEAN is set. 2018-02-04 15:06:12 -08:00
orbea 336a91f22f libretro-buildbot-recipe.sh: Clean up.
Some trivial clean up including removing a dead core hack which does not seem to be needed anymore.
2018-01-19 14:52:57 -08:00
orbea 61c17c6ece libretro-buildbot-recipe.sh: Fix constant rebuilds for some cores.
A few cores built with the LEIRADEL command had an issue where a
hack used to build certain cores broke and caused them to be built
every time the buildbot encountered the recipe.

To fix this the build_libretro_leiradel_makefile function was removed
and incorporated into the build_libretro_generic_makefile function.
This allowed the script to easily use new logic to build multiple cores
with one recipe which entirely avoids the need for the broken hack.
2018-01-15 16:32:59 -08:00
orbea 61b426445c libretro-buildbot-recipe.sh: Move jni specific conditions to the recipe files. 2018-01-14 14:28:37 -08:00
orbea e4d3a8a8ac libretro-buildbot-recipe: Move core specific conditions to the recipe files. 2018-01-14 14:27:33 -08:00
Andrés 1c186db2cb
Update libretro-buildbot-recipe.sh 2018-01-12 20:01:40 -05:00
Andrés 320f5d1666
Update libretro-buildbot-recipe.sh 2018-01-12 10:57:27 -05:00
orbea 5dfd1e1356 libretro-buildbot-recipe.sh: Make shallow fetches. 2018-01-07 10:25:03 -08:00
orbea 22b5a94ff5 libretro-buildbot-recipe.sh: Fix builds with force pushes.
The script will no longer git pull, but will fetch the any changes
from the remote branch and then reset the repo to that branch.

If there are changes the HEAD commit will change and it will rebuild.

This will also work if the old history was changed instead of the new
history.
2018-01-07 09:41:53 -08:00
orbea 81398a8b37 libretro-buildbot-recipe.sh: Fix citra builds for windows (Again)
During one of my clean up efforts I neglected to make sure the quotes
around '-G "MYSYS Makefiles"' were not evaluated. Escaping the variable
containing this option works, but should be noted it only works with bash.
Since this script is inherently a bash script that should be no problem.

Fixes https://github.com/libretro/libretro-super/issues/675
2018-01-06 07:33:27 -08:00
orbea 4c18b370af libretro-buildbot-recipe.sh: Rebuild cores when using a new recipe. 2018-01-04 19:09:47 -08:00
orbea b934823675 libretro-buildbot-recipe.sh: Clean up build_libretro_leiradel_makefile 2017-12-27 20:04:34 -08:00
twinaphex b51385bf61 libretro-buildbot-recipe.sh: Use $CORENAM core names. 2017-12-27 16:39:22 -08:00
orbea 15b3035d49 libretro-buildbot-recipe.sh: Fix bsnes android builds.
I failed to change one of the $NAME variables to $core...
2017-12-25 09:08:43 -08:00
orbea 7db96992bc libretro-buildbot-recipe.sh: Use $NAME instead of the HIGAN command. 2017-12-24 18:08:07 -08:00
orbea bcaf9efe1d libretro-buildbot-recipe.sh: Use $NAME instead of the BSNES_JNI command. 2017-12-24 18:08:07 -08:00
orbea 2b95c15c7c libretro-buildbot-recipe.sh: Use $NAME instead of the BSNES command. 2017-12-24 18:08:07 -08:00
orbea 2e39bc826a libretro-buildbot-recipe.sh: Set the log file to $LOGFILE. 2017-12-24 18:08:07 -08:00
Twinaphex c56918fb36
Merge pull request #661 from orbea/enabled
libretro-buildbot-recipe.sh: Handle disabled cores with fewer nested tests.
2017-12-24 21:52:24 +01:00
orbea a428e21f8e libretro-buildbot-recipe.sh: Build default cores without SINGLE_CORE. 2017-12-23 11:19:01 -08:00
orbea ebd0f5d1e1 libretro-buildbot-recipe.sh: Allow building specific bsnes and mame cores.
This could be useful for travis to capture regressions if the only
one of the cores is affected. Additionally it is required for fixing
travis with mame2014. If the core is not bsnes-libretro, bsnes-mercury
or mame2014 the $CORE variable in the travis scripts will be ignored.
2017-12-23 10:47:24 -08:00
orbea 8f37982927 libretro-buildbot-recipe.sh: Handle disabled cores with fewer nested tests. 2017-12-23 08:37:31 -08:00
Twinaphex 5d7c03d730
Merge pull request #659 from orbea/clean
libretro-buildbot-recipe.sh: Only clean the correct git directory.
2017-12-23 07:37:54 +01:00
orbea d13664d515 libretro-buildbot-recipe.sh: Use git -C to change directories.
This avoids a subshell and does not require using 'cd' here.
2017-12-22 19:08:52 -08:00
orbea 87e6b2963b libretro-buildbot-recipe.sh: Only clean the correct git directory. 2017-12-22 15:45:35 -08:00
orbea 242c975b75 libretro-buildbot-recipe.sh: Use the correct .git directory. 2017-12-22 15:06:40 -08:00
orbea 5c45002f39 libretro-buildbot-recipe.sh: Set $FORCE_ORIG and $BUILD_ORIG earlier. 2017-12-22 14:14:43 -08:00
orbea e6e194a82d libretro-buildbot-recipe.sh: Don't rely on the UPDATE variable. 2017-12-22 13:15:02 -08:00
orbea ccb6f9c685 libretro-buildbot-recipe.sh: Skip build if the .git directory is broken. 2017-12-22 11:12:55 -08:00
orbea c003a9b58e libretro-buildbot-recipe.sh: Build all three mame2014 cores at once. 2017-12-21 09:38:32 -08:00
orbea 102f59d4a6 libretro-buildbot-recipe.sh: Don't overwrite $ARGS for bsnes cores.
This is not useful yet, but its better behavior.
2017-12-21 09:08:23 -08:00
orbea d3210f6575 libretro-buildbot-recipe: Do not set FORCE or BUILD for these cores.
It is not required for any of them and some of these names are no
longer used anyways.
2017-12-21 08:56:03 -08:00
orbea 6fa578cbde libretro-buildbot-recipe.sh: Do not set FORCE and BUILD for fbalpha2012.
They now use different source repos so this is not needed.
In the event this is no longer true there are now better
ways to do this, see how bsnes is handled where it loops
over the desired targets.
2017-12-20 19:51:02 -08:00
orbea 722fad7cf1 recipes: Remove $TYPE from the core recipe files as its no longer needed. 2017-12-20 10:49:26 -08:00
orbea 2a764be9ba libretro-buildbot-recipe.sh: Automatically detect if there are submodules. 2017-12-20 09:55:06 -08:00
orbea e34bab7593 libretro-buildbot-recipe.sh: Set the branch to psp_hardware_render instead of master to avoid build loops. 2017-12-14 21:59:07 -08:00
Brad Parker a4f78fd20a use $ARGS in .ra recipe files for make options instead of configure ones 2017-12-07 21:45:33 -05:00
orbea f527b2f2a8 libretro-buildbot-recipe.sh: Don't build mame2003 and mame2010 with 1 make job. 2017-12-06 20:41:16 -08:00
orbea 6d7486a5db libretro-buildbot-recipe.sh: Remove the redundant generic gl make function.
Also remove the GENERIC_THEOS target since its not used anywhere and the
function does not exist.
2017-12-06 14:17:44 -08:00
Twinaphex 4d9c83ac38
Merge pull request #633 from orbea/bsnes
libretro-buildbot-recipe.sh: Build all three profiles for the bsnes cores.
2017-12-06 04:57:25 +01:00
orbea bbc09a08a8 libretro-buildbot-recipe.sh: Build all three profiles for bsnes-libretro and bsnes-mercury
Fixes https://github.com/libretro/libretro-super/issues/241
2017-12-05 15:02:17 -08:00
orbea 8db271c929 libretro-buildbot-recipe.sh: Use the RECIPE name for the log files. 2017-12-05 14:46:03 -08:00
orbea 78536c66cb libretro-buildbot-recipe.sh: Do not require checking if there are $ARGS 2017-12-05 10:01:50 -08:00
orbea 58498ddbd3 libretro-buildbot-recipe.sh: Build the bsnes android cores in the build_libretro_generic_jni function. 2017-12-05 07:39:50 -08:00
orbea 55a0861965 libretro-buildbot-recipe.sh: Build the bsnes cores in the build_libretro_generic_makefile function. 2017-12-05 07:37:26 -08:00
orbea 548bfd810e libretro-buildbot-recipe.sh: Skip the recipe if it fails to cd to the cloned repo. 2017-12-04 08:26:42 -08:00
orbea 0f107ce404 libretro-buildbot-recipe.sh: Don't remove branches if travis is running the script. 2017-12-03 13:14:08 -08:00
orbea c2275b79f8 libretro-buildbot-recipe.sh: Always use the branch in the recipe file.
If the checked out branch does not match the branch name in the recipe
file the script will now make a shallow fetch of the correct branch,
checkout the new branch and then remove the old one. If this is done it
will also build a core with the new branch.
2017-12-03 12:58:22 -08:00
orbea 63b26eee74 libretro-buildbot-recipe.sh: Make sure the $PWD is $BASE_DIR/$DIR/$SUBDIR before cleaning. 2017-12-02 16:14:05 -08:00
Andrés baed499105
Update libretro-buildbot-recipe.sh 2017-12-02 17:38:12 -05:00
orbea 3ad6eee742 libretro-buildbot-recipe.sh: Use the generic command for bsnes_cplusplus98. 2017-12-02 02:16:49 -08:00
orbea 5b9cb80e8f libretro-buildbot-recipe.sh: Build higan and nSide in the generic make function. 2017-12-01 16:28:06 -08:00
Twinaphex d68aabe580
Merge pull request #622 from orbea/git
libretro-buildbot-recipe.sh: Check if the HEAD commit is new or not.
2017-11-30 08:59:15 +01:00
orbea 813fcd42cc libretro-buildbot-recipe.sh: Clean cores after building them. 2017-11-29 18:20:33 -08:00
orbea e3a38f76e1 libretro-buildbot-recipe.sh: Check if the HEAD commit is new or not.
Newer git versions now report 'Already up to date.' instead of 'Already up-to-date' so we need a more robust solution.
2017-11-29 17:45:47 -08:00
orbea 75a4ad7c1a libretro-buildbot-recipe.sh: Remove dead submodule code for RetroArch. 2017-11-25 08:19:11 -08:00
orbea 131f531274 libretro-buildbot-recipe.sh: Fix android logs. 2017-11-23 16:35:52 -08:00
Twinaphex 77bdd880cf
Merge pull request #612 from orbea/cmake
libretro-buildbot-recipe.sh: Fix passing Makefile Generators to cmake.
2017-11-22 14:02:02 +01:00
orbea bf44dd182f libretro-buildbot-recipe.sh: Fix passing Makefile Generators to cmake.
Fixes https://github.com/libretro/libretro-super/issues/610
2017-11-21 20:36:14 -08:00
orbea bcea3d20f8 libretro-buildbot-recipe.sh: Use $LOGFILE for the RetroArch logfile. 2017-11-21 20:05:30 -08:00
Andrés 669b97ade7
Update libretro-buildbot-recipe.sh 2017-11-20 20:26:06 -05:00
orbea 892dfdd7b3 libretro-buildbot-recipe.sh: Remove dead code for bnes-libretro.
bnes-libretro can and should use the build_libretro_generic_makefile function.
2017-11-19 22:28:36 -08:00
orbea ee07b55be1 libretro-buildbot-recipe.sh: Use the $RECIPE variable 2017-11-17 06:30:31 -08:00
Twinaphex 1c8cffa4d1
Merge pull request #601 from orbea/cut
libretro-buildbot-recipe.sh: Remove more use of cut.
2017-11-17 11:01:19 +01:00
Brad Parker 86e6db1c48 don't try to gzip nothing, it will hang 2017-11-17 02:48:40 +00:00
orbea d6953d60f0 libretro-buildbot-recipe.sh: Remove more use of cut. 2017-11-16 13:39:27 -08:00
orbea 1f805ce33f libretro-buildbot-recipe.sh: Don't include '..' in the cmake $ARGS 2017-11-16 08:29:47 -08:00
Francisco José García García 9247e5d4db
[VITA] Make Square Icons 2017-11-16 08:30:15 +01:00
orbea 9c233a9be8 libretro-buildbot-recipe.sh: Only build RetroArch if $RA = YES 2017-11-15 16:13:51 -08:00
orbea d258bd07ab libretro-buildbot-recipe.sh: Fix the cmake build path. 2017-11-15 16:02:44 -08:00
orbea aa5711101d libretro-buildbot-recipe.sh: Fix typo 2017-11-15 15:42:42 -08:00
orbea 24d221bc77 libretro-buildbot-recipe.sh: Remove the possibly non-portable use of 'make -C' 2017-11-14 11:16:59 -08:00
orbea 49f5893049 libretro-buildbot-recipe.sh: Combine the compile_audio_filters and compile_video_filters functions. 2017-11-14 09:28:41 -08:00
bparker06 d8fd01da79
Update libretro-buildbot-recipe.sh 2017-11-14 12:02:25 -05:00
orbea 56bb85d481 libretro-buildbot-recipe.sh: Fix compiling the video filters.
Its easier to use 'make -C' instead of trying to always cd to the correct directory.
2017-11-14 08:56:00 -08:00
orbea 8e62d0bd0d libretro-buildbot-recipe.sh: Work around need for cut. 2017-11-14 07:47:14 -08:00
Twinaphex 1ee666b331
Merge pull request #593 from orbea/cd
libretro-buildbot-recipe.sh: Remove extra cd commands.
2017-11-14 07:37:58 +01:00
orbea 0ce1996809 libretro-buildbot-recipe.sh: Fix build script failures if the recipe files have extra whitespaces.
Bash will swallow extra white spaces if a $variable is not quoted, but if it
is quoted than cut will trip on the extra white space in the "$variable".

This change works around the use of cut and thus avoids this issue altogether.
2017-11-13 18:16:13 -08:00
orbea 196b4b0d9d libretro-buildbot-recipe.sh: Remove extra cd commands.
Silences the following error from trying to cd to a directory that is already the $PWD.

./libretro-buildbot-recipe.sh: line 329: cd: libretro-fceumm/.: No such file or directory
2017-11-13 14:22:23 -08:00
Francisco José García García bc8cfe7129
Create retroarch.zip for vita 2017-11-13 21:06:40 +01:00
orbea f8e5eba8eb libretro-buildbot-recipe.sh: return 0 if $RECIPE.ra does not exist.
Silences the following error.

./libretro-buildbot-recipe.sh: line 918: recipes/linux/cores-linux-x64-generic.ra: No such file or directory
2017-11-13 09:34:22 -08:00
orbea 00a8c85b95 libretro-buildbot-recipe.sh: Set $BOT to . by default. 2017-11-13 09:02:39 -08:00
orbea aa31fb2771 libretro-buildbot-recipe.sh: Don't export empty variables.
Silences the following error if the read file contains a blank line.

./libretro-buildbot-recipe.sh: line 31: export: `=': not a valid identifier
2017-11-13 08:25:21 -08:00
orbea 517840f944 libretro-buildbot-recipe.sh: Don't error if /vars does not exist. 2017-11-13 07:49:49 -08:00
orbea 04320f9d84 libretro-buildbot-recipe.sh: Exit early if no recipe target is passed to the script. 2017-11-12 16:43:45 -08:00
orbea 6e10171b67 libretro-buildbot-recipe.sh: Make sure $TMPDIR exists and is set. 2017-11-12 06:04:51 -08:00
orbea 0e4bd6062f libretro-buildbot-recipe.sh: Remove more redundant code. 2017-11-11 16:23:04 -08:00
orbea b03626e4c5 libretro-buildbot-recipe.sh: Further clean up of redundant code. 2017-11-11 07:38:16 -08:00
orbea 1bb64f2193 libretro-buildbot-recipe.sh: Improve $CLEANUP = YES 2017-11-10 18:23:23 -08:00
orbea 0663571f2f libretro-buildbot-recipe.sh: Remove nested conditional. 2017-11-10 07:32:55 -08:00
orbea a00e38e69b libretro-buildbot-recipe.sh: Clean up more redundant code. 2017-11-10 07:32:55 -08:00
orbea 9cc72413b1 libretro-buildbot-recipe.sh: Fix typo. 2017-11-10 01:04:30 -08:00
orbea d1b8222568 Clean up this conditional. 2017-11-06 15:21:13 -08:00