Skip to content

Commit 743bc18

Browse files
Copilotstephentoub
andcommitted
Run AOT-published binary after publishing to verify it succeeds
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent b41731f commit 743bc18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ test: build
3131
RunConfiguration.CollectSourceInformation=true
3232

3333
test-aot:
34-
dotnet publish tests/ModelContextProtocol.AotCompatibility.TestApp/ModelContextProtocol.AotCompatibility.TestApp.csproj --configuration $(CONFIGURATION)
34+
dotnet publish tests/ModelContextProtocol.AotCompatibility.TestApp/ModelContextProtocol.AotCompatibility.TestApp.csproj --configuration $(CONFIGURATION) -o $(ARTIFACT_PATH)/aot-publish
35+
$(ARTIFACT_PATH)/aot-publish/ModelContextProtocol.AotCompatibility.TestApp
3536

3637
pack: restore
3738
dotnet pack --no-restore --configuration $(CONFIGURATION)

0 commit comments

Comments
 (0)