From ccffcbe01f9cd88f9a4d6d654bce571b13256f7a Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sun, 15 Mar 2026 13:37:38 +0100 Subject: [PATCH 1/2] Refactor macOS binary packaging in release workflow Updated packaging process for macOS binaries to include rpath and additional libraries. Signed-off-by: Lorenzo Mangani --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b93d03b..926f325 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,10 +117,14 @@ jobs: if: runner.os == 'macOS' run: | mkdir -p dist - cp build/ace-qwen3 build/dit-vae build/ace-understand \ - build/quantize build/neural-codec build/mp3-codec dist/ + cd build + for bin in ace-qwen3 dit-vae ace-understand quantize neural-codec mp3-codec; do + install_name_tool -add_rpath @executable_path "$bin" + done + cp -P ace-qwen3 dit-vae ace-understand quantize neural-codec mp3-codec libacestep*.a libggml*.dylib ../dist/ + cd .. tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" . - + - name: Package binaries (Windows) if: runner.os == 'Windows' shell: pwsh From 2ffc1b30f5e503241bdd8077e823852f040bcc76 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sun, 15 Mar 2026 13:55:11 +0100 Subject: [PATCH 2/2] Add ccache step to release workflow Signed-off-by: Lorenzo Mangani --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 926f325..f4777f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,13 @@ jobs: sudo apt-get update -qq sudo apt-get install -y -qq cmake build-essential ${{ matrix.apt_extra || '' }} + - name: ccache + if: runner.os != 'Windows' + uses: hendrikmuhs/ccache-action@v1.2 + with: + create-symlink: true + key: ${{ github.job }}-${{ matrix.os }} + - name: Install CUDA toolkit (Linux) uses: Jimver/cuda-toolkit@v0.2.30 if: matrix.install_cuda == true