Add workarounds for IntelliSense parsing #116
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
# Copyright (c) Victor Derks. | |
# SPDX-License-Identifier: MIT | |
name: Build and test | |
on: [push] | |
env: | |
# Path to the solution file relative to the root of the project. | |
SOLUTION_FILE_PATH: . | |
jobs: | |
build: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
buildPlatform: [x64, x86] | |
buildConfiguration: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup VSTest path | |
uses: darenm/Setup-VSTest@v1 | |
- name: Restore NuGet packages | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: nuget restore ${{env.SOLUTION_FILE_PATH}} | |
- name: Build | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /v:m /m /p:Configuration=${{matrix.buildConfiguration}} /p:Platform=${{matrix.buildPlatform}} ${{env.SOLUTION_FILE_PATH}} /p:VCToolsVersion=14.38.33130 | |
- name: Test | |
working-directory: .\build\bin\${{matrix.buildPlatform}}\${{matrix.buildConfiguration}}\ | |
run: vstest.console.exe /Platform:${{matrix.buildPlatform}} test.dll |