Skip to content

Commit

Permalink
Try to upload core file on macos GitHub Actions
Browse files Browse the repository at this point in the history
A core dump occurred, but failed to capture the core file.
https://app.launchableinc.com/organizations/ruby/workspaces/ruby/data/test-sessions/2935062?tab=retried-tests

Looks like a core file was not created. I am not unsure why, so make
sure that the /cores directory is writable and try `ulimit` command.
  • Loading branch information
mame committed May 27, 2024
1 parent f4b4759 commit 4fee101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
run: |
sysctl -n kern.coredump
sudo sysctl -w kern.coredump=1
sudo chmod -R +rwx /cores/
- name: Run configure
run: ../src/configure -C --disable-install-doc ${ruby_configure_args}
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:

- name: make skipped tests
run: |
ulimit -c unlimited
make -s test-all TESTS="${TESTS//-n!\//-n/}"
env:
GNUMAKEFLAGS: ''
Expand Down

0 comments on commit 4fee101

Please sign in to comment.