mirror of
https://github.com/libretro/libretro-super
synced 2025-04-10 12:44:20 +00:00
Make test cores compile better for buildbots
This commit is contained in:
parent
02e7339e34
commit
98725f497e
@ -196,19 +196,23 @@ build_libretro_generic_makefile() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build_retroarch_generic_makefile() {
|
build_libretro_test() {
|
||||||
build_dir="$WORKDIR/$1"
|
build_dir="$WORKDIR/$1"
|
||||||
|
|
||||||
if build_should_skip $1 "$build_dir"; then
|
if build_should_skip "test" "$build_dir"; then
|
||||||
echo "Core $1 is already built, skipping..."
|
echo "Core test is already built, skipping..."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$build_dir" ]; then
|
if [ -d "$build_dir" ]; then
|
||||||
echo "=== Building $2 ==="
|
echo "=== Building RetroArch test cores ==="
|
||||||
build_libretro_generic $1 "$2" "$3" $4 "$build_dir"
|
build_libretro_generic "retroarch" "libretro-test-gl" "Makefile" $FORMAT_COMPILER_TARGET "$build_dir"
|
||||||
copy_core_to_dist $5
|
copy_core_to_dist "testgl"
|
||||||
build_save_revision $? $1
|
build_libretro_generic "retroarch" "libretro-test" "Makefile" $FORMAT_COMPILER_TARGET "$build_dir"
|
||||||
|
copy_core_to_dist "test"
|
||||||
|
|
||||||
|
# TODO: Check for more than test here...
|
||||||
|
build_save_revision $? "test"
|
||||||
else
|
else
|
||||||
echo "$1 not fetched, skipping ..."
|
echo "$1 not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -267,14 +271,6 @@ build_libretro_emux() {
|
|||||||
build_save_revision $? "emux"
|
build_save_revision $? "emux"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_libretro_test() {
|
|
||||||
build_retroarch_generic_makefile "retroarch" "libretro-test" "Makefile" $FORMAT_COMPILER_TARGET "test"
|
|
||||||
}
|
|
||||||
|
|
||||||
build_libretro_testgl() {
|
|
||||||
build_retroarch_generic_makefile "retroarch" "libretro-test-gl" "Makefile" $FORMAT_COMPILER_TARGET "testgl"
|
|
||||||
}
|
|
||||||
|
|
||||||
build_libretro_picodrive() {
|
build_libretro_picodrive() {
|
||||||
build_libretro_generic_makefile "picodrive" "." "Makefile.libretro" $FORMAT_COMPILER_TARGET
|
build_libretro_generic_makefile "picodrive" "." "Makefile.libretro" $FORMAT_COMPILER_TARGET
|
||||||
}
|
}
|
||||||
|
@ -169,9 +169,6 @@ else
|
|||||||
build_libretro_emux
|
build_libretro_emux
|
||||||
build_libretro_fuse
|
build_libretro_fuse
|
||||||
build_libretro_test
|
build_libretro_test
|
||||||
if [ $FORMAT_COMPILER_TARGET != "ios" ]; then
|
|
||||||
build_libretro_testgl
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
build_summary
|
build_summary
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user