Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/desktop_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,14 @@ jobs:
apple-certificate-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
keychain-password: ${{ secrets.KEYCHAIN_PASSWORD }}
- run: |
FEATURES_FLAG=""
BUILD_ARGS=(--target "${{ matrix.target }}" --config "${{ env.TAURI_CONF_PATH }}" --verbose)
if [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then
BUILD_ARGS+=(--config ./src-tauri/tauri.conf.macos-intel.json)
fi
if [[ "${{ inputs.channel }}" == "staging" ]]; then
FEATURES_FLAG="--features devtools"
BUILD_ARGS+=(--features devtools)
fi
pnpm -F desktop tauri build --target ${{ matrix.target }} --config ${{ env.TAURI_CONF_PATH }} --verbose $FEATURES_FLAG
pnpm -F desktop tauri build "${BUILD_ARGS[@]}"
env:
# https://v2.tauri.app/reference/environment-variables/
CI: false
Expand Down
9 changes: 9 additions & 0 deletions apps/desktop/src-tauri/tauri.conf.macos-intel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bundle": {
"macOS": {
"files": {
"Resources/mlx-swift_Cmlx.bundle/default.metallib": null
}
}
}
}
Loading