Skip to content

Commit

Permalink
TeamCity: fix windows/amd64 builds (go-delve#3223)
Browse files Browse the repository at this point in the history
Windows/amd64 builds are not runnning because the current settings.kts
has an implicity requirement to property teamcity.build.systemDir which
does not exist on windows/amd64 agents.
  • Loading branch information
aarzilli authored Dec 19, 2022
1 parent 72c77b1 commit 32df407
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso
scriptMode = file {
path = "_scripts/test_windows.ps1"
}
param("jetbrains_powershell_scriptArguments", "-version ${"go$version"} -arch $arch -binDir %teamcity.build.systemDir%")
param("jetbrains_powershell_scriptArguments", "-version ${"go$version"} -arch $arch")
}
}
"mac" -> {
Expand Down
1 change: 0 additions & 1 deletion _scripts/test_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ param (
)

if ($binDir -eq "") {
# TODO: remove once the current version of settings.kts gets to master.
$binDir = Resolve-Path "../../system" # working directory
}

Expand Down

0 comments on commit 32df407

Please sign in to comment.