kallemooo / Asap2

Asap2 parser.
MIT License
38 stars 21 forks source link

Build NuGet packages on Appveyor #3

Closed ngbrown closed 7 years ago

ngbrown commented 7 years ago

I have done some work to get a NuGet package generated and also to perform CI builds on AppVeyor.

I also added (very-few) unit tests for the CI process.

As the owner of the main project, you'll have to sign up with AppVeyor and add this project in your account. It is super simple and this pull request contains the needed configuration file. The benefit will be that every commit/push will have the CI tools ran and the build and unit test status reported. Even for pull requests.

As an example, in my fork, I've been able to have AppVeyor run and publish the nuget packages to a project specific CI feed: sniped.

They are all marked as "prerelease" so that checkbox needs to be selected to view in Visual Studio.

kallemooo commented 7 years ago

Thanks for the patch. I will merge the request.

ngbrown commented 7 years ago

@kallemooo Cool. When you activate Appveyor, one option would be to publish the CI NuGet package feed URL in the readme for this project.

To actually publish fully to NuGet.org, it will require some additional setup and encrypting as a secret the API key that only gets decrypted in your account.

kallemooo commented 7 years ago

I activated AppVeyor before the merge so the merge commit where built. And according to the log where there no errors, only some warnings.

The CI NuGet package feed URL is https://ci.appveyor.com/nuget/asap2-1gpngwfnnikh