Repository navigation
ci: gate native AOT smoke test via shared reusable workflow - #2244
Merged
Merged
Conversation
- add native-aot-smoke job running dotnet publish -r linux-x64 of the smoke project - run the produced native binary so the ILC link and its exit code gate the job - keep the gate local; the shared build workflow has no publish hook
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2244 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 183 183
Lines 9553 9553
Branches 1796 1796
=========================================
Hits 9553 9553 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- add native-aot.yml calling actions-common workflow-common-aot-smoke.yml across win-x64/linux-x64/osx-arm64 - drop the earlier bespoke single-RID job; the shared workflow reuses the standard dotnet-environment SDK setup so every target framework (incl. net11) is installed and the ILC link has clang/zlib on Linux
|
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



What this does
Adds a Native AOT smoke gate to CI, wired the same way as every other refit workflow - by calling a shared reusable workflow in reactiveui/actions-common rather than a bespoke local job.
native-aot.ymlcallsreactiveui/actions-common/.github/workflows/workflow-common-aot-smoke.yml.dotnet publish -r <rid>onsrc/Refit.NativeAotSmokeand runs the produced native binary as the pass/fail gate, across a cross-platform matrix: win-x64, linux-x64, osx-arm64.dotnet-environmentcomposite for SDK setup, so every target framework's SDK (including net11) is installed - fixing the net11 targeting error the earlier single-RID attempt hit - and installs clang/zlib on Linux so the ILC native link has its toolchain.Why
A plain build already runs the trim/AOT analyzers, but only a real native publish exercises the ILC compile/link and proves the binary runs. Keeping it in actions-common means every rxui repo can opt in with one
uses:line.Closes #2230