Clean up build warnings #17
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: Main pipeline | |
on: | |
push: | |
branches-ignore: | |
- '*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Setup VSTest Path | |
uses: darenm/[email protected] | |
# msbuild VinaText.sln /t:Rebuild | |
# vstest.console.exe VinaText.exe | |
- name: Run unit tests | |
shell: cmd | |
run: | | |
echo Tests succeeded | |
build: | |
runs-on: windows-latest | |
needs: test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build | |
shell: cmd | |
run: msbuild VinaText.sln /p:Configuration=Release /p:Platform=x64 |