mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
[Chore] (trace-replay): use manifest file to organize retrace fixtures
This commit is contained in:
@@ -8,111 +8,17 @@ fi
|
||||
|
||||
case_name="$1"
|
||||
fixture_dir="${2:-tools/trace_replay/fixtures}"
|
||||
python_bin="${PYTHON:-python3}"
|
||||
|
||||
files=()
|
||||
if ! command -v "${python_bin}" >/dev/null 2>&1 && command -v python >/dev/null 2>&1; then
|
||||
python_bin=python
|
||||
fi
|
||||
|
||||
add_standard_case() {
|
||||
local golden_suffix="$1"
|
||||
files+=(
|
||||
"${fixture_dir}/${case_name}.tgz"
|
||||
"${fixture_dir}/${case_name}.${golden_suffix}.png"
|
||||
)
|
||||
}
|
||||
|
||||
case "${case_name}" in
|
||||
OpenRA)
|
||||
files+=(
|
||||
"${fixture_dir}/openra.tgz"
|
||||
"${fixture_dir}/openra.0000031249.png"
|
||||
)
|
||||
;;
|
||||
minecraft-1.21.4-startup)
|
||||
add_standard_case "0000092195"
|
||||
;;
|
||||
minecraft-1.21.4-main-menu)
|
||||
add_standard_case "0000481787"
|
||||
;;
|
||||
minecraft-1.21.4-in-world)
|
||||
add_standard_case "0000280000"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-sodium-in-world)
|
||||
add_standard_case "0000923340"
|
||||
;;
|
||||
minecraft-26.2-main-menu)
|
||||
add_standard_case "0000101926"
|
||||
;;
|
||||
minecraft-26.2-in-world)
|
||||
add_standard_case "0000519370"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-rei-inventory-normal-world)
|
||||
add_standard_case "0000734465"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world)
|
||||
add_standard_case "0000457190"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world)
|
||||
add_standard_case "0000573061"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-journeymap-in-world-normal-world)
|
||||
add_standard_case "0000641975"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-modernui-inventory-normal-world)
|
||||
add_standard_case "0000727926"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-bsl-in-world)
|
||||
add_standard_case "0000110725"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-makeup-ultrafast-in-world)
|
||||
add_standard_case "0000095322"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-super-duper-vanilla-in-world)
|
||||
add_standard_case "0000141559"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-sundial-lite-in-world)
|
||||
add_standard_case "0000150023"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world)
|
||||
add_standard_case "0000151297"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-complementary-unbound-in-world)
|
||||
add_standard_case "0000146559"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-mellow-in-world)
|
||||
add_standard_case "0000096143"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-nostalgia-in-world)
|
||||
files+=(
|
||||
"${fixture_dir}/${case_name}.tgz"
|
||||
"${fixture_dir}/${case_name}.0000153808-linux-mesa.png"
|
||||
"${fixture_dir}/${case_name}.0000153808.png"
|
||||
)
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-bliss-in-world)
|
||||
add_standard_case "0000113511"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-chocapic-v6-lite-in-world)
|
||||
add_standard_case "0000125124-linux-mesa"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-iterationt-in-world)
|
||||
add_standard_case "0000110538"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-iterationt-nodsa-in-world)
|
||||
add_standard_case "0000115019"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-photon-v1.1-in-world)
|
||||
add_standard_case "0000159866"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-photon-v1.3b-in-world)
|
||||
add_standard_case "0000172128"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-iris-derivative-main-d24.4.14-in-world)
|
||||
add_standard_case "0000145353"
|
||||
;;
|
||||
*)
|
||||
echo "unknown trace case: ${case_name}" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
fixture_list="$("${python_bin}" tools/trace_replay/trace_cases.py \
|
||||
--format fixture-files \
|
||||
--case "${case_name}" \
|
||||
--fixture-root "${fixture_dir}")"
|
||||
mapfile -t files <<< "${fixture_list}"
|
||||
|
||||
include="$(IFS=,; echo "${files[*]}")"
|
||||
if [ "${case_name}" = "OpenRA" ]; then
|
||||
|
||||
+17
-329
@@ -128,10 +128,25 @@ jobs:
|
||||
path: android-plugin/app/build/outputs/apk/*Trace/release/*.apk
|
||||
if-no-files-found: error
|
||||
|
||||
trace-cases:
|
||||
name: trace case matrix
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
android: ${{ steps.trace-cases.outputs.android }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Load trace cases
|
||||
id: trace-cases
|
||||
run: echo "android=$(python3 tools/trace_replay/trace_cases.py --format github-apk)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
retrace:
|
||||
name: retrace (${{ matrix.backend.name }}, ${{ matrix.case.name }})
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
needs:
|
||||
- build
|
||||
- trace-cases
|
||||
timeout-minutes: 75
|
||||
env:
|
||||
AVD_NAME: mobilegl-${{ matrix.backend.id }}
|
||||
@@ -150,334 +165,7 @@ jobs:
|
||||
apk: MobileGL-MagmaTrace-release.apk
|
||||
package: top.mobilegl.plugin.magma.trace
|
||||
gpu: lavapipe
|
||||
case:
|
||||
- name: OpenRA
|
||||
trace_archive: tools/trace_replay/fixtures/openra.tgz
|
||||
trace_file: openra.trace
|
||||
golden: tools/trace_replay/fixtures/openra.0000031249.png
|
||||
target_call: 31249
|
||||
width: 640
|
||||
height: 480
|
||||
crop_x: 1
|
||||
crop_y: 1
|
||||
crop_width: 638
|
||||
crop_height: 478
|
||||
timeout_seconds: 180
|
||||
- name: minecraft-1.21.4-startup
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-startup.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-startup.0000092195.png
|
||||
target_call: 92195
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 180
|
||||
- name: minecraft-1.21.4-main-menu
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-main-menu.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-main-menu.0000481787.png
|
||||
alternate_golden: tools/trace_replay/fixtures/minecraft-1.21.4-main-menu.0000481787-mali.png
|
||||
target_call: 481787
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 180
|
||||
- name: minecraft-1.21.4-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-in-world.0000280000.png
|
||||
target_call: 280000
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-sodium-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-sodium-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-sodium-in-world.0000923340.png
|
||||
target_call: 923340
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 1800
|
||||
- name: minecraft-26.2-main-menu
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-26.2-main-menu.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-26.2-main-menu.0000101926.png
|
||||
target_call: 101926
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 180
|
||||
- name: minecraft-26.2-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-26.2-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-26.2-in-world.0000519370.png
|
||||
target_call: 519370
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-rei-inventory-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0000734465.png
|
||||
target_call: 734465
|
||||
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-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0000457190.png
|
||||
target_call: 457190
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 10
|
||||
crop_width: 140
|
||||
crop_height: 158
|
||||
timeout_seconds: 1800
|
||||
- name: minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0000573061.png
|
||||
target_call: 573061
|
||||
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-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0000641975.png
|
||||
target_call: 641975
|
||||
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-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0000727926.png
|
||||
target_call: 727926
|
||||
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
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.0000110725.png
|
||||
alternate_golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.0000110725-mali.png
|
||||
target_call: 110725
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-makeup-ultrafast-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-makeup-ultrafast-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-makeup-ultrafast-in-world.0000095322.png
|
||||
target_call: 95322
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-super-duper-vanilla-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-super-duper-vanilla-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-super-duper-vanilla-in-world.0000141559.png
|
||||
target_call: 141559
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-sundial-lite-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-sundial-lite-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-sundial-lite-in-world.0000150023.png
|
||||
target_call: 150023
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world.0000151297.png
|
||||
target_call: 151297
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-complementary-unbound-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-complementary-unbound-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-complementary-unbound-in-world.0000146559.png
|
||||
target_call: 146559
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-mellow-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-mellow-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-mellow-in-world.0000096143.png
|
||||
target_call: 96143
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-nostalgia-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-nostalgia-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-nostalgia-in-world.0000153808-linux-mesa.png
|
||||
alternate_golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-nostalgia-in-world.0000153808.png
|
||||
target_call: 153808
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-bliss-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bliss-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bliss-in-world.0000113511.png
|
||||
target_call: 113511
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-chocapic-v6-lite-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-chocapic-v6-lite-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-chocapic-v6-lite-in-world.0000125124-linux-mesa.png
|
||||
target_call: 125124
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-iterationt-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-iterationt-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-iterationt-in-world.0000110538.png
|
||||
target_call: 110538
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-iterationt-nodsa-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-iterationt-nodsa-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-iterationt-nodsa-in-world.0000115019.png
|
||||
target_call: 115019
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-photon-v1.1-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-photon-v1.1-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-photon-v1.1-in-world.0000159866.png
|
||||
target_call: 159866
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-photon-v1.3b-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-photon-v1.3b-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-photon-v1.3b-in-world.0000172128.png
|
||||
target_call: 172128
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-iris-derivative-main-d24.4.14-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-derivative-main-d24.4.14-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-derivative-main-d24.4.14-in-world.0000145353.png
|
||||
target_call: 145353
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
case: ${{ fromJSON(needs.trace-cases.outputs.android) }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
+15
-28
@@ -329,12 +329,26 @@ jobs:
|
||||
path: ci-artifacts/mobilegl-trace-replay.tgz
|
||||
if-no-files-found: error
|
||||
|
||||
trace-cases:
|
||||
name: trace case matrix
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
names: ${{ steps.trace-cases.outputs.names }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Load trace cases
|
||||
id: trace-cases
|
||||
run: echo "names=$(python3 tools/trace_replay/trace_cases.py --format names)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
retrace:
|
||||
name: retrace (${{ matrix.backend }}, ${{ matrix.case }})
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-linux
|
||||
- build-retrace
|
||||
- trace-cases
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -342,34 +356,7 @@ jobs:
|
||||
backend:
|
||||
- DirectGLES
|
||||
- DirectVulkan
|
||||
case:
|
||||
- OpenRA
|
||||
- minecraft-1.21.4-startup
|
||||
- minecraft-1.21.4-main-menu
|
||||
- minecraft-1.21.4-in-world
|
||||
- minecraft-1.21.4-fabric-sodium-in-world
|
||||
- minecraft-26.2-main-menu
|
||||
- minecraft-26.2-in-world
|
||||
- minecraft-1.21.4-fabric-rei-inventory-normal-world
|
||||
- minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world
|
||||
- minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
|
||||
- minecraft-1.21.4-fabric-journeymap-in-world-normal-world
|
||||
- minecraft-1.21.4-fabric-modernui-inventory-normal-world
|
||||
- minecraft-1.21.4-fabric-iris-bsl-in-world
|
||||
- minecraft-1.21.4-fabric-iris-makeup-ultrafast-in-world
|
||||
- minecraft-1.21.4-fabric-iris-super-duper-vanilla-in-world
|
||||
- minecraft-1.21.4-fabric-iris-sundial-lite-in-world
|
||||
- minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world
|
||||
- minecraft-1.21.4-fabric-iris-complementary-unbound-in-world
|
||||
- minecraft-1.21.4-fabric-iris-mellow-in-world
|
||||
- minecraft-1.21.4-fabric-iris-nostalgia-in-world
|
||||
- minecraft-1.21.4-fabric-iris-bliss-in-world
|
||||
- minecraft-1.21.4-fabric-iris-chocapic-v6-lite-in-world
|
||||
- minecraft-1.21.4-fabric-iris-iterationt-in-world
|
||||
- minecraft-1.21.4-fabric-iris-iterationt-nodsa-in-world
|
||||
- minecraft-1.21.4-fabric-iris-photon-v1.1-in-world
|
||||
- minecraft-1.21.4-fabric-iris-photon-v1.3b-in-world
|
||||
- minecraft-1.21.4-fabric-iris-derivative-main-d24.4.14-in-world
|
||||
case: ${{ fromJSON(needs.trace-cases.outputs.names) }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
|
||||
Reference in New Issue
Block a user