Skip to content

GH255: Add cakeci template for minimal CI pipelines running a Cake file-based build - #256

Merged
devlead merged 2 commits into
cake-build:developfrom
devlead:feature/gh-255
Oct 21, 2026
Merged

devlead merged 2 commits into
cake-build:developfrom
devlead:feature/gh-255

Conversation

@devlead

@devlead devlead commented Oct 21, 2026

Copy link
Copy Markdown
Member
  • Add cakeci item template with required Provider parameter for GitHub Actions, Azure DevOps Pipelines, Bitbucket Pipelines, GitLab CI/CD, AppVeyor, Woodpecker, RWX and Bitrise.
  • Add CakeFile parameter, defaulting to cake.cs.
  • Add Framework parameter selecting the mcr.microsoft.com/dotnet/sdk 10.0-resolute-aot or 11.0-resolute-aot image for container based providers.
  • Install the .NET SDK from global.json for GitHub Actions, Azure DevOps Pipelines, AppVeyor, RWX and Bitrise on macOS.
  • Add OS parameter with GitHub runner image labels and matrix, mapped per provider for Azure DevOps Pipelines, AppVeyor and Bitrise.
  • Install the .NET SDK on AppVeyor with a pwsh step using dotnet-install.sh on Linux and dotnet-install.ps1 on Windows.
  • Validate generated pipelines in integration tests with YamlDotNet, check for leaked template conditionals, expected content and the mandatory Provider parameter.
  • Document the cakeci template in the Cake.Template README.

fixes #255

…ng a Cake file-based build

- Add cakeci item template with required Provider parameter for GitHub Actions, Azure DevOps Pipelines, Bitbucket Pipelines, GitLab CI/CD, AppVeyor, Woodpecker, RWX and Bitrise.
- Add CakeFile parameter, defaulting to cake.cs.
- Add Framework parameter selecting the mcr.microsoft.com/dotnet/sdk 10.0-resolute-aot or 11.0-resolute-aot image for container based providers.
- Install the .NET SDK from global.json for GitHub Actions, Azure DevOps Pipelines, AppVeyor, RWX and Bitrise on macOS.
- Add OS parameter with GitHub runner image labels and matrix, mapped per provider for Azure DevOps Pipelines, AppVeyor and Bitrise.
- Install the .NET SDK on AppVeyor with a pwsh step using dotnet-install.sh on Linux and dotnet-install.ps1 on Windows.
- Validate generated pipelines in integration tests with YamlDotNet, check for leaked template conditionals, expected content and the mandatory Provider parameter.
- Document the cakeci template in the Cake.Template README.
- fixes cake-build#255
- Check out cakeci template files with LF line endings, as the template engine leaks conditionals for CRLF files on Windows.
- fixes cake-build#255
@devlead
devlead merged commit a452e30 into cake-build:develop Oct 21, 2026
6 checks passed
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.

Add cakeci template for minimal CI pipelines running a Cake file-based build

1 participant