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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
Release CI: the skills unpack without raea-skills' root symlink, the macOS and Linux packing gets its disk back, and a failed styles check says why (#61)
shanece63b7a28039
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a56ab914..b5409d20 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -84,6 +84,12 @@ jobs:mkdir shipcp target/dist/raea target/dist/${{ matrix.lib }} target/dist/raea-rune-host target/dist/raea-page-host ship/if [ -n "${{ matrix.extra }}" ]; then cp target/dist/${{ matrix.extra }} ship/; fi+ # the packing and its checks need only ship/, and macos-15's disk ran out packing rc1 with target/ kept+ - name: Free the build's disk+ run: |+ df -h . | tail -1+ rm -rf target+ df -h . | tail -1- name: Where the skills gate passedrun: bash tools/release/skills-passed.sh "$TAG" "${{ inputs.skills_passed }}"- name: Pack and check (tools/release.sh)@@ -93,12 +99,14 @@ jobs:v=${TAG#v}if [ "$RUNNER_OS" = Linux ]; then xvfb-run -a -s "-screen 0 1280x1024x24" bash tools/release.sh "$v" ship HEADelse bash tools/release.sh "$v" ship HEAD; fi- # a failed check's own files (the app check's frames and logs), not the unpacked release+ # a failed check's own files (the app check's frames, every step's log), not the unpacked release- uses: actions/upload-artifact@v4if: failure()with:name: release-check-${{ runner.os }}- path: ${{ runner.temp }}/release-check/app+ path: |+ ${{ runner.temp }}/release-check/app+ ${{ runner.temp }}/release-check/**/*.logretention-days: 7if-no-files-found: ignore- uses: actions/attest-build-provenance@v2diff --git a/tools/release-check.sh b/tools/release-check.shindex 8a5ba72d..c6067edf 100644--- a/tools/release-check.sh+++ b/tools/release-check.sh@@ -56,7 +56,8 @@ TS# and its guides and styles.gen come from the release too(cd "$check/p" && RAEA_NO_TREE=1 "$raea" guide music | grep -q "music") || fail "the unpacked raea has no craft guides"mkdir -p "$check/styled" && { echo 'import { css } from "./styles.gen";'; cat "$check/p/hello.tsx"; echo 'void css;'; } > "$check/styled/hello.tsx"-(cd "$check/styled" && RAEA_NO_TREE=1 "$raea" render hello.tsx --frame 1 -o hello.png >/dev/null 2>&1 && [ -s styles.gen.ts ]) || fail "the unpacked raea didn't write styles.gen.ts"+(cd "$check/styled" && RAEA_NO_TREE=1 "$raea" render hello.tsx --frame 1 -o hello.png > render.log 2>&1 && [ -s styles.gen.ts ]) \+ || { tail -20 "$check/styled/render.log" >&2; fail "the unpacked raea didn't write styles.gen.ts"; }# the app targets (docs/targets.feature T1c, T1e, T1f): an app importing react, @raea/ui and @raea/rune, bundled by the# release's own raea (no bun), checked headless on each target with one press: its frames, the press drawn (the# frame after it differs from the mount's) and an empty unmapped.json; filmed on native, the public engine's MP4 saysdiff --git a/tools/release.sh b/tools/release.shindex 44495f83..d2f1a51d 100755--- a/tools/release.sh+++ b/tools/release.sh@@ -69,7 +69,8 @@ gate_inputs=(skills sdk/guides docs/skills.glossary.md engine/cli/src tools/skilskills_at() {local pin; pin=$(git rev-parse "$ref:skills") || { echo "release.sh: $ref pins no raea-skills (skills/)" >&2; return 1; }git -C skills cat-file -e "$pin^{commit}" 2>/dev/null || git -C skills fetch -q origin "$pin" || { echo "release.sh: raea-skills has no commit $pin (git submodule update --init skills)" >&2; return 1; }- mkdir -p "$1" && git -C skills archive "$pin" | tar -x -C "$1"+ # its skills/ folder alone: the repo's root holds a symlink (AGENTS.md) that Windows' tar can't make, and nothing reads it+ mkdir -p "$1" && git -C skills archive "$pin" skills | tar -x -C "$1"}if [ ! -f "$root/apps/app/src/acp/protocol.ts" ]; then[ -n "${RAEA_SKILLS_PASSED:-}" ] || { echo "release.sh: no feed app here (apps/app), so the skills gate can't run; run tools/skills.sh check in a checkout with the feed app, then name the commit it passed on as RAEA_SKILLS_PASSED (release.yml: a \"skills-passed: <sha>\" line in the annotated tag's message, or the skills_passed input when run by hand)" >&2; exit 1; }