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.

release.yml: Windows builds openh264-sys2 every time instead of taking it from the cache volume's target/. v0.1.4-rc1's Windows job restored target/, compiled only raea-cli, and failed to link raea.exe on 135 of openh264's SIMD routines (WaverageChromaFilter8_sse2 and the rest), the failure 0.1.3-rc4's Chocolatey nasm left: a build whose assembly never reached the rlib stays fresh to cargo. Its C++ still comes from sccache

shinyobjectzc3b2108412d1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 02700014..84d4cc52 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -307,6 +307,13 @@ jobs:
- name: Use the compile cache
if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
run: bash .workflow/tools/release/compile-cache.sh
+ # openh264-sys2 is built here every time, never taken whole from the cache volume's target/: a build of it whose
+ # assembly didn't make it into the rlib (0.1.3-rc4's Chocolatey nasm) stays fresh to cargo on a restored target/,
+ # and every link after it fails on the same 135 SIMD routines (v0.1.4-rc1, 11-14: only raea-cli compiled, then
+ # WaverageChromaFilter8_sse2 and the rest unresolved). Its C++ comes back from sccache; the assembly is seconds
+ - name: openh264 built here, not restored
+ if: env.RAEA_PROMOTED_FROM == ''
+ run: rm -rf target/dist/build/openh264-sys2-* target/dist/deps/libopenh264_sys2-* target/dist/.fingerprint/openh264-sys2-*
- name: Build
if: env.RAEA_PROMOTED_FROM == ''
run: |