Updated README.md. #3
Workflow file for this run
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: Windows | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install Visual Studio Build Tools | |
run: | | |
choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK --add Microsoft.VisualStudio.Component.TestTools.BuildTools --includeOptional" -y | |
choco install visualstudio2022-workload-vctools -y | |
- name: Add MSBuild to PATH | |
run: | | |
echo "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin" | Out-File -Append -FilePath $env:GITHUB_PATH | |
- name: Print MSBuild Version | |
run: | | |
msbuild -version | |
- name: Run Premake for Visual Studio | |
run: .\setup.bat | |
- name: Compile Project with MSBuild | |
run: | | |
msbuild sigma.sln /p:Configuration=Debug /p:Platform="x64" /p:stdcpp=latest |