ci: select macOS 26 SDK and verify release builds safely

This commit is contained in:
public-repo-gate
2026-09-13 15:12:03 +03:00
parent 0165069a77
commit 6dde0d66e5
13 changed files with 3080 additions and 3018 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ You download the speech model over the network by pressing a button.
## Step 1: look at what you are running
**What I do:** check the macOS version, the processor, and whether Xcode with Swift 6 is here.
**What I do:** check the macOS version, the processor, and, for building from source, Xcode 26 or newer with the macOS 26 SDK and Swift 6.
**Why:** iriz lives on macOS 14 and newer. The glass plate and real Liquid Glass are macOS 26;
on 14 and 15 the app works, but the plate is drawn the old way. Better to know that now than
+1 -1
View File
@@ -17,7 +17,7 @@
## Шаг 1: смотрим, на чем ты запускаешь
**Что я делаю:** проверяю версию macOS, процессор и наличие Xcode со Swift 6.
**Что я делаю:** проверяю версию macOS, процессор, а для сборки из исходников — наличие Xcode 26 или новее с macOS 26 SDK и Swift 6.
**Зачем:** iriz живет на macOS 14 и новее. Стеклянная плашка и настоящий Liquid Glass требуют
macOS 26; на 14 и 15 приложение работает, но плашка рисуется прежним способом. Знать это лучше
+1 -1
View File
@@ -16,7 +16,7 @@
## 第 1 步:先看看你在什么机器上运行
**我在做什么:** 检查 macOS 版本、处理器,以及有没有装带 Swift 6 的 Xcode。
**我在做什么:** 检查 macOS 版本、处理器,以及构建源码所需的 Xcode 26 或更新版本(含 macOS 26 SDK 和 Swift 6)是否已安装。
**为什么:** iriz 需要 macOS 14 或更新。玻璃浮窗和真正的 Liquid Glass 属于 macOS 26;在 14 和
15 上应用能用,但浮窗是按旧方式绘制的。这件事现在知道,比构建完再知道好。
+4 -2
View File
@@ -19,7 +19,7 @@ The two images are byte-identical. GitHub supports [a latest-release asset URL](
## Build and check locally
Use macOS with Xcode and Swift 6. Dependencies come from `Package.resolved`. For a build without a signing certificate or Finder automation:
Use macOS with Xcode 26, a macOS 26 SDK and Swift 6. The app still targets macOS 14+, but compiling its availability-guarded macOS 26 interface requires the newer SDK. Dependencies come from `Package.resolved`. For a build without a signing certificate or Finder automation:
```bash
swift test --no-parallel
@@ -43,7 +43,9 @@ For an experimental universal build, set `IRIZ_RELEASE_VARIANTS='arm64 universal
The **macOS release draft** workflow runs manually or on a `v*` tag in this public repository. It is inactive in forks and the private working repository. The tag, when present, must match `RELEASE_VERSION`.
The ARM64 runner runs the tests, builds the headless ad-hoc image and uploads exactly four files. A separate job verifies their checksums, version and source commit, then creates a **draft** release. It does not execute repository code with a write token. Existing releases and assets are never overwritten. A draft does not change the download button.
The standard ARM64 `macos-15` runner uses Xcode 26.3, listed in [GitHub's runner image manifest](https://github.com/actions/runner-images/blob/f95c0c791f690fa64eaf9788bea06643a4176db5/images/macos/macos-15-arm64-Readme.md#xcode). The preflight checks the selected Xcode, Swift and macOS SDK before compiling. The runner runs the tests, builds the headless ad-hoc image and uploads exactly four files. A separate job verifies their checksums, version and source commit, then creates a **draft** release. It does not execute repository code with a write token. Existing releases and assets are never overwritten. A draft does not change the download button.
To verify the full build for a version that is already published, use **Run workflow → build_only: true**. This runs the tests, builds and verifies the DMG, and uploads the four files as an Actions artifact. The entire release-writing job is skipped: no draft, tag, asset or Latest change. With the default `false`, an existing release makes the draft job fail without changing it.
A maintainer reviews the draft, the release notes and a clean-machine install, runs the publication checks, then publishes it. Publishing is a separate action. No Apple credentials are required by this workflow and no background updater is installed in the app.
+6
View File
@@ -4,6 +4,8 @@
Apple Silicon · macOS 14+ · self-signed, not notarized by Apple.
Verification limits: first launch under a new macOS account and live microphone dictation have not been checked. The full Parakeet download check did not finish. The published DMG was built locally from the source commit recorded in its manifest.
- Onboarding offers **Download and install Parakeet** (about 500 MB), progress and retry before the permission steps. Recover a skipped or missing model through **Settings → Dictation → Download Parakeet model…**. Parakeet is the only model with automatic installation; it does not recognize Chinese speech.
- Packaged apps include their language resources and Whisper framework. English and Chinese translations resolve from the app bundle, without the developer's build directory.
- Fixes cover the dictation overlay, history search and deletion, file transcription, meeting saves and settings navigation.
@@ -15,6 +17,8 @@ Open the DMG, drag iriz into Applications, then follow [the first-launch guide](
Apple Silicon · macOS 14+ · самоподпись, без нотаризации Apple.
До публикации не проверены первый запуск в новой учетной записи macOS и диктовка с микрофона. Проверка полной загрузки Parakeet не завершилась. Опубликованный DMG собран локально из коммита, указанного в манифесте.
- В знакомстве перед разрешениями есть кнопка **«Скачать и установить Parakeet»** (около 500 МБ), прогресс и повтор после ошибки. Пропущенную или удалённую модель можно восстановить через **«Настройки → Диктовка → Скачать модель Parakeet…»**. Автоматическая установка есть только для Parakeet; китайскую речь он не распознаёт.
- В пакет приложения входят переводы и Whisper. Английский и китайский загружаются из приложения без каталога сборки разработчика.
- Исправлены плашка диктовки, поиск и удаление истории, расшифровка файлов, сохранение встреч и переходы в настройках.
@@ -26,6 +30,8 @@ Apple Silicon · macOS 14+ · самоподпись, без нотаризац
Apple Silicon · macOS 14+ · 自签名,尚未通过 Apple 公证。
发布前尚未验证新 macOS 账户的首次启动和麦克风听写。Parakeet 完整下载检查未完成。已发布的 DMG 在本地构建,源代码提交记录在构建清单中。
- 授权步骤之前,引导提供**下载并安装 Parakeet**(约 500 MB)、进度及失败重试。跳过或删除模型后,可通过**设置 → 口述 → 下载 Parakeet 模型…**恢复。只有 Parakeet 支持自动安装,它不识别中文语音。
- 应用包包含翻译资源和 Whisper 框架。英语与中文翻译从应用包读取,不依赖开发者的构建目录。
- 修复听写浮窗、历史搜索与删除、文件转写、会议保存和设置导航。