summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-05-27 12:56:07 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-05-27 13:40:19 +0900
commit4fee1019f607cdbfd6c55fc5ca587de04cb3cb65 (patch)
tree8614a22a1bff0998e3283b86b9f683f92eb961e2 /.github/workflows
parentf4b475993eefa98cd6c8d2b109aea525993b6f0b (diff)
Try to upload core file on macos GitHub Actions
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 151df8126b..3d97c092f7 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -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}
@@ -115,6 +116,7 @@ jobs:
- name: make skipped tests
run: |
+ ulimit -c unlimited
make -s test-all TESTS="${TESTS//-n!\//-n/}"
env:
GNUMAKEFLAGS: ''