Merge pull request #1 from NickMcConnell/dependabot/github_actions/do… #32
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
# Use msbuild on Windows to test if building with the Visual Studio project | |
# file (win/vs2019/Angband.vcxproj) works. | |
name: msbuild | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
build: | |
name: Stock | |
runs-on: windows-latest | |
steps: | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Clone Project | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
# Copy the project file so that the project directory inferred by | |
# msbuild matches up with the location of the source files as | |
# specified in the project file. | |
xcopy src\win\vs2019\Angband.vcxproj .\ | |
xcopy src\win\vs2019\Angband.vcxproj.filters .\ | |
xcopy src\win\vs2019\Angband.vcxproj.user .\ | |
msbuild Angband.vcxproj |