2020-10-19 10:48:07 +02:00
|
|
|
package _Self
|
|
|
|
|
2022-07-07 10:20:10 +02:00
|
|
|
import _Self.buildTypes.Compatibility
|
|
|
|
import _Self.buildTypes.LongRunning
|
|
|
|
import _Self.buildTypes.Nvim
|
|
|
|
import _Self.buildTypes.PluginVerifier
|
|
|
|
import _Self.buildTypes.PropertyBased
|
|
|
|
import _Self.buildTypes.Qodana
|
2023-04-05 21:31:39 +02:00
|
|
|
import _Self.buildTypes.TestingBuildType
|
2021-02-24 02:24:09 +01:00
|
|
|
import _Self.subprojects.GitHub
|
2020-12-23 09:35:28 +01:00
|
|
|
import _Self.subprojects.OldTests
|
2020-12-23 09:27:25 +01:00
|
|
|
import _Self.subprojects.Releases
|
2023-04-05 19:13:04 +02:00
|
|
|
import _Self.vcsRoots.GitHubPullRequest
|
2023-04-05 20:58:35 +02:00
|
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType
|
2020-10-19 10:48:07 +02:00
|
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.Project
|
|
|
|
|
|
|
|
object Project : Project({
|
2023-04-05 19:13:04 +02:00
|
|
|
description = "Vim engine for IDEs based on the IntelliJ platform"
|
2020-10-19 10:48:07 +02:00
|
|
|
|
2021-02-24 02:24:09 +01:00
|
|
|
subProjects(Releases, OldTests, GitHub)
|
2020-12-23 09:27:25 +01:00
|
|
|
|
2020-12-23 09:35:28 +01:00
|
|
|
// VCS roots
|
2020-12-16 09:38:52 +01:00
|
|
|
vcsRoot(GitHubPullRequest)
|
2020-10-19 10:48:07 +02:00
|
|
|
|
2023-04-05 21:31:39 +02:00
|
|
|
// Active tests
|
2023-10-20 10:16:50 +02:00
|
|
|
buildType(TestingBuildType("2023.2", "<default>", version = "2023.2.3"))
|
|
|
|
buildType(TestingBuildType("2023.1", "<default>", version = "2023.1.5"))
|
2023-04-05 21:31:39 +02:00
|
|
|
buildType(TestingBuildType("Latest EAP", "<default>", version = "LATEST-EAP-SNAPSHOT"))
|
2023-08-18 10:34:43 +02:00
|
|
|
buildType(TestingBuildType("Latest EAP With Xorg", "<default>", version = "LATEST-EAP-SNAPSHOT"))
|
2020-12-03 08:02:21 +01:00
|
|
|
|
2021-01-14 15:00:42 +01:00
|
|
|
buildType(PropertyBased)
|
2021-11-24 07:52:17 +01:00
|
|
|
buildType(LongRunning)
|
2021-01-14 15:00:42 +01:00
|
|
|
|
2020-12-03 08:02:21 +01:00
|
|
|
buildType(Nvim)
|
|
|
|
buildType(PluginVerifier)
|
2022-07-07 10:20:10 +02:00
|
|
|
buildType(Compatibility)
|
2020-12-03 08:02:21 +01:00
|
|
|
|
2021-01-13 18:22:58 +01:00
|
|
|
buildType(Qodana)
|
2020-10-19 10:48:07 +02:00
|
|
|
})
|
2023-04-05 20:58:35 +02:00
|
|
|
|
2023-04-05 21:03:30 +02:00
|
|
|
// Common build type for all configurations
|
2023-04-05 20:58:35 +02:00
|
|
|
abstract class IdeaVimBuildType(init: BuildType.() -> Unit) : BuildType({
|
|
|
|
init()
|
|
|
|
|
|
|
|
requirements {
|
|
|
|
// These requirements define Linux-Medium configuration.
|
|
|
|
// Unfortunately, requirement by name (teamcity.agent.name) doesn't work
|
|
|
|
// IDK the reason for it, but on our agents this property is empty
|
|
|
|
equals("teamcity.agent.hardware.cpuCount", "4")
|
|
|
|
equals("teamcity.agent.os.family", "Linux")
|
|
|
|
}
|
2023-06-06 16:33:18 +02:00
|
|
|
|
|
|
|
failureConditions {
|
|
|
|
// Disable detection of the java OOM
|
|
|
|
javaCrash = false
|
|
|
|
}
|
2023-04-05 20:58:35 +02:00
|
|
|
})
|