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.

T1f: what release.yml's first run found: Linux's runner installs NASM (rav1d's assembly), and the key scan counts an AWS key only standing alone, so a run of base64 (Bevy's inlined default font) isn't one

shinyobjectzf5596c75c6df
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 746f0fc6..296a2a06 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -56,7 +56,7 @@ jobs:
lfs: false
- name: Linux libraries
if: runner.os == 'Linux'
- run: sudo apt-get update && sudo apt-get install -y cmake ninja-build libasound2-dev libfontconfig1-dev libvulkan-dev libudev-dev mesa-vulkan-drivers xvfb
+ run: sudo apt-get update && sudo apt-get install -y cmake ninja-build nasm libasound2-dev libfontconfig1-dev libvulkan-dev libudev-dev mesa-vulkan-drivers xvfb
- name: macOS tools
if: runner.os == 'macOS'
run: brew install cmake ninja
diff --git a/tools/release-check.sh b/tools/release-check.sh
index 9f51223a..3deb21b7 100644
--- a/tools/release-check.sh
+++ b/tools/release-check.sh
@@ -88,7 +88,7 @@ grep -q "unsigned" "$check/app/native.log" || { tail -5 "$check/app/native.log"
# engine only: no raea API in the binaries, nothing key-shaped anywhere
api=$(cat "$check"/raea/bin/* | grep -aoE '(api|sign)\.raea\.io|RAEA_(SIGN|GEN)_TOKEN' | sort -u | tr '\n' ' ' || true)
[ -z "$api" ] || fail "the binaries name raea's API ($api): build raea-cli with --no-default-features"
-keys=$(grep -rlE 'sk-or-v1-[0-9a-f]{20}|sk-ant-[A-Za-z0-9_-]{20}|AKIA[0-9A-Z]{16}|BEGIN (RSA |EC |OPENSSH )?PRIVATE KEY' "$check/raea" 2>/dev/null | head -5 || true)
+keys=$(grep -rlE 'sk-or-v1-[0-9a-f]{20}|sk-ant-[A-Za-z0-9_-]{20}|(^|[^A-Za-z0-9+/])AKIA[0-9A-Z]{16}([^A-Za-z0-9+/=]|$)|BEGIN (RSA |EC |OPENSSH )?PRIVATE KEY' "$check/raea" 2>/dev/null | head -5 || true)
[ -z "$keys" ] || fail "key-shaped text in: $keys"
# Windows: our binaries only. Any other DLL, or a file named like the CRT, the SDK or DirectX's redistributables, is
# Microsoft's and isn't ours to ship