File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,13 @@ jobs:
2222 CONDA_PY : " 310"
2323
2424 steps :
25- - script : echo '##vso[task.prependpath]/usr/local/miniconda/condabin'
26- displayName : ' Set conda path'
27-
28- - script : rm /usr/local/miniconda/pkgs/cache/*.json
29- displayName : ' Workaround for mamba-org/mamba#488'
30-
3125 - task : Cache@2
3226 inputs :
3327 key : sccache-0
3428 restoreKeys : |
3529 sccache-restore-0
36- path : ~ /.sccache
37- displayName : Restore Sccache
30+ path : $(HOME) /.sccache
31+ displayName : Restore Sccache cache
3832
3933 - script : |
4034 set -eux
@@ -43,11 +37,25 @@ jobs:
4337 curl -L https://github.com/mozilla/sccache/releases/download/$sccache_version/$sccache_archive_name.tar.gz \
4438 | tar xzf - -O $sccache_archive_name/sccache > /usr/local/bin/sccache
4539 chmod +x /usr/local/bin/sccache
46- SCCACHE_IDLE_TIMEOUT=999999 SCCACHE_DIR=~ /.sccache sccache --start-server
40+ SCCACHE_IDLE_TIMEOUT=999999 SCCACHE_DIR=$(HOME) /.sccache sccache --start-server
4741 sccache -s
4842 sccache -z
4943 displayName: Setup Sccache
5044
45+ - task : Cache@2
46+ inputs :
47+ key : conda-0
48+ restoreKeys : |
49+ conda-restore-0
50+ pattern : /usr/local/miniconda/pkgs/*.tar.bz2
51+ displayName : Restore Conda package cache
52+
53+ - script : echo '##vso[task.prependpath]/usr/local/miniconda/condabin'
54+ displayName : ' Set conda path asdf'
55+
56+ - script : rm /usr/local/miniconda/pkgs/cache/*.json
57+ displayName : ' Workaround for mamba-org/mamba#488'
58+
5159 - script : |
5260 set -eux
5361 conda install -y -c conda-forge -n base 'mamba>=0.22' pip
You can’t perform that action at this time.
0 commit comments