mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Fix JP build and add action to test all versions (#558)
* Fix JP build * Add a script to verify all versions. * symbol size udpate, and scratch link update * Add support for diffing other regions and versions with custom flags
This commit is contained in:
+22
-3
@@ -1,7 +1,26 @@
|
||||
def apply(config, args):
|
||||
config["baseimg"] = "baseroms/baserom.us.v77.z64"
|
||||
config["myimg"] = "build/dkr.us.v77.z64"
|
||||
config["mapfile"] = "build/dkr.us.v77.map"
|
||||
config["baseimg"] = f"baseroms/baserom." + args.region + "." + args.version + ".z64"
|
||||
config["myimg"] = f"build/dkr." + args.region + "." + args.version + ".z64"
|
||||
config["mapfile"] = f"build/dkr." + args.region + "." + args.version + ".map"
|
||||
config["source_directories"] = ["src"]
|
||||
config["show_line_numbers_default"] = True
|
||||
config["expected_dir"] = "expected/"
|
||||
config["makeflags"] = ["REGION=" + args.region, "VERSION=" + args.version]
|
||||
|
||||
def add_custom_arguments(parser):
|
||||
parser.add_argument(
|
||||
"-r",
|
||||
"--REGION",
|
||||
dest="region",
|
||||
default="us",
|
||||
type=str,
|
||||
help="Set the region",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-v",
|
||||
"--VERSION",
|
||||
dest="version",
|
||||
default="v77",
|
||||
type=str,
|
||||
help="Set the version",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user