update build yaml

This commit is contained in:
Skyler Lehmkuhl 2026-02-24 14:13:51 -05:00
parent 299891dab9
commit 9d521732cc
1 changed files with 20 additions and 2 deletions

View File

@ -160,6 +160,12 @@ jobs:
grep -A4 'fn get_ffmpeg_target_os' "$BUILDRS"
echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> "$GITHUB_ENV"
- name: Clean stale nam-ffi build artifacts
shell: bash
run: |
rm -rf lightningbeam-ui/target/release/build/nam-ffi-*
rm -rf lightningbeam-ui/target/debug/build/nam-ffi-*
- name: Build release binary
shell: bash
env:
@ -167,9 +173,21 @@ jobs:
run: |
cd lightningbeam-ui
if [ -n "${{ matrix.target }}" ]; then
cargo build --release --bin lightningbeam-editor --target ${{ matrix.target }}
cargo build -vv --release --bin lightningbeam-editor --target ${{ matrix.target }} 2>&1 | tee /tmp/build.log || {
echo "=== nam-ffi build output ==="
grep -A50 'running.*nam-ffi\|Compiling nam-ffi\|NeuralAudio' /tmp/build.log | head -80
echo "=== nam-ffi OUT_DIR contents ==="
find target -path '*/nam-ffi-*/out/build' -exec ls -R {} \; 2>/dev/null || echo "not found"
exit 1
}
else
cargo build --release --bin lightningbeam-editor
cargo build -vv --release --bin lightningbeam-editor 2>&1 | tee /tmp/build.log || {
echo "=== nam-ffi build output ==="
grep -A50 'running.*nam-ffi\|Compiling nam-ffi\|NeuralAudio' /tmp/build.log | head -80
echo "=== nam-ffi OUT_DIR contents ==="
find target -path '*/nam-ffi-*/out/build' -exec ls -R {} \; 2>/dev/null || echo "not found"
exit 1
}
fi
- name: Copy cross-compiled binary to release dir