| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
name: msbuild |
| 5 |
|
| 6 |
on: |
| 7 |
push: |
| 8 |
branches: [ master ] |
| 9 |
pull_request: |
| 10 |
|
| 11 |
jobs: |
| 12 |
build: |
| 13 |
name: Stock |
| 14 |
runs-on: windows-latest |
| 15 |
steps: |
| 16 |
- name: Add msbuild to PATH |
| 17 |
uses: microsoft/[email protected] |
| 18 |
|
| 19 |
- name: Clone Project |
| 20 |
uses: actions/checkout@v3 |
| 21 |
|
| 22 |
- name: Build |
| 23 |
run: | |
| 24 |
# Copy the project file so that the project directory inferred by |
| 25 |
# msbuild matches up with the location of the source files as |
| 26 |
# specified in the project file. |
| 27 |
xcopy src\win\vs2019\Angband.vcxproj .\ |
| 28 |
xcopy src\win\vs2019\Angband.vcxproj.filters .\ |
| 29 |
xcopy src\win\vs2019\Angband.vcxproj.user .\ |
| 30 |
msbuild Angband.vcxproj |