Skip to content

Commit

Permalink
add --parallel to some jobs in ci, increase metaspace, and cache Info…
Browse files Browse the repository at this point in the history
….kt in ci
  • Loading branch information
gciatto committed Oct 23, 2020
1 parent 44f9b61 commit 4339b55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ variables:
BEFORE_TASK: ""
AFTER_TASK: ""
GCMD: "gradle"
BUILD_TASK: "clean assemble"
CHECK_CODE_TASK: "ktlintCheck"
BUILD_TASK: "clean assemble --parallel"
CHECK_CODE_TASK: "ktlintCheck --parallel"
TEST_TASK: "check -x dokkaHtml"
TEST_JVM_TASK: "jvmTest -x dokkaHtml"
TEST_JS_TASK: "clean jsTest -x dokkaHtml"
DOC_TASK: "dokkaHtml"
SIGN_TASK: "signAllPublications"
BINTRAY_TASK: "publishAllToBintray"
CENTRAL_TASK: "publishAllPublicationsToMavenRepository"
DOC_TASK: "dokkaHtml --parallel"
SIGN_TASK: "signAllPublications --parallel"
BINTRAY_TASK: "publishAllToBintray --parallel"
CENTRAL_TASK: "publishAllPublicationsToMavenRepository --parallel"
JS_COMPILE_TASK: "clean jsMain"
NPM_PUBLISH_TASK: "npmPublish"
GITHUB_PUBLISH_TASK: "githubRelease"
Expand All @@ -33,6 +33,7 @@ cache:
- .gradle/
- build/
- '**/build/'
- core/src/commonMain/kotlin/it/unibo/tuprolog/Info.kt

stages:
- check
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kotlin.code.style=official
kotlin.mpp.stability.nowarn=true
systemProp.org.gradle.internal.http.connectionTimeout=180000
systemProp.org.gradle.internal.http.socketTimeout=180000
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1024m
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=2g

javaVersion=8

Expand Down

0 comments on commit 4339b55

Please sign in to comment.