From f0b8a1683a4f7d0d93618d0e0e48a0f4293f2609 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Wed, 12 Aug 2020 18:07:25 +0200 Subject: [PATCH] CI(azure): Disable environment caching This feature of AzurePipelines has only been introduced recently. However it turned out that on average the caching of the environment takes significantly more time than simply downloading it on every run. Thus this commit disables environment caching again. --- .ci/azure-pipelines/steps_macos.yml | 2 -- .ci/azure-pipelines/steps_windows.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/.ci/azure-pipelines/steps_macos.yml b/.ci/azure-pipelines/steps_macos.yml index 8463c4f52..26c0c96c7 100644 --- a/.ci/azure-pipelines/steps_macos.yml +++ b/.ci/azure-pipelines/steps_macos.yml @@ -6,8 +6,6 @@ parameters: steps: - script: git submodule --quiet update --init --recursive displayName: 'Fetch submodules' - - ${{if eq(parameters.installEnvironment, true)}}: - - template: task-environment-cache.yml - ${{if eq(parameters.installEnvironment, true)}}: - script: .ci/azure-pipelines/install-environment_macos.bash displayName: 'Install build environment' diff --git a/.ci/azure-pipelines/steps_windows.yml b/.ci/azure-pipelines/steps_windows.yml index f368b43f2..b2e6012d0 100644 --- a/.ci/azure-pipelines/steps_windows.yml +++ b/.ci/azure-pipelines/steps_windows.yml @@ -1,7 +1,6 @@ steps: - script: git submodule --quiet update --init --recursive displayName: 'Fetch submodules' - - template: task-environment-cache.yml - powershell: .ci/azure-pipelines/install-environment_windows.ps1 displayName: 'Install build environment' - script: .ci/azure-pipelines/build_windows.bat