mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-14 04:30:31 +01:00
* Added .NET 6 support * fix constants * Upgrade Android sample app to .net6.0 * Fix build warnings and update android sample * Change baseline version * Fix build * Delete unused code * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update CIBuild.yml * Update expired certificate * Set min versions * Fix api build * Fix build warnings and update doc builds * update metadata * tweak readme * Use net8 for ios/android * Fix target frameworks for sample apps * Fix UWP build * update tfm * Update to v3.0 and remove out of support frameworks * Add BT device to net6-windows * Add MAUI sample and delete Android * Clean up * Update github action dependency to supported version * Update certificate * Update certificate * Fix RMC FixTime parsing that can lose sub-second precision with doubles (#117) * Extract local variables for the parameters of DateTimeOffset * Add seconds to FixTime as Ticks in order to preserve sub-second precision that can get lost by using doubles --------- Co-authored-by: Justin King <justin.king@vibrationresearch.com> * Cleanup of fix and add unit test to verify --------- Co-authored-by: Morten Nielsen <mort5161@esri.com> Co-authored-by: Justin King <56605940+justinswork@users.noreply.github.com> Co-authored-by: Justin King <justin.king@vibrationresearch.com>
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/*
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Clone NmeaParser
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Setup Visual Studio Command Prompt
|
|
uses: microsoft/setup-msbuild@v1.0.2
|
|
|
|
- name: Install Android SDK
|
|
run: |
|
|
echo y>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
echo y>>license_accepter.txt
|
|
cmd /c '"%ProgramFiles(x86)%\Android\android-sdk\cmdline-tools\7.0\bin\sdkmanager.bat" --licenses < license_accepter.txt'
|
|
cmd /c '"%ProgramFiles(x86)%\Android\android-sdk\cmdline-tools\7.0\bin\sdkmanager.bat" --install "platforms;android-24"'
|
|
cmd /c '"%ProgramFiles(x86)%\Android\android-sdk\cmdline-tools\7.0\bin\sdkmanager.bat" --install "platforms;android-21"'
|
|
|
|
- name: Build
|
|
run: |
|
|
msbuild /restore /t:Build src/NmeaParser.sln /p:Configuration=Release
|
|
|
|
- name: Tests
|
|
run: |
|
|
dotnet test src/UnitTests/NmeaParser.Tests.NET/bin/Release/net6.0/NmeaParser.Tests.Net.dll -v normal
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: NuGet Packages
|
|
path: artifacts/NuGet/Release
|