From fef15a326df8744b0f20d9b06f846820b2316f6e Mon Sep 17 00:00:00 2001 From: Brady McDermott Date: Sat, 30 Mar 2024 17:30:55 -0600 Subject: [PATCH] hohoho --- .github/workflows/msbuild.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index ec0a8c2..644d78e 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -12,6 +12,14 @@ on: pull_request: branches: [ "master" ] +strategy: + matrix: + include: + - BUILD_CONFIGURATION: Release + - BUILD_CONFIGURATION: Debug + - BUILD_PLATFORM: x64 + - BUILD_PLATFORM: Win32 + env: # Path to the solution file relative to the root of the project. SOLUTION_FILE_PATH: . @@ -19,7 +27,8 @@ env: # Configuration type to build. # You can convert this to a build matrix if you need coverage of multiple configuration types. # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - BUILD_CONFIGURATION: Release + BUILD_CONFIGURATION: ${{ matrix.BUILD_CONFIGURATION }} + BUILD_PLATFORM: ${{ matrix.BUILD_PLATFORM }} permissions: contents: read @@ -42,4 +51,4 @@ jobs: working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference - run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} \ No newline at end of file + run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}};Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}