Build SQLCallStackResolver #311
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 SQLCallStackResolver | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
testsfilter: | |
description: 'Filter expression to use for running tests' | |
default: 'TestCategory=Unit|TestCategory=Perf' | |
required: false | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore NuGet Packages | |
run: nuget restore SQLCallStackResolver.sln | |
- name: Build SQLCallStackResolver | |
run: msbuild SQLCallStackResolver.sln /p:Configuration=Release | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: SQLCallStackResolver | |
path: | | |
Target/Release | |
!Target/Release/*.xml | |
!Target/Release/Tests | |
- name: Prep for running tests | |
run: ./downloadsyms.ps1 | |
working-directory: Tests/TestCases | |
shell: powershell | |
- name: Run tests | |
run: | | |
../../../utils/import-vsenv.ps1 | |
& "$env:VSINSTALLDIR/Common7/IDE/Extensions/TestPlatform/vstest.console.exe" ./SQLCalLStackResolver.Tests.dll /Parallel /logger:"console;verbosity=normal" /TestCaseFilter:"${{ github.event.inputs.testsfilter || 'TestCategory=Unit' }}" | |
working-directory: Target/Release/Tests | |
shell: powershell |