lord please
This commit is contained in:
20
.github/workflows/msbuild.yml
vendored
20
.github/workflows/msbuild.yml
vendored
@@ -12,14 +12,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- BUILD_CONFIGURATION: Release
|
|
||||||
- BUILD_CONFIGURATION: Debug
|
|
||||||
- BUILD_PLATFORM: x64
|
|
||||||
- BUILD_PLATFORM: Win32
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Path to the solution file relative to the root of the project.
|
# Path to the solution file relative to the root of the project.
|
||||||
SOLUTION_FILE_PATH: .
|
SOLUTION_FILE_PATH: .
|
||||||
@@ -27,14 +19,20 @@ env:
|
|||||||
# Configuration type to build.
|
# Configuration type to build.
|
||||||
# You can convert this to a build matrix if you need coverage of multiple configuration types.
|
# 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
|
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
BUILD_CONFIGURATION: ${{ matrix.BUILD_CONFIGURATION }}
|
BUILD_CONFIGURATION: Release
|
||||||
BUILD_PLATFORM: ${{ matrix.BUILD_PLATFORM }}
|
BUILD_PLATFORM: x64
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
BUILD_CONFIGURATION: [Release, Debug]
|
||||||
|
BUILD_PLATFORM: [x64, Win32]
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -51,4 +49,4 @@ jobs:
|
|||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||||
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
# 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
|
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}};Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}
|
run: msbuild /m /p:Configuration=${{matrix.BUILD_CONFIGURATION}};Platform=${{matrix.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}
|
||||||
|
|||||||
Reference in New Issue
Block a user