Use --install to run_tests instead of manually running the installer
This commit is contained in:
parent
6b89df173f
commit
8f3de079bc
1 changed files with 4 additions and 10 deletions
|
|
@ -45,20 +45,17 @@ stages:
|
||||||
|
|
||||||
- task: CacheBeta@0
|
- task: CacheBeta@0
|
||||||
inputs:
|
inputs:
|
||||||
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
|
key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py
|
||||||
path: gadgets/linux/download
|
path: gadgets/linux/download
|
||||||
displayName: Cache gadgets
|
displayName: Cache gadgets
|
||||||
|
|
||||||
- bash: python3 install_gadget.py --all
|
|
||||||
displayName: 'Install gadgets - python3'
|
|
||||||
|
|
||||||
- bash: vim --version
|
- bash: vim --version
|
||||||
displayName: 'Print vim version information'
|
displayName: 'Print vim version information'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
./run_tests --report messages --quiet
|
./run_tests --install --report messages --quiet
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
VIMSPECTOR_MIMODE: gdb
|
VIMSPECTOR_MIMODE: gdb
|
||||||
|
|
@ -92,17 +89,14 @@ stages:
|
||||||
|
|
||||||
- task: CacheBeta@0
|
- task: CacheBeta@0
|
||||||
inputs:
|
inputs:
|
||||||
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
|
key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py
|
||||||
path: gadgets/macos/download
|
path: gadgets/macos/download
|
||||||
displayName: Cache gadgets
|
displayName: Cache gadgets
|
||||||
|
|
||||||
- bash: python3 install_gadget.py --all
|
|
||||||
displayName: 'Install gadgets - python3'
|
|
||||||
|
|
||||||
- bash: vim --version
|
- bash: vim --version
|
||||||
displayName: 'Print vim version information'
|
displayName: 'Print vim version information'
|
||||||
|
|
||||||
- bash: ./run_tests --report messages --quiet
|
- bash: ./run_tests --install --report messages --quiet
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
VIMSPECTOR_MIMODE: lldb
|
VIMSPECTOR_MIMODE: lldb
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue