Skip to content

Commit

Permalink
hohoho
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom7341 committed Mar 30, 2024
1 parent a07aace commit fef15a3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ 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: .

# 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
Expand All @@ -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}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}};Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}

0 comments on commit fef15a3

Please sign in to comment.