perf(macos): 保留 MLX 原生构建缓存
This commit is contained in:
1 parent
b268dcf978
commit
f89b767fbe
4 files changed
+61
No files matched your search
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user