Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build_tools/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
OPENBLAS_NUM_THREADS: '2'
CPU_COUNT: '2'
SKLEARN_SKIP_NETWORK_TESTS: '1'
SKLEARN_DATA_DIR: $(System.DefaultWorkingDirectory)/scikit_learn_data
CCACHE_DIR: $(Pipeline.Workspace)/ccache
CCACHE_COMPRESS: '1'
NUMPY_VERSION: 'latest'
Expand Down Expand Up @@ -49,6 +50,12 @@ jobs:
- bash: sudo chown -R $USER $CONDA
displayName: Take ownership of conda installation
condition: startsWith(variables['DISTRIB'], 'conda')
- task: Cache@2
inputs:
key: '"$(Agent.JobName)"'
path: $(SKLEARN_DATA_DIR)
displayName: Dataset caching
continueOnError: true
- task: Cache@2
inputs:
key: '"$(Agent.JobName)"'
Expand Down