ci: match the verified Xcode 26.6 release compiler

This commit is contained in:
public-repo-gate
2026-09-13 15:28:06 +03:00
parent 6dde0d66e5
commit 7c1bf5a5ad
12 changed files with 2859 additions and 2847 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, for building from source, Xcode 26 or newer with the macOS 26 SDK and Swift 6.
**What I do:** check the macOS version, the processor, and, for building from source, the tested Xcode 26.6 toolchain (macOS 26 SDK, Swift 6.3.3).
**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 26 или новее с macOS 26 SDK и Swift 6.
**Что я делаю:** проверяю версию macOS, процессор, а для сборки из исходников — наличие проверенного Xcode 26.6 (macOS 26 SDK, Swift 6.3.3).
**Зачем:** iriz живет на macOS 14 и новее. Стеклянная плашка и настоящий Liquid Glass требуют
macOS 26; на 14 и 15 приложение работает, но плашка рисуется прежним способом. Знать это лучше
+1 -1
View File
@@ -16,7 +16,7 @@
## 第 1 步:先看看你在什么机器上运行
**我在做什么:** 检查 macOS 版本、处理器,以及构建源码所需的 Xcode 26 或更新版本(含 macOS 26 SDK 和 Swift 6)是否已安装。
**我在做什么:** 检查 macOS 版本、处理器,以及用于源码构建、已经验证的 Xcode 26.6(macOS 26 SDK、Swift 6.3.3)是否已安装。
**为什么:** iriz 需要 macOS 14 或更新。玻璃浮窗和真正的 Liquid Glass 属于 macOS 26;在 14 和
15 上应用能用,但浮窗是按旧方式绘制的。这件事现在知道,比构建完再知道好。
+2 -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 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:
Use Xcode 26.6 (build 17F113), its macOS 26 SDK and Swift 6.3.3, matching the release toolchain. The app still targets macOS 14+, but compiling its availability-guarded macOS 26 interface requires the newer SDK. Xcode 26.3 failed to type-check two prompt expressions; a Swift 6 version check alone is not enough. Dependencies come from `Package.resolved`. For a build without a signing certificate or Finder automation:
```bash
swift test --no-parallel
@@ -43,7 +43,7 @@ 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 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.
The standard ARM64 `macos-26` runner uses Xcode 26.6, listed in [GitHub's runner image manifest](https://github.com/actions/runner-images/blob/0af81b6d930d02b52941d584bee9214c4bc228c6/images/macos/macos-26-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.