mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 20:53:42 +08:00
teamcity: misc changes to CI (#3476)
- add architecture rule for ppc64le so that incompatible agents don't pick up the build - disable PIE tests on linux/ppc64le (the tests claim it doesn't work) - enable PIE tests on darwin/amd64 now that the entry point calculation has been fixed - remove dependency on wget and curl in the test script for linux to reduce test time - only install git in the linux test script when we need it - remove staticcheck from linux/ppc64le builds (it takes almost 5 minutes between installation and execution and makes the test timeout sometimes) - drop windows/arm64/tip build, the windows/arm64 build is broken anyway and since there is only one agent it makes CI runs slow - drop linux/ppc64le/tip build, there is only one agent, it's slow and it will always timeout. CI runs in excess of 1h are too long.
This commit is contained in:
committed by
GitHub
parent
6a0423a1e9
commit
32b937c953
@ -398,7 +398,9 @@ func testStandard() {
|
||||
dopie := false
|
||||
switch runtime.GOOS {
|
||||
case "linux":
|
||||
dopie = true
|
||||
if runtime.GOARCH != "ppc64le" {
|
||||
dopie = true
|
||||
}
|
||||
case "windows":
|
||||
// windows/arm64 always uses pie buildmode, no need to test everything again.
|
||||
// only on Go 1.15 or later, with CGO_ENABLED and gcc found in path
|
||||
@ -413,6 +415,11 @@ func testStandard() {
|
||||
}
|
||||
}
|
||||
}
|
||||
case "darwin":
|
||||
if runtime.GOARCH == "amd64" {
|
||||
// arm64 can only build in pie mode
|
||||
dopie = true
|
||||
}
|
||||
}
|
||||
if dopie {
|
||||
fmt.Println("\nTesting PIE buildmode, default backend")
|
||||
|
||||
Reference in New Issue
Block a user