Skip to content

Merge pull request #1 from NickMcConnell/dependabot/github_actions/do… #32

Merge pull request #1 from NickMcConnell/dependabot/github_actions/do…

Merge pull request #1 from NickMcConnell/dependabot/github_actions/do… #32

Workflow file for this run

# 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