Add lldb smoke test (#1241)

* add lldb runner

* don't build wasmtime

* use brew's lldb

* disable for macos

* set LLDB on linux

* re-org gh actions and cfg

* address feedback
This commit is contained in:
Yury Delendik
2020-03-09 08:06:13 -05:00
committed by GitHub
parent e5b9f1b786
commit 7ce10191df
7 changed files with 102 additions and 4 deletions

13
.github/actions/define-llvm-env/main.js vendored Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env node
// On OSX pointing to brew's LLVM location.
if (process.platform == 'darwin') {
console.log("::set-env name=DWARFDUMP::/usr/local/opt/llvm/bin/llvm-dwarfdump");
console.log("::set-env name=LLDB::/usr/local/opt/llvm/bin/lldb");
}
// On Linux pointing to specific version
if (process.platform == 'linux') {
console.log("::set-env name=DWARFDUMP::/usr/bin/llvm-dwarfdump-9");
console.log("::set-env name=LLDB::/usr/bin/lldb-9");
}