@@ -192,15 +192,15 @@ jobs:
192
192
- name : Build and run ComputeSharp.Sample
193
193
run : >
194
194
dotnet build samples\ComputeSharp.Sample\ComputeSharp.Sample.csproj -c Release -r win-x64 --no-self-contained -p:Platform=x64 -v n;
195
- samples\ComputeSharp.Sample\bin\x64\Release\net8 .0\win-x64\ComputeSharp.Sample.exe
195
+ samples\ComputeSharp.Sample\bin\x64\Release\net9 .0\win-x64\ComputeSharp.Sample.exe
196
196
- name : Build and run ComputeSharp.Sample.FSharp
197
197
run : >
198
198
dotnet build samples\ComputeSharp.Sample.FSharp\ComputeSharp.Sample.FSharp.fsproj -c Release -r win-x64 --no-self-contained -p:Platform=x64 -v n;
199
- samples\ComputeSharp.Sample.FSharp\bin\x64\Release\net8 .0\win-x64\ComputeSharp.Sample.FSharp.exe
199
+ samples\ComputeSharp.Sample.FSharp\bin\x64\Release\net9 .0\win-x64\ComputeSharp.Sample.FSharp.exe
200
200
- name : Build and run ComputeSharp.ImageProcessing.csproj
201
201
run : >
202
202
dotnet build samples\ComputeSharp.ImageProcessing\ComputeSharp.ImageProcessing.csproj -c Release -r win-x64 --no-self-contained -p:Platform=x64 -v n;
203
- samples\ComputeSharp.ImageProcessing\bin\x64\Release\net8 .0\win-x64\ComputeSharp.ImageProcessing.exe
203
+ samples\ComputeSharp.ImageProcessing\bin\x64\Release\net9 .0\win-x64\ComputeSharp.ImageProcessing.exe
204
204
205
205
# Run the NativeAOT samples as well
206
206
run-samples-aot :
@@ -230,7 +230,7 @@ jobs:
230
230
- if : matrix.platform == 'x64'
231
231
name : Run ComputeSharp.SwapChain.Cli (speed)
232
232
run : >
233
- $process = (Start-Process samples\ComputeSharp.SwapChain.Cli\bin\Release\net8 .0\win-x64\publish\computesharp.cli.exe -PassThru);
233
+ $process = (Start-Process samples\ComputeSharp.SwapChain.Cli\bin\Release\net9 .0\win-x64\publish\computesharp.cli.exe -PassThru);
234
234
sleep -Seconds 2;
235
235
try
236
236
{
@@ -246,7 +246,7 @@ jobs:
246
246
uses : actions/upload-artifact@v4
247
247
with :
248
248
name : computesharp.cli.opt-speed.exe
249
- path : samples\ComputeSharp.SwapChain.Cli\bin\Release\net8 .0\win-x64\publish\computesharp.cli.exe
249
+ path : samples\ComputeSharp.SwapChain.Cli\bin\Release\net9 .0\win-x64\publish\computesharp.cli.exe
250
250
if-no-files-found : error
251
251
252
252
# Publish the NativeAOT CLI sample (optimized for size, and reflection-free)
@@ -262,7 +262,7 @@ jobs:
262
262
- if : matrix.platform == 'x64'
263
263
name : Run ComputeSharp.SwapChain.Cli (size)
264
264
run : >
265
- $process = (Start-Process samples\ComputeSharp.SwapChain.Cli\bin\Release\net8 .0\win-x64\publish\computesharp.cli.exe -PassThru);
265
+ $process = (Start-Process samples\ComputeSharp.SwapChain.Cli\bin\Release\net9 .0\win-x64\publish\computesharp.cli.exe -PassThru);
266
266
sleep -Seconds 2;
267
267
try
268
268
{
@@ -278,7 +278,7 @@ jobs:
278
278
uses : actions/upload-artifact@v4
279
279
with :
280
280
name : computesharp.cli.opt-size.exe
281
- path : samples\ComputeSharp.SwapChain.Cli\bin\Release\net8 .0\win-x64\publish\computesharp.cli.exe
281
+ path : samples\ComputeSharp.SwapChain.Cli\bin\Release\net9 .0\win-x64\publish\computesharp.cli.exe
282
282
if-no-files-found : error
283
283
284
284
# Also publish the Win2D sample (with R2R)
@@ -294,7 +294,7 @@ jobs:
294
294
- if : matrix.platform == 'x64'
295
295
name : Run ComputeSharp.SwapChain.D2D1.Cli (R2R)
296
296
run : >
297
- $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net8 .0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru);
297
+ $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net9 .0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru);
298
298
sleep -Seconds 2;
299
299
try
300
300
{
@@ -317,7 +317,7 @@ jobs:
317
317
- if : matrix.platform == 'x64'
318
318
name : Run ComputeSharp.SwapChain.D2D1.Cli (NativeAOT)
319
319
run : >
320
- $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net8 .0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru);
320
+ $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net9 .0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru);
321
321
sleep -Seconds 2;
322
322
try
323
323
{
0 commit comments