[CI] add per-mod common mod retrace fixtures

This commit is contained in:
2026-06-28 10:40:52 +08:00
parent 4fa2e0a58d
commit 6a11f96a5b
13 changed files with 255 additions and 0 deletions
+165
View File
@@ -238,6 +238,71 @@ jobs:
crop_width: 0 crop_width: 0
crop_height: 0 crop_height: 0
timeout_seconds: 1800 timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-rei-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
vulkan_only: true
target_call: 5431826
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-xaero-minimap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
vulkan_only: true
target_call: 2553500
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-xaero-world-map-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
vulkan_only: true
target_call: 1598209
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-journeymap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
vulkan_only: true
target_call: 2632392
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-modernui-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
vulkan_only: true
target_call: 4907381
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- name: minecraft-1.21.4-fabric-iris-bsl-in-world - name: minecraft-1.21.4-fabric-iris-bsl-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz
trace_file: trace.trace trace_file: trace.trace
@@ -461,6 +526,106 @@ jobs:
crop_width: 0 crop_width: 0
crop_height: 0 crop_height: 0
timeout_seconds: 1800 timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-rei-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
vulkan_only: true
target_call: 5431826
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-minimap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
vulkan_only: true
target_call: 2553500
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-xaero-world-map-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
vulkan_only: true
target_call: 1598209
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-journeymap-in-world
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
vulkan_only: true
target_call: 2632392
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
- backend:
name: DirectGLES
id: espryt
apk: MobileGL-EsprytTrace-release.apk
package: top.mobilegl.plugin.espryt.trace
gpu: software
case:
name: minecraft-1.21.4-fabric-modernui-inventory
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
trace_file: trace.trace
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
vulkan_only: true
target_call: 4907381
width: 854
height: 480
crop_x: 0
crop_y: 0
crop_width: 0
crop_height: 0
timeout_seconds: 1800
steps: steps:
- name: Checkout repo - name: Checkout repo
+45
View File
@@ -406,6 +406,51 @@ add_trace_replay_test(minecraft-1.21.4-fabric-common-mods-inventory DirectVulkan
HEIGHT 480 HEIGHT 480
) )
add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory DirectVulkan
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png
TARGET_CALL 5431826
WIDTH 854
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-minimap-in-world DirectVulkan
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png
TARGET_CALL 2553500
WIDTH 854
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world DirectVulkan
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png
TARGET_CALL 1598209
WIDTH 854
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world DirectVulkan
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png
TARGET_CALL 2632392
WIDTH 854
HEIGHT 480
)
add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory DirectVulkan
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory.tgz
TRACE_FILE trace.trace
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png
TARGET_CALL 4907381
WIDTH 854
HEIGHT 480
)
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-iris-bsl-in-world add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-iris-bsl-in-world
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz
TRACE_FILE trace.trace TRACE_FILE trace.trace
+15
View File
@@ -22,6 +22,21 @@ The bundled fixtures cover:
- minecraft-1.21.4-fabric-common-mods-inventory: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, REI, - minecraft-1.21.4-fabric-common-mods-inventory: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, REI,
Xaero's Minimap, Xaero's World Map, JourneyMap, and Modern UI with the creative inventory and REI item list open. Xaero's Minimap, Xaero's World Map, JourneyMap, and Modern UI with the creative inventory and REI item list open.
![Minecraft 1.21.4 Fabric common mods inventory golden](fixtures/minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png) ![Minecraft 1.21.4 Fabric common mods inventory golden](fixtures/minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png)
- minecraft-1.21.4-fabric-rei-inventory: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and REI, with
shader packs disabled and the creative inventory and REI item list open.
![Minecraft 1.21.4 Fabric REI inventory golden](fixtures/minecraft-1.21.4-fabric-rei-inventory.0005431826.png)
- minecraft-1.21.4-fabric-xaero-minimap-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and
Xaero's Minimap after entering a singleplayer world with shader packs disabled.
![Minecraft 1.21.4 Fabric Xaero's Minimap in-world golden](fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world.0002553500.png)
- minecraft-1.21.4-fabric-xaero-world-map-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and
Xaero's World Map, with shader packs disabled and the world map screen open.
![Minecraft 1.21.4 Fabric Xaero's World Map in-world golden](fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world.0001598209.png)
- minecraft-1.21.4-fabric-journeymap-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and
JourneyMap after entering a singleplayer world with shader packs disabled.
![Minecraft 1.21.4 Fabric JourneyMap in-world golden](fixtures/minecraft-1.21.4-fabric-journeymap-in-world.0002632392.png)
- minecraft-1.21.4-fabric-modernui-inventory: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and Modern UI,
with shader packs disabled and the creative inventory open.
![Minecraft 1.21.4 Fabric Modern UI inventory golden](fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png)
- minecraft-1.21.4-fabric-iris-bsl-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and BSL - minecraft-1.21.4-fabric-iris-bsl-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and BSL
Shaders after entering a singleplayer world. Shaders after entering a singleplayer world.
![Minecraft 1.21.4 Fabric Iris BSL in-world golden](fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.0000110725.png) ![Minecraft 1.21.4 Fabric Iris BSL in-world golden](fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.0000110725.png)