mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
ci: remove core dump checking from test.yml
There is already a superior core dump check in test/helpers.lua, which makes this obsolete.
This commit is contained in:
parent
98876db155
commit
d877aa32f2
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@ -268,30 +268,6 @@ jobs:
|
||||
name: Show logs
|
||||
run: cat $(find "$LOG_DIR" -type f)
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: Show core dumps
|
||||
run: |
|
||||
# TODO(dundargoc): app should be luajit for unittests
|
||||
app="build/bin/nvim"
|
||||
if test "$RUNNER_OS" = macOS; then
|
||||
cores="$(find /cores/ -type f -print)"
|
||||
else
|
||||
cores="$(find ./ -type f \( -name 'core.*' -o -name core -o -name nvim.core \) -print)"
|
||||
fi
|
||||
|
||||
if test -z "$cores"; then
|
||||
exit 0
|
||||
fi
|
||||
for core in $cores; do
|
||||
if test "$RUNNER_OS" = macOS; then
|
||||
lldb -Q -o "bt all" -f "$app" -c "$core"
|
||||
else
|
||||
gdb -n -batch -ex 'thread apply all bt full' "$app" -c "$core"
|
||||
fi
|
||||
done
|
||||
echo 'Core dumps found'
|
||||
exit 1
|
||||
|
||||
build-types:
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 10
|
||||
|
Loading…
Reference in New Issue
Block a user