mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 22:07:49 +00:00
Verify ROM hashes for all CI test projects (#1384)
Ucity and Libbet build files in a nondeterministic order, which we have to patch to sort consistently for reproducible builds.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/makefile b/makefile
|
||||
index 6513518..35826eb 100644
|
||||
index 6513518..ba14638 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -85,10 +85,10 @@ $(title).gb: $(objlisto)
|
||||
@@ -15,3 +15,12 @@ index 6513518..35826eb 100644
|
||||
|
||||
# Files that will be included with incbin
|
||||
|
||||
@@ -108,7 +108,7 @@ obj/gb/sgb.o: \
|
||||
|
||||
# Local variable allocation
|
||||
|
||||
-obj/gb/localvars.z80: tools/savescan.py $(wildcard src/*.z80)
|
||||
+obj/gb/localvars.z80: tools/savescan.py $(sort $(wildcard src/*.z80))
|
||||
$(PY) $^ -o $@
|
||||
|
||||
# Graphics conversion
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 22c65e9..e7c888d 100644
|
||||
index 22c65e9..fce4930 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -51,7 +51,7 @@ ASMFILES := $(foreach dir,$(SOURCE_ALL_DIRS),$(wildcard $(dir)/*.asm))
|
||||
@@ -44,14 +44,14 @@ BIN := $(NAME).$(EXT)
|
||||
COMPAT_BIN := $(NAME)_compat.$(EXT)
|
||||
|
||||
# List of relative paths to all folders and subfolders with code or data.
|
||||
-SOURCE_ALL_DIRS := $(shell find $(SOURCE) -type d -print)
|
||||
+SOURCE_ALL_DIRS := $(sort $(shell find $(SOURCE) -type d -print))
|
||||
|
||||
# All files with extension asm are assembled.
|
||||
-ASMFILES := $(foreach dir,$(SOURCE_ALL_DIRS),$(wildcard $(dir)/*.asm))
|
||||
+ASMFILES := $(foreach dir,$(SOURCE_ALL_DIRS),$(sort $(wildcard $(dir)/*.asm)))
|
||||
|
||||
# List of include directories: All source and data folders.
|
||||
# A '/' is appended to the path.
|
||||
|
||||
Reference in New Issue
Block a user