Skip to content

Commit 2ae368a

Browse files
committed
ci: Build both x86 and x64
1 parent b29421c commit 2ae368a

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/msbuild.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@ on:
1313

1414
env:
1515
# Path to the solution file relative to the root of the project.
16-
SOLUTION_FILE_PATH: Source/.
17-
18-
# Configuration type to build.
19-
# You can convert this to a build matrix if you need coverage of multiple configuration types.
20-
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
21-
BUILD_CONFIGURATION: Release
16+
SOLUTION_FILE_PATH: Source/SpeedTreeRT_vs2024.sln
2217

2318
permissions:
2419
contents: read
2520

2621
jobs:
2722
build:
28-
runs-on: windows-latest
23+
runs-on: windows-2025-vs2026
24+
strategy:
25+
matrix:
26+
platform: [x86, x64]
27+
configuration: ['Debug (Full)', 'Release (Full)']
2928

3029
steps:
3130
- uses: actions/checkout@v6
@@ -37,4 +36,4 @@ jobs:
3736
working-directory: ${{env.GITHUB_WORKSPACE}}
3837
# Add additional options to the MSBuild command line here (like platform or verbosity level).
3938
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
40-
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
39+
run: msbuild /m "/p:Configuration=${{matrix.configuration}}" /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}}

0 commit comments

Comments
 (0)