Move the Photos bridge types into the desktop contract, expose rakazoDesktop.media.photos from the preload, connect the sync runner in the main process through an authenticated oRPC client, package and sign the helper, and build and test it on macOS CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138YqDj3ttfayRwuMKKrqVj
33 lines
844 B
YAML
33 lines
844 B
YAML
name: desktop-photos-helper
|
|
on:
|
|
pull_request:
|
|
paths: &photos-helper-paths
|
|
- ".github/workflows/desktop-photos-helper.yml"
|
|
- "apps/desktop/native/photos-helper/**"
|
|
push:
|
|
branches: [main]
|
|
paths: *photos-helper-paths
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: desktop-photos-helper-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
swift:
|
|
name: Photos helper build and XCTest
|
|
runs-on: [self-hosted, evoo-ci, macOS]
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: false
|
|
- name: Build and test
|
|
working-directory: apps/desktop/native/photos-helper
|
|
run: |
|
|
set -euo pipefail
|
|
swift build -c release
|
|
swift test
|