Skip to content
Closed
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
14 changes: 12 additions & 2 deletions doc/win-dev.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ try {
$Env:Path += $ChocoPath
}

# GitHub Actions uses an image that comes with most dependencies preinstalled. Don't install them twice.
# GitHub Actions uses an image that comes with some dependencies preinstalled.
# Don't install them twice.
# It also comes with VS 2026, but our build server currently uses VS 2022, see:
# https://github.com/Icinga/icinga2/issues/10885
if (-not $Env:GITHUB_ACTIONS) {
choco install -y `
"visualstudio${VsVersion}community" `
Expand All @@ -87,7 +90,14 @@ if (-not $Env:GITHUB_ACTIONS) {
wixtoolset
ThrowOnNativeFailure
} else {
choco install -y winflexbison3
choco install -y `
"visualstudio${VsVersion}community" `
"visualstudio${VsVersion}-workload-vctools" `
"visualstudio${VsVersion}-workload-manageddesktop" `
"visualstudio${VsVersion}-workload-nativedesktop" `
"visualstudio${VsVersion}-workload-universal" `
"visualstudio${VsVersion}buildtools" `
winflexbison3
ThrowOnNativeFailure
}

Expand Down
Loading