Cache the gadgets to make CI maybe work
And stop installing experimental gadgets for now. The downloads get rejected and it makes the vimspector bundle bigger than needed.
This commit is contained in:
parent
12df3c53a2
commit
3c8edd4f0f
2 changed files with 15 additions and 4 deletions
|
|
@ -42,8 +42,13 @@ stages:
|
|||
go get -u github.com/go-delve/delve/cmd/dlv
|
||||
displayName: 'Install Delve for Go'
|
||||
|
||||
# TODO: Use cache to store the download directory
|
||||
- bash: python3 install_gadget.py --all --force-all
|
||||
- task: CacheBeta@0
|
||||
inputs:
|
||||
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
|
||||
path: gadgets/linux/download
|
||||
displayName: Cache gadgets
|
||||
|
||||
- bash: python3 install_gadget.py --all
|
||||
displayName: 'Install gadgets - python3'
|
||||
|
||||
- bash: vim --version
|
||||
|
|
@ -78,7 +83,13 @@ stages:
|
|||
- bash: go get -u github.com/go-delve/delve/cmd/dlv
|
||||
displayName: 'Install Delve for Go'
|
||||
|
||||
- bash: python3 install_gadget.py --all --force-all
|
||||
- task: CacheBeta@0
|
||||
inputs:
|
||||
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
|
||||
path: gadgets/macos/download
|
||||
displayName: Cache gadgets
|
||||
|
||||
- bash: python3 install_gadget.py --all
|
||||
displayName: 'Install gadgets - python3'
|
||||
|
||||
- bash: vim --version
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ GADGETS = {
|
|||
'language': 'tcl',
|
||||
'repo': {
|
||||
'url': 'https://github.com/puremourning/TclProDebug',
|
||||
'ref': 'master',
|
||||
'ref': 'f5c56b7067661ce84e205765060224076569ae0e', # master 26/10/2019
|
||||
},
|
||||
'do': lambda name, root: InstallTclProDebug( name, root )
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue