diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml new file mode 100644 index 0000000..76a033d --- /dev/null +++ b/.github/workflows/msbuild.yml @@ -0,0 +1,22 @@ +name: MSBuild Windows Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Compile Visual Studio project with MSBuild + shell: cmd + run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" && msbuild' }} + working-directory: ${{env.GITHUB_WORKSPACE}} diff --git a/Alien-Invasion.vcxproj.filters b/Alien-Invasion.vcxproj.filters index 8d23cc9..898d757 100644 --- a/Alien-Invasion.vcxproj.filters +++ b/Alien-Invasion.vcxproj.filters @@ -1,4 +1,4 @@ - +