Print env
This commit is contained in:
parent
eefb0c5c6b
commit
df8c0179d1
3 changed files with 8 additions and 27 deletions
|
|
@ -37,34 +37,21 @@ stages:
|
|||
image: 'puremourning/vimspector:test'
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
|
||||
steps:
|
||||
- task: bash@3
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: go get -u github.com/go-delve/delve/cmd/dlv
|
||||
noProfile: false
|
||||
noRc: false
|
||||
- bash: |
|
||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||
go get -u github.com/go-delve/delve/cmd/dlv
|
||||
displayName: 'Install Delve for Go'
|
||||
|
||||
- task: bash@3
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: python3 install_gadget.py --all
|
||||
noProfile: false
|
||||
noRc: false
|
||||
- bash: python3 install_gadget.py --all
|
||||
displayName: 'Install gadgets'
|
||||
|
||||
- bash: vim --version
|
||||
displayName: 'Print vim version information'
|
||||
|
||||
- task: bash@3
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: ./run_tests
|
||||
noProfile: false
|
||||
noRc: false
|
||||
- bash: ./run_tests
|
||||
displayName: 'Run the tests'
|
||||
env:
|
||||
VIMSPECTOR_MIMODE: gdb
|
||||
displayName: 'Run the tests'
|
||||
|
||||
- bash: ./make_package linux $(Build.SourceVersion)
|
||||
displayName: 'Package'
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ RUN mkdir -p /home/linuxbrew/.linuxbrew &&\
|
|||
git clone https://github.com/Homebrew/brew /home/linuxbrew/.linuxbrew/Homebrew && \
|
||||
ln -s /home/linuxbrew/.linuxbrew/Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin && \
|
||||
echo "eval \$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" \
|
||||
> /etc/bash.bashrc
|
||||
> /etc/skel/.bashrc
|
||||
|
||||
RUN /home/linuxbrew/.linuxbrew/bin/brew install golang
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,8 @@
|
|||
|
||||
CONTAINER=puremourning/vimspector:manual
|
||||
|
||||
if [ "$@" ];then
|
||||
CMD="$@"
|
||||
else
|
||||
CMD="bash -l"
|
||||
fi
|
||||
|
||||
docker run --cap-add=SYS_PTRACE \
|
||||
--security-opt seccomp=unconfined \
|
||||
--mount src="$(pwd)/../..",target=/home/dev/vimspector,type=bind \
|
||||
-it ${CONTAINER} \
|
||||
$CMD
|
||||
"$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue