From ccffcbe01f9cd88f9a4d6d654bce571b13256f7a Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sun, 15 Mar 2026 13:37:38 +0100 Subject: [PATCH 1/5] 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/5] 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 From 5930312f794635747143a54a7b5b967b9b03fe91 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Mon, 16 Mar 2026 11:58:38 +0100 Subject: [PATCH 3/5] Update smoke test commands in CI build workflow Signed-off-by: Lorenzo Mangani --- .github/workflows/ci-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 5eb1757..69ee9af 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -37,8 +37,8 @@ jobs: - name: Smoke test run: | - ./build/ace-qwen3 --help 2>&1 | head -5 - ./build/dit-vae --help 2>&1 | head -5 + ./build/ace-lm --help 2>&1 | head -5 + ./build/ace-synth --help 2>&1 | head -5 ./build/quantize --help 2>&1 | head -3 lint: From 125597539cee3ff923e953931cf839c30cace23b Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Mon, 16 Mar 2026 12:00:47 +0100 Subject: [PATCH 4/5] Update release workflow to include new bin naming Signed-off-by: Lorenzo Mangani --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4777f3..205502e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,8 +95,8 @@ jobs: BIN="build" EXT="" fi - "$BIN/ace-qwen3$EXT" 2>&1 | head -5 - "$BIN/dit-vae$EXT" 2>&1 | head -5 + "$BIN/ace-lm$EXT" 2>&1 | head -5 + "$BIN/ace-synth$EXT" 2>&1 | head -5 "$BIN/ace-understand$EXT" 2>&1 | head -5 "$BIN/neural-codec$EXT" 2>&1 | head -5 "$BIN/quantize$EXT" 2>&1 | head -3 @@ -116,7 +116,7 @@ jobs: if: runner.os == 'Linux' run: | mkdir -p dist - cp build/ace-qwen3 build/dit-vae build/ace-understand \ + cp build/ace-* \ build/quantize build/neural-codec build/mp3-codec build/*.so dist/ tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" . @@ -125,10 +125,10 @@ jobs: run: | mkdir -p dist cd build - for bin in ace-qwen3 dit-vae ace-understand quantize neural-codec mp3-codec; do + for bin in ace-* 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/ + cp -P ace-ace-* quantize neural-codec mp3-codec libacestep*.a libggml*.dylib ../dist/ cd .. tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" . @@ -137,7 +137,7 @@ jobs: shell: pwsh run: | New-Item -ItemType Directory -Path dist | Out-Null - $bins = @('ace-qwen3','dit-vae','ace-understand','quantize','neural-codec','mp3-codec') + $bins = @('ace-lm','ace-synth','ace-understand','quantize','neural-codec','mp3-codec') foreach ($b in $bins) { Copy-Item "build\Release\$b.exe" dist\ } From 9a7f3906ecfe26224245fecc953ef733749879f2 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Mon, 16 Mar 2026 12:24:00 +0100 Subject: [PATCH 5/5] Fix file pattern in release packaging step Signed-off-by: Lorenzo Mangani --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 205502e..22f9e9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,7 +128,7 @@ jobs: for bin in ace-* quantize neural-codec mp3-codec; do install_name_tool -add_rpath @executable_path "$bin" done - cp -P ace-ace-* quantize neural-codec mp3-codec libacestep*.a libggml*.dylib ../dist/ + cp -P ace-* quantize neural-codec mp3-codec libacestep*.a libggml*.dylib ../dist/ cd .. tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" .