From f523d85ac095cf12cddd4e9097b462a93a9af49b Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 02:59:27 +0100 Subject: [PATCH 1/5] added gradle caching because willie says that worked for him --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4055b0a..b93ac285 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,15 @@ trigger: pool: vmImage: 'ubuntu-latest' +variables: + GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle + steps: +- task: Cache@2 + inputs: + key: 'gradle | "$(Agent.OS)"' + path: '$(GRADLE_USER_HOME)' + restoreKeys: 'gradle' - task: Gradle@2 inputs: workingDirectory: '' From 7a716c744fcc05f043d2d1309750e0c4b9508feb Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 03:06:18 +0100 Subject: [PATCH 2/5] try disabling mmap --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b93ac285..b0d59cf1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,6 +11,7 @@ pool: variables: GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle + sun.zip.disableMemoryMapping: true steps: - task: Cache@2 From 924811fe7882575021f2f4aa7f37fa2882db2ab5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 03:12:35 +0100 Subject: [PATCH 3/5] wait this is a jvm variable --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0d59cf1..094b69a4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,6 @@ pool: variables: GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle - sun.zip.disableMemoryMapping: true steps: - task: Cache@2 @@ -24,7 +23,7 @@ steps: workingDirectory: '' gradleWrapperFile: 'gradlew' options: '--no-daemon' - gradleOptions: '-Xmx3072m' + gradleOptions: '-Xmx3072m -Dsun.zip.disableMemoryMapping="false"' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.8' jdkArchitectureOption: 'x64' From d4e7798e65051fd4fbdccbe76b5ab8d22581b732 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 03:14:18 +0100 Subject: [PATCH 4/5] I really need to sleep --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 094b69a4..7b4aaa74 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,7 +23,7 @@ steps: workingDirectory: '' gradleWrapperFile: 'gradlew' options: '--no-daemon' - gradleOptions: '-Xmx3072m -Dsun.zip.disableMemoryMapping="false"' + gradleOptions: '-Xmx3072m -Dsun.zip.disableMemoryMapping="true"' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.8' jdkArchitectureOption: 'x64' From 8e41a997b6bfa194b488f3261d14aa20f8541999 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 03:31:20 +0100 Subject: [PATCH 5/5] let's try building on windows --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7b4aaa74..2c68ab32 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ trigger: - master pool: - vmImage: 'ubuntu-latest' + vmImage: 'windows-latest' variables: GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle