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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b93d03b..22f9e9d 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 @@ -88,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 @@ -109,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" . @@ -117,16 +124,20 @@ 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-* quantize neural-codec mp3-codec; do + install_name_tool -add_rpath @executable_path "$bin" + done + cp -P ace-* 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 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\ }