Skip to content

Commit

Permalink
.NET enable artifact layout (#4271)
Browse files Browse the repository at this point in the history
* enable artifact layout

* fix aot tests

* update
  • Loading branch information
LittleLittleCloud authored Nov 19, 2024
1 parent 1e3b765 commit 01aed82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,6 @@ notebook/result.png
samples/apps/autogen-studio/autogenstudio/models/test/

notebook/coding

# dotnet artifacts
artifacts
2 changes: 1 addition & 1 deletion dotnet/.tools/test-aot-compatibility.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ foreach ($line in $($publishOutput -split "`r`n"))
}
}

pushd $rootDirectory/test/AutoGen.AotCompatibility.Tests/bin/Release/$targetNetFramework/linux-x64
pushd $rootDirectory/artifacts/bin/AutoGen.AotCompatibility.Tests/release

Write-Host "Executing test App..."
./AutoGen.AotCompatibility.Tests
Expand Down
1 change: 1 addition & 0 deletions dotnet/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Import Project="./eng/MetaInfo.props" />
<Import Project="./eng/Sign.props" />
<PropertyGroup>
<UseArtifactsOutput>true</UseArtifactsOutput>
<PackageTargetFrameworks>netstandard2.0;net8.0</PackageTargetFrameworks>
<TestTargetFrameworks>net8.0</TestTargetFrameworks>
<LangVersion>preview</LangVersion>
Expand Down

0 comments on commit 01aed82

Please sign in to comment.