Skip to content

Commit 06344d6

Browse files
committed
ci: pass StrideGraphicsApi to Windows game test matrix
Without the singular form, Stride.Graphics.props defaults it to Direct3D11 before the test SDK can derive it from StrideGraphicsApis.
1 parent 218fbfc commit 06344d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-windows-game.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,16 @@ jobs:
161161
-v:m -p:WarningLevel=0 `
162162
-p:Configuration=${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }} `
163163
-p:StridePlatforms=Windows `
164-
-p:StrideGraphicsApis=${{ matrix.graphics-api }}
164+
-p:StrideGraphicsApis=${{ matrix.graphics-api }} `
165+
-p:StrideGraphicsApi=${{ matrix.graphics-api }}
165166
- name: Test
166167
run: |
167168
dotnet test build\Stride.Tests.Game.GPU.slnf `
168169
--no-build `
169170
--logger:trx --results-directory TestResults `
170171
-p:Configuration=${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }} `
171172
-p:StrideGraphicsApis=${{ matrix.graphics-api }} `
173+
-p:StrideGraphicsApi=${{ matrix.graphics-api }} `
172174
-- RunConfiguration.MaxCpuCount=1
173175
- name: Publish Test Report
174176
if: always()

0 commit comments

Comments
 (0)