Drop the SDK-dependent CI and empty the toolchain bucket - #6
Merged
Conversation
The HarmonyOS workflows fed themselves from a private R2 bucket, since Huawei's DevEco tools cannot be fetched by a runner or redistributed. That bucket is now empty, so the three workflows that read from it — the Linux HAP build, the macOS ArkTS unit tests and the self-hosted emulator e2e — are removed rather than left to fail on every push. The repository secrets they used are deleted too. CI keeps the four host-side workflows, which need no SDK and still gate every push and pull request: lint, test-core, test-cross and test-tun. Everything SDK-dependent goes back to being local-only, driven by the same scripts as before — ci/hos-emulator-e2e.sh for the on-device suites, hvigorw for the build and the ArkTS tests. ci/package-hos-toolchain.sh and ci/r2-env.sh stay as the tooling to restore the setup, and the docs keep what that round established: the Linux toolchain must be stored as Huawei's zip verbatim (19 paths differ only in case), restool needs libGL on Linux, the ArkTS unit tests cannot run on Linux at all because the previewer their runner drives is missing libshared_libz.so there, and the emulator needs HVF, which no GitHub-hosted runner provides. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
The HarmonyOS workflows fed themselves from a private R2 bucket, because Huawei's DevEco command-line tools cannot be fetched by a runner or redistributed. That bucket has been emptied, so the three workflows that read from it are removed rather than left to fail on every push:
harmonyos-build.yml(hosted Linux HAP build + signing)harmonyos-unit-tests.yml(hosted macOS ArkTS unit tests)harmonyos-e2e.yml(self-hosted emulator e2e)The repository secrets
R2_API_TOKENandR2_ENDPOINTare deleted as well.What CI still covers
lint,test-core,test-crossandtest-tun— all hosted Linux, no SDK needed, gating every push and pull request as before. Everything SDK-dependent goes back to local-only, driven by the same scripts:ci/hos-emulator-e2e.shfor the on-device suites,hvigorwfor the build and the ArkTS tests.Restoring it
ci/package-hos-toolchain.shandci/r2-env.shstay as the tooling; the workflows are onegit revertaway. Bringing it back costs ~5.5 GB in a bucket, two secrets, and — for the emulator — a self-hosted Apple-silicon runner. The docs keep the findings from that round so they don't have to be rediscovered: the Linux toolchain must be stored as Huawei's zip verbatim (19 paths differ only in case),restoolneeds libGL on Linux, the ArkTS unit tests cannot run on Linux at all (the previewer their runner drives is missinglibshared_libz.sothere, so specs silently never execute), and the emulator needs HVF, which no GitHub-hosted runner provides.🤖 Generated with Claude Code