Skip to content

Commit

Permalink
chore: add a BuildGraphics3DGLForWindows condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Sep 2, 2024
1 parent 3f54083 commit 57891bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/ci/.azure-devops-wasdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# ---
# NOTE: The error says to specify a RuntimeIdentifier *OR* platform other than AnyCPU.
# We already specify RuntimeIdentifier=win-x64 in the build below. Still, the error pops up.
msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog
msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:BuildGraphics3DGLForWindows=true /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog
clean: false
restoreNugetPackages: false
logProjectEvents: false
Expand Down
3 changes: 3 additions & 0 deletions build/test-scripts/run-net7-template-linux.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ $projects =
# 5.2 Blank SkiaSharp 3
@("5.2/uno52blank/uno52blank/uno52blank.csproj", "-p:SkiaSharpVersion=3.0.0-preview.3.1"),

# 5.2 Blank Canvas3DGL
@("5.2/uno52blank/uno52blank/uno52blank.csproj", "-p:UnoFeatures=Canvas3DGL"),

# 5.2 Uno Lib
@("5.2/uno52Lib/uno52Lib.csproj", ""),

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetSkiaPreviousAndCurrent)</TargetFrameworks>
<TargetFrameworks Condition="$(BuildGraphics3DGLForWindows) != ''">$(NetPrevious)-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition="$(BuildGraphics3DGLForWindows) != ''">$(NetUWPOrWinUI)</TargetFrameworks>

<Nullable>enable</Nullable>
<RootNamespace>Uno.WinUI.GLCanvasElement</RootNamespace>
Expand Down

0 comments on commit 57891bd

Please sign in to comment.