Skip to content

Commit dd00993

Browse files
authored
CI: Fix Post-Job Ccache Error (#5823)
1 parent 9c9f188 commit dd00993

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.azure-pipelines.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ jobs:
5252
timeoutInMinutes: 240
5353

5454
steps:
55-
# set up caches:
55+
# Ccache caching:
5656
# - once stored under a key, they become immutable (even if cache content changes)
5757
# - for a refresh the key has to change, e.g., hash of a tracked file in the key
58+
- bash: |
59+
mkdir -p /home/vsts/.ccache
60+
displayName: 'Create Ccache Directory'
5861
- task: Cache@2
5962
continueOnError: true
6063
inputs:
@@ -64,7 +67,7 @@ jobs:
6467
Ccache | "$(System.JobName)" | .azure-pipelines.yml
6568
path: /home/vsts/.ccache
6669
cacheHitVar: CCACHE_CACHE_RESTORED
67-
displayName: Cache Ccache Objects
70+
displayName: 'Cache Ccache Objects'
6871

6972
- bash: |
7073
set -o nounset errexit pipefail

0 commit comments

Comments
 (0)