This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
Added GitHub Actions for build and security analysis #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Microsoft Corporation. | |
# Licensed under the MIT License. | |
# | |
# http://go.microsoft.com/fwlink/?LinkId=320437 | |
name: MSBuild | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: windows-${{ matrix.vs }} | |
strategy: | |
fail-fast: false | |
matrix: | |
vs: [2019, 2022] | |
build_type: [Debug, Release] | |
platform: [Win32, x64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build | |
working-directory: ${{ 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=${{ matrix.build_type }} /p:Platform=${{ matrix.platform }} ./DXUT_${{ matrix.vs }}_Win10.sln |