Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey M authored Jan 20, 2020
1 parent 4ac25ca commit 976355b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,27 @@ jobs:

runs-on: windows-latest

env:
_Solution: DPackRx.sln
_Config: Debug

steps:
- uses: actions/checkout@v1

- name: Setup Nuget.exe
uses: warrenbuckley/Setup-Nuget@v1

- name: Restores Packages
run: nuget restore DPackRx.sln
- name: Restore Nuget Packages
run: nuget restore $_Solution

- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1

- name: Build Solution
run: msbuild DPackRx.sln -verbosity:minimal /p:DeployExtension=false
run: msbuild $_Solution -verbosity:minimal -p:Configuration=$_Config -p:DeployExtension=false -p:AzureVsixVersion=true

- name: Setup VS2019
uses: richardo2016/Setup-MSBuild@releases/clangcl_x_2017/v1

- name: Run Tests
uses: $VSINSTALLDIR\Common7\IDE\Extensions\TestPlatform\vstest.console.exe DPackRx.Tests/bin/$_Config/DPackRx.Tests.dll

0 comments on commit 976355b

Please sign in to comment.