This is a gitlab continuous integration example project compatible with the windows-based shared runners provided on gitlab.com building a .NET Core Windows Desktop project.
This example repository uses Nuke Build to build the project.
The following commands will trigger a debug build:
> .\build.ps1
or
> .\build.ps1 --configuration Debug
- The nuke build script uses JUnitXml.TestLogger to generate an unit test result file that can be parsed by gitlab
- The nuke build script uses Coverlet.Collector together with ReportGenerator to generate a html code coverage report and allow gitlab to display the code coverage of the unit tests
The following command will trigger a release build:
> .\build.ps1 --configuration Release
- The nuke build script will create the following zip archives in the root directory of the repository:
- MyProject-windows-any.zip (will require .NET Core Runtime 3.1)
- MyProject-windows-i386.zip (will not require .NET Core Runtime 3.1)
- MyProject-windows-amd64.zip (will not require .NET Core Runtime 3.1)
Thanks to the Tango Desktop Project for the repository icon.
see CONTRIBUTING.md
Thanks for your interest in this project. You can show your appreciation and support further development by donating.
gitlab-ci-example-dotnetcore-windows © 2019-2020 Tobias Koch. Released under the MIT License.