Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
shell: pwsh
run: |
dotnet restore .\samples\ControllerApp\MatterControllerApp.csproj `
-p:Platform=x64 --configfile .\NuGet.config --force --no-cache
-p:Platform=x64 -p:Configuration=Release `
--configfile .\NuGet.config --force --no-cache
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
dotnet build .\samples\ControllerApp\MatterControllerApp.csproj `
-c Release -p:Platform=x64 --no-restore --nologo
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
dotnet restore .\samples\ControllerApp\MatterControllerApp.csproj `
-p:Platform=ARM64 --configfile .\NuGet.config --force --no-cache
-p:Platform=ARM64 -p:Configuration=Release `
--configfile .\NuGet.config --force --no-cache
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
dotnet build .\samples\ControllerApp\MatterControllerApp.csproj `
-c Release -p:Platform=ARM64 --no-restore --nologo
Expand Down Expand Up @@ -72,14 +74,15 @@ jobs:
shell: pwsh
run: |
. .\matterforwindows\scripts\setup\windows.ps1 -Architecture x64
$nativeDlls = @(
'.\out\win-winrt-x64\Matter.Windows.Controller.dll'
'.\out\win-winrt-arm64\Matter.Windows.Controller.dll'
)
.\tools\verify-abi.ps1 `
-BaselineWinmd $env:BASELINE_WINMD `
-CurrentWinmd .\out\win-winrt-x64\Matter.Windows.Controller.winmd `
-EquivalentWinmd .\out\win-winrt-arm64\Matter.Windows.Controller.winmd `
-NativeDll @( `
.\out\win-winrt-x64\Matter.Windows.Controller.dll, `
.\out\win-winrt-arm64\Matter.Windows.Controller.dll `
)
-NativeDll $nativeDlls

- name: Upload package
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
Expand Down
3 changes: 1 addition & 2 deletions samples/ControllerApp/MatterControllerApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
<PropertyGroup>
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
<PublishTrimmed>False</PublishTrimmed>
</PropertyGroup>
</Project>