Repository navigation
Simplify ORT build workflow and tighten smoke checks - #21
Merged
laurenspriem merged 8 commits intoNov 3, 2026
Merged
Conversation
Contributor
Author
|
@codex review |
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.
ORT upgrades can now be tried on a branch, for one platform or the full matrix, without producing a publishable candidate. Shared checksum-pinned CMake/vcpkg setup replaces the duplicated action configuration and Windows ARM64 workaround; unused ccache downloads, whole-build retries and duplicate candidate checks are removed.
The Android retry was masking a real failure: in the 1.31.0-r1 release the x86_64 job exited silently right after Gradle succeeded, and the retry rescued it. The likely cause, not reproduced on Linux, is
awk ... exitclosing the pipe onllvm-readelfunderpipefail; that pipeline failed 6 of 1,200 runs under load on macOS. Checks exposed to this pipe race now capture tool output before parsing it. The same pattern in the desktop and iOS checks could also skip a debug-section check instead of failing. That was shown only with a forced slow producer; realotoolshowed no failure in 2,400 runs under load. Tool downloads keep the three attempts the removed action made.The existing publisher, provenance format and 35-asset contract are retained. Release candidates still require a successful complete build on main, and the build now enforces that Validate passed on a push of that commit. The verifier now checks every manifest field; smoke tests reject non-finite values and run providers with CPU fallback disabled. The macOS architecture check now excludes the filename from
fileoutput; previously,macos-arm64in the path could let an x86_64 dylib pass. The routine release in the README is three steps: build, test on physical devices, publish. The checklist keeps only the Android and iOS device checks, because the workflows enforce everything else. Windows GPU inference, which CI skips without a GPU device, is documented as unchecked. Release notes are shorter and state which inference CI runs on each platform. Git now ignores Python test caches.The original 1.31.0-r1 candidate passes the strengthened verifier, and CPU/CoreML inference passes against its published macOS arm64 and iOS Simulator runtimes. A full-matrix 1.31.0 trial of this branch on the fork (run) passed every Linux, Android, Windows and macOS x64 job: tool setup works on those hosted runners, and Linux WebGPU and macOS x64 CoreML inference pass with CPU fallback disabled. The macOS arm64 and iOS jobs got no hosted runner on the fork in three attempts, so they still need a trial here. Trials cannot reach the release-only checks or the candidate job, so those first run on the next release build.
Source fork PR: laurens-pilot#1
@laurenspriem