Skip to content

Commit 851efeb

Browse files
committed
ci: Build both x86 and x64
1 parent b29421c commit 851efeb

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/msbuild.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,16 @@ env:
1515
# Path to the solution file relative to the root of the project.
1616
SOLUTION_FILE_PATH: Source/.
1717

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
22-
2318
permissions:
2419
contents: read
2520

2621
jobs:
2722
build:
2823
runs-on: windows-latest
24+
strategy:
25+
matrix:
26+
platform: [x86, x64]
27+
configuration: [Debug, Release]
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)