Upgrade to macOS 10.14

In Mojave, the TCL headers were removed, so we install brew tcl.

Oh and the all of the nonesense around authorizing applications to
connect a debugger mean the tests don't work, so we force LLDB to use
the system debugserver with LLDB_DEBUGSERVER_PATH.
This commit is contained in:
Ben Jackson 2020-01-26 21:58:55 +00:00
commit 1da905a955
2 changed files with 13 additions and 4 deletions

View file

@ -61,6 +61,8 @@ stages:
displayName: 'Run the tests'
env:
VIMSPECTOR_MIMODE: gdb
VIMSPECTOR_TEST_STDOUT: true
VIMSPECTOR_MI_DEBUGGER: ""
- bash: ./make_package linux $(Build.SourceVersion)
displayName: 'Package'
@ -72,11 +74,11 @@ stages:
- job: 'macos'
pool:
vmImage: 'macOS-10.13'
vmImage: 'macOS-10.14'
steps:
- bash: |
brew unlink node@6
brew install macvim node@10
brew install macvim node@10 tcl-tk
brew link --force --overwrite node@10
displayName: 'Install vim and node'
@ -99,6 +101,9 @@ stages:
displayName: 'Run the tests'
env:
VIMSPECTOR_MIMODE: lldb
VIMSPECTOR_TEST_STDOUT: true
VIMSPECTOR_MI_DEBUGGER: ""
LLDB_DEBUGSERVER_PATH: "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Resources/debugserver"
- bash: ./make_package macos $(Build.SourceVersion)
displayName: 'Package'

View file

@ -9,10 +9,14 @@
"args": [],
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"externalConsole": false,
"stopAtEntry": true,
"stopOnEntry": true,
"MImode": "${VIMSPECTOR_MIMODE}"
"MImode": "${VIMSPECTOR_MIMODE}",
"miDebuggerPath": "${VIMSPECTOR_MI_DEBUGGER}",
"logging": {
"engineLogging": true
}
},
"breakpoints": {
"exception": {