Update build.yaml #2
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
name: Build VS2022 Project | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Visual Studio | |
uses: microsoft/setup-msbuild@v1 | |
- name: Install DirectX SDK | |
run: | | |
choco install directx-sdk | |
- name: Add DirectX SDK to include path | |
run: | | |
echo "::add-path::C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Include" | |
echo "::add-path::C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Lib\\x64" | |
- name: Build solution | |
run: | | |
msbuild external-cheat-base.sln /p:Configuration=Release /p:Platform=x64 |