Fix torch.exe crash with VS2022 #50
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: Build | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1 | |
- name: Restore NuGet Packages | |
run: nuget restore WordsLive.sln | |
- name: Build Project | |
run: msbuild WordsLive.sln /p:Configuration=$env:Configuration /p:Platform=x86 | |
env: | |
Configuration: ${{ matrix.configuration }} | |
- name: Run Tests | |
run: msbuild WordsLive.Core.Tests\WordsLive.Core.Tests.csproj /t:Test /p:Configuration=$env:Configuration /p:Platform=x86 | |
env: | |
Configuration: ${{ matrix.configuration }} | |
- name: Build Installer | |
run: msbuild Installer\Installer.wixproj /p:Configuration=$env:Configuration /p:Platform=x86 | |
env: | |
Configuration: ${{ matrix.configuration }} | |