-
Notifications
You must be signed in to change notification settings - Fork 8
feat: make IgniteUI.Blazor.Lite Native-AOT clean #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
eae8acb
feat: [WIP] make IgniteUI.Blazor.Lite Native-AOT clean
damyanpetev d9e72c5
fix(aot): correct ILC gating in the AOT smoke app
damyanpetev 9180663
fix(aot): keep ComponentBase-derived construction out of the AOT smok…
damyanpetev 9612687
Merge branch 'master' into dpetev/aot
MayaKirova 9f282e4
chore(*): Fix ci.
MayaKirova ac21a2b
Merge branch 'master' into dpetev/aot
MayaKirova bf0711d
chore(*): Fix build.
MayaKirova 55f9dbe
Update action versions in wasm-aot-smoke.yml
MayaKirova 6396323
Merge branch 'master' into dpetev/aot
damyanpetev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| name: Wasm AOT Smoke | ||
|
|
||
| # Manual: Blazor WASM AOT compilation (Mono AOT) of the smoke app + the browser checks against it. | ||
| # Slow (multi-minute AOT compile) and emits no IL3xxx (that is the NativeAOT smoke's job in ci.yml) — | ||
| # this validates the actual wasm-AOT consumer scenario end-to-end. | ||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| wasm-aot: | ||
| name: Wasm AOT publish & browser smoke | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | ||
| with: | ||
| node-version: 22 | ||
| cache: npm | ||
|
|
||
| - name: Install npm dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Build TypeScript/Webpack assets | ||
| run: npm run build | ||
|
|
||
| - name: Copy component themes to wwwroot | ||
| run: npm run copythemes | ||
|
|
||
| - name: Install wasm-tools workload | ||
| run: dotnet workload install wasm-tools | ||
|
|
||
| - name: Publish smoke app with AOT compilation | ||
| run: dotnet publish tests/IgniteUI.Blazor.Lite.PublishSmoke --configuration Release --framework net10.0 -p:RunAOTCompilation=true | ||
|
|
||
| - name: Build integration tests | ||
| run: dotnet build tests/IgniteUI.Blazor.Lite.IntegrationTests --configuration Release | ||
|
|
||
| - name: Install Playwright | ||
| shell: pwsh | ||
| run: ./tests/IgniteUI.Blazor.Lite.IntegrationTests/bin/Release/net10.0/playwright.ps1 install | ||
|
|
||
| # The TrimmedPublish fixture serves whatever publish output exists — here, the AOT-compiled one. | ||
| - name: Run browser checks against the AOT publish | ||
| run: > | ||
| dotnet test ./tests/IgniteUI.Blazor.Lite.IntegrationTests/IgniteUI.Blazor.Lite.IntegrationTests.csproj | ||
| --settings ./.runsettings --no-build --configuration Release | ||
| --filter Category=TrimmedPublish |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.