-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 888 Bytes
/
msvc.yml
File metadata and controls
39 lines (31 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# Find more information at:
# https://github.com/microsoft/msvc-code-analysis-action
name: Build
on:
- pull_request
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
analyze:
permissions:
contents: read
name: Build
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: setup-msbuild
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}