Skip to content

Commit aa119d6

Browse files
HavenDVclaude
andcommitted
Remove TrimmingHelper, use autosdk trim CLI instead
Remove TrimmingHelper project from solution and helpers directory. Trimming/NativeAOT validation is now done via `autosdk trim` CLI command. Add trim-check CI job to workflow. Add .autosdk-trim/ to .gitignore. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d4b9d13 commit aa119d6

File tree

5 files changed

+19
-34
lines changed

5 files changed

+19
-34
lines changed

.github/workflows/dotnet.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ jobs:
2121
secrets:
2222
nuget-key: ${{ secrets.NUGET_KEY }}
2323

24+
trim-check:
25+
name: Trimming Check
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup .NET
32+
uses: actions/setup-dotnet@v4
33+
34+
- name: Install AutoSDK CLI
35+
run: dotnet tool install --global autosdk.cli --prerelease
36+
37+
- name: Run trimming check
38+
run: autosdk trim src/libs/Reka/Reka.csproj
39+
2440
release:
2541
name: Release
2642
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,3 +400,6 @@ FodyWeavers.xsd
400400
# JetBrains Rider
401401
*.sln.iml
402402
/.idea/
403+
404+
# AutoSDK trimming check temp directory
405+
.autosdk-trim/

Reka.slnx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<Solution>
2-
<Folder Name="/helpers/">
3-
<Project Path="src/helpers/TrimmingHelper/TrimmingHelper.csproj" />
4-
</Folder>
52
<Folder Name="/libs/">
63
<File Path="src/libs/Directory.Build.props" />
74
<Project Path="src/libs/Reka/Reka.csproj" />

src/helpers/TrimmingHelper/Program.cs

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/helpers/TrimmingHelper/TrimmingHelper.csproj

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)