From 4fee1019f607cdbfd6c55fc5ca587de04cb3cb65 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 27 May 2024 12:56:07 +0900 Subject: [PATCH] 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. --- .github/workflows/macos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 151df8126bec59..3d97c092f7dbdb 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: ''