Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/macos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
push:
branches:
- main
- 'release/v*'

jobs:
macos-latest:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
push:
branches:
- main
- 'release/v*'

jobs:
windows-latest:
Expand Down
12 changes: 7 additions & 5 deletions build/Build.CI.GitHubActions.cs
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
using Fallout.Common.CI.GitHubActions;
using Fallout.Components;

// macOS and Windows runs are reserved for main-branch validation (post-merge
// and release pipelines). PRs and feature-branch pushes get Linux-only for
// fast, cheap feedback.
// macOS and Windows runs are reserved for post-merge validation on the
// long-lived branches (main and release/vN). PRs and feature-branch pushes
// get Linux-only for fast, cheap feedback. Cross-platform regressions on a
// release branch surface as a red commit on release/v* — same fail-fast
// model as main.
[GitHubActions(
"macos-latest",
GitHubActionsImage.MacOsLatest,
FetchDepth = 0,
Submodules = GitHubActionsSubmodules.Recursive,
OnPushBranches = new[] { MainBranch },
OnPushBranches = new[] { MainBranch, ReleaseBranchPattern },
InvokedTargets = new[] { nameof(ITest.Test), nameof(IPack.Pack) },
PublishArtifacts = false)]
[GitHubActions(
"windows-latest",
GitHubActionsImage.WindowsLatest,
FetchDepth = 0,
Submodules = GitHubActionsSubmodules.Recursive,
OnPushBranches = new[] { MainBranch },
OnPushBranches = new[] { MainBranch, ReleaseBranchPattern },
InvokedTargets = new[] { nameof(ITest.Test), nameof(IPack.Pack) },
PublishArtifacts = false)]
// pull_request only — same-repo branches would otherwise fire both push and
Expand Down
Loading