mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-05 14:35:50 +00:00
Fix CI build and upgrade unit tests to target both NETFX and NetCore
This commit is contained in:
parent
ad4faa6f4b
commit
3f79ada2f2
5 changed files with 57 additions and 123 deletions
9
.github/workflows/CIBuild.yml
vendored
9
.github/workflows/CIBuild.yml
vendored
|
|
@ -18,8 +18,13 @@ jobs:
|
|||
- name: Clone NmeaParser
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Setup Visual Studio Command Prompt
|
||||
uses: warrenbuckley/Setup-MSBuild@v1
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
|
||||
msbuild /restore /t:Build src/NmeaParser.sln /p:Configuration=Release /p:JavaSdkDirectory="$(JAVA_HOME_8_X64)"
|
||||
msbuild /restore /t:Build src/NmeaParser.sln /p:Configuration=Release
|
||||
|
||||
- name: Tests
|
||||
run: |
|
||||
dotnet test src/UnitTests/NmeaParser.Tests.NET/bin/Release/netcoreapp3.1/NmeaParser.Tests.Net.dll -v normal
|
||||
Loading…
Add table
Add a link
Reference in a new issue