Repository navigation
ci(release): incubating Android (aarch64/armv7) and OpenHarmony legs - #247
Merged
Merged
Conversation
build-android: aarch64-linux-android + armv7-linux-androideabi, real bionic link via nttld/setup-ndk (r27c, API 24 clang drivers), zip artifact per leg, ELF-arch verification in place of the (impossible on-runner) runtime smoke, disclosed on the step summary. build-openharmony: aarch64-unknown-linux-ohos, check-only by design (Tier 2 with host tools, same target ci.yml gates); real linking needs the OHOS SDK clang wrapper, which has no runner preinstall and no version-pinned fetch path yet, so no binary is produced or shipped from this leg -- the artifact is the check log. Both jobs: continue-on-error, NOT in the release needs -- same incubation shape the musl leg followed before #221 tightened it. Tighten only after they run green for a cycle. docs: platform-support status matrix rows + an Android section. Refs #207
caomengxuan666
added a commit
that referenced
this pull request
Oct 10, 2026
…notes draft (#254) - Version 1.3.4 -> 1.4.0 (workspace root + crates/niubash-runtime; Cargo.lock synced; internal niubash-runtime dep requirement aligned 1.2.5 -> 1.4.0). The rubash engine requirement stays 1.3.4: it is semver-open (^1.3.4 admits the engine's 1.4.0), and the committed [patch] resolves it to the local ../rubash worktree, whose Cargo.toml still says 1.3.4 until the engine cuts its own release. - CHANGELOG: the Unreleased section becomes [1.4.0] - 2026-10-10. Also repairs the committed merge damage from #243 (stray conflict marker and the #241 doctor-advice entry glued onto the carapace entry) and folds in the merged cycle: #235 #239 #246 #247 #250 #251 #252 #253 plus a compact rubash 1.4.0 engine summary. #240's P2-batch content stays under [1.3.4] where the file already records it (no dup). - docs/release-notes-1.4.0-draft.md: zh+en draft release notes (Added / Fixed / Performance), winuxcmd #1151/#1154-#1157 marked as in-flight for the coordinator, plus the local verification log: release build PASS (niu.exe 10.6 MB), MSIX packed unsigned with a placeholder identity (5.1 MB), wpm-source main carries all four preinstall packages, and cargo publish --dry-run chain findings (rubash -> niubash-runtime -> niubash, blocked on the engine's crates.io release). No tag, no release workflow trigger, no in-flight PRs merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
roadmap #207 的 Android / OpenHarmony release 腿。沿用 #210(cross-target-check)→ #221(musl smoke-gate)确立的演进模式:先放实验腿跑绿,再收紧成门禁。
改动(.github/workflows/release.yml,+215 行,不动现有 job)
build-android(aarch64 + armv7,真链接)
nttld/setup-ndk(r27c)提供 bionic clang driver,CARGO_TARGET_*_LINKER指向 API 24 wrapper,cargo build --locked --release真链接(rubash#456 已修完 bionic cfg 面:AT_EACCESS、confstr、sa_restorer、32 位off_t/S_IFMT)。niubash-v<ver>-android-{aarch64,armv7}.zip(niu + README + LICENSE),命名沿用现有niubash-v<ver>-<os>-<arch>惯例,artifact 上传到 workflow run。file断言 ELF 架构匹配,并在 step summary 明示「未 smoke」。这个 artifact 是 build-verified,不是 smoke-verified。build-openharmony(aarch64-unknown-linux-ohos,check-only,刻意为之)
cargo check --workspace --locked不需要 OHOS SDK——与 ci.ymlcross-target-check的 ohos target 同一结论。门禁
continue-on-error: true,不进release的 needs——产物只到 workflow artifact,永不进 GitHub Release。跑绿一个周期后再收紧(同 musl:ci: gate the musl and OpenHarmony targets #210 check → ci(linux): smoke-gate the musl leg and retire the "musl never compiled" hold #221 smoke/release 的次序)。release.needs一字未动。docs
docs/src/platform-support.md状态矩阵加 Android 行 + 新增 Android 小节;OHOS 行标注 check-only。验证
本地已验证:
release.needs不变确认overwrite_files告警是 master 上releasejob 已有的,与本 PR 无关)待 CI 验证(本 PR 无法本地覆盖):
build-android (aarch64):NDK 下载、bionic 真链接成功build-android (armv7):同上(32 位 bionic,rubash#456 的off_t/S_IFMTcfg 面)build-openharmony:ohos targetcargo check在 tag 源上绿明确不声称的: android zip 未在任何 Android 运行时上 smoke;ohos 未链接。这是本 PR 的已知边界,不是疏漏。
后续
continue-on-error、进releaseneeds(或先单独收紧 android)Refs #207(部分推进 Android/OH 线)