Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add netstandard2.0 support #9

Merged
merged 3 commits into from
Dec 21, 2023

Conversation

caesay
Copy link
Contributor

@caesay caesay commented Dec 20, 2023

It is trivial to add netstandard2.0 support with a few small changes. This allows the usage of the library in the .net full framework. I also fixed a bug in the MatchingBytesToLeft method, where vector extensions were not being used on net6 and up.

@chyyran
Copy link
Member

chyyran commented Dec 21, 2023

Could you fix tests for net48 as well?

@caesay
Copy link
Contributor Author

caesay commented Dec 21, 2023

Hi there, the tests already pass on windows. I see now that the github script runs the tests on ubuntu which fails trying to run tests for net48 for obvious reasons. I am not sure how to fix this off the top of my head, but I can have a look.

@chyyran
Copy link
Member

chyyran commented Dec 21, 2023

For net48 on Ubuntu and macOS I expect installing Mono should work on those platforms.

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3bb82df) 81.72% compared to head (8ab3dd4) 81.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   81.72%   81.77%   +0.05%     
==========================================
  Files          23       23              
  Lines        2687     2689       +2     
  Branches      365      370       +5     
==========================================
+ Hits         2196     2199       +3     
+ Misses        480      479       -1     
  Partials       11       11              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caesay
Copy link
Contributor Author

caesay commented Dec 21, 2023

I thought it would be a better idea to split out a separate github actions step which only tests the net48 target on the windows-latest image, but because of the change to the script, if you agree with the change you will need to approve the workflow for me to verify it works.

@chyyran
Copy link
Member

chyyran commented Dec 21, 2023

Yeah thats fine too, mono tests can be added after the fact anyways

@caesay
Copy link
Contributor Author

caesay commented Dec 21, 2023

Is there anything I need to do for the failed codecov check?

@chyyran chyyran merged commit f425c6a into SnowflakePowered:master Dec 21, 2023
9 checks passed
@chyyran
Copy link
Member

chyyran commented Dec 21, 2023

Thanks for your contribution! Nuget releases have to be pushed manually so expect one within the next 24 hours.

@chyyran
Copy link
Member

chyyran commented Dec 21, 2023

Sorry, might be a couple of days until I can push a release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants