Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

Windows Live play runs the zip's raea, unpacked, with RAEA_NO_TREE=1 and the cases copied out of the checkout. target/dist's raea has no share/raea beside it, so its home was the checkout with the build's target/ in it, and there every 3D case ran past 300 s (v0.1.0-rc1: 10 of 13 open), where fresh-runner probes of the same zip opened them in 19 to 67 s, after release-check too. A failing case whose log is empty no longer ends the step's log loop (grep -v exits 1 on it under pipefail)

shinyobjectz65eb89e635bc
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fd5e1855..d910cfb5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -203,12 +203,17 @@ jobs:
env:
VK_LOADER_DEBUG: ""
RAEA_CASE_SECONDS: "300"
+ # the zip's raea, unpacked, with RAEA_NO_TREE=1 and the cases copied out of the checkout, as a user's machine has
+ # them: target/dist's raea has no share/raea beside it, so its home is this checkout, 2 h of build in target/
+ # included, and there its 3D cases ran past 300 s each (rc1) where the unpacked zip's open in under 70 s
run: |
- b="$PWD/target/dist/raea.exe"
+ u="$RUNNER_TEMP/play-zip"; c="$RUNNER_TEMP/play-cases"
+ mkdir -p "$u" && 7z x -y -o"$u" dist/raea-*.zip > /dev/null && cp -r sdk/raea/bench/bevy-ts/cases "$c"
+ b="$u/raea/bin/raea.exe"
out="${TMPDIR:-/tmp}/raea-bevy-ts"
- s=0; RAEA_BIN="$b" RAEA_PLUGIN_BIN="$b" bash sdk/raea/bench/bevy-ts/check.sh $(grep -l '^// play:' sdk/raea/bench/bevy-ts/cases/*.tsx) 2>&1 | tee "$RUNNER_TEMP/play.txt" || s=$?
+ s=0; RAEA_NO_TREE=1 RAEA_BIN="$b" RAEA_PLUGIN_BIN="$b" bash sdk/raea/bench/bevy-ts/check.sh $(grep -l '^// play:' "$c"/*.tsx) 2>&1 | tee "$RUNNER_TEMP/play.txt" || s=$?
cat "$RUNNER_TEMP/play.txt" >> "$GITHUB_STEP_SUMMARY"
- for n in $(sed -n 's/^\([^ ]*\) (.*): OPEN.*/\1/p' "$RUNNER_TEMP/play.txt"); do echo "--- $n"; grep -v "known driver" "$out/$n.log" | tail -25; done
+ for n in $(sed -n 's/^\([^ ]*\) (.*): OPEN.*/\1/p' "$RUNNER_TEMP/play.txt"); do echo "--- $n"; { grep -v "known driver" "$out/$n.log" || echo "(its log is empty)"; } | tail -25; done
exit $s
- uses: actions/attest-build-provenance@v2
with: