Last active
November 21, 2019 05:45
-
-
Save MSDN-WhiteKnight/48095cedccd0ce74a872fcf26a0e6ed7 to your computer and use it in GitHub Desktop.
MSBuild CI
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build with MSBuild | |
run: | | |
& "$env:windir\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" |
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: CI | |
on: [push] | |
jobs: | |
build-and-test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build with MSBuild | |
run: | | |
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" | |
- name: Run unit tests | |
run: | | |
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" UnitTestProject1\bin\Debug\UnitTestProject1.dll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment