perf(macos): 保留 MLX 原生构建缓存

This commit is contained in:
sim committed 2026-09-25 14:05:26 +08:00
1 parent b268dcf978
commit f89b767fbe
4 files changed
+61

No files matched your search

+11
View File
@@ -252,6 +252,12 @@ jobs:
openless-all/app -> target
openless-all/app/src-tauri -> target
- name: Cache macOS MLX native build
if: runner.os == 'macOS' && runner.arch == 'ARM64'
uses: ./.github/actions/cache-macos-mlx
with:
profile: debug
- name: Prepare Windows Sherpa static libraries
if: runner.os == 'Windows'
shell: pwsh
@@ -388,6 +394,11 @@ jobs:
workspaces: |
openless-all/app/src-tauri -> target
openless-all/app/src-tauri/backend-tests -> target
- name: Cache macOS MLX native build
if: runner.arch == 'ARM64'
uses: ./.github/actions/cache-macos-mlx
with:
profile: debug
- run: npm ci
- run: npm run build
- name: Check Tauri backend with Rust 1.88 MSRV
+6
View File
@@ -92,6 +92,12 @@ jobs:
key: macos-release-v1
workspaces: 'openless-all/app/src-tauri -> target'
- name: Cache macOS MLX native build
if: matrix.updater-arch == 'aarch64'
uses: ./.github/actions/cache-macos-mlx
with:
profile: release
- name: Prepare Windows Sherpa static libraries
if: matrix.platform == 'windows-latest'
working-directory: 'openless-all/app'