-
Notifications
You must be signed in to change notification settings - Fork 0
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
Automated CI workflow using GitHub Actions #14
Comments
The NuGet version doesn't have to match the How to use the different attributes in a SemVer way:
https://stackoverflow.com/questions/11965924/nuspec-version-attribute-vs-assembly-version |
@maetl can you please arrange for creating the NuGet account if not already done, and create an API key with
I have a WIP branch of Github actions for running builds and tests, and publishing to NuGet that I've tested on another repo and working well. |
Replacing .csproj's differing types of versioning tag with the single |
Both? Unity doesn't seem to be NuGet friendly and it looks like people just extract the DLL out of the |
We could take the version number from a pushed tag or the Perhaps a release could be marked by a merge into a |
A .csproj flag enables generation of an XML documentation file alongside the DLL, which is enough for Intellisense to work. Tested with a .nupkg from from the project. DotFX can generate static HTML sites out of the documentation, and a this action is available for publishing directly to Github pages. |
Goals
Primary objective: Launch an automated CI workflow for Calyx C#/CalyxSharp so that contributors can see direct red/green feedback on whether a pull request is safe to merge without any extra effort or needing to worry about ‘works on my machine’.
Secondary objective: Decide on a suitable build, release and publishing workflow that makes Calyx easy to use both for Unity developers and for general C# developers. Automate the parts of this workflow where it makes sense.
Workflow
Test ⇒ Build ⇒ Publish
The test process (only) should run on any pushed branch where a pull request is opened against
main
.To investigate:
main
, the test ⇒ build process should run, compiling a DLL.main
trigger a point release and increment the build/revision number, or should versioning be a specific manual decision by project maintainers?PackageVersion
andAssemblyVersion
?Build script
Should be configured in YAML using the GitHub-specific dotdir convention (
.github/workflows/workflow.yml
). Hopefully the GitHub-providedactions/setup-dotnet
will be enough to get this to workRequirements:
The text was updated successfully, but these errors were encountered: