Skip to content

Commit

Permalink
debug out-of-disk-space errors on macOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Aug 28, 2024
1 parent 3fa5b4b commit 0f6a9fe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
sparse-checkout-cone-mode: false
sparse-checkout: /.github

- name: show disk usage
run: df -h

- name: Install libraries
uses: ./.github/actions/setup/macos

Expand All @@ -74,6 +77,9 @@ jobs:
# Set fetch-depth: 0 so that Launchable can receive commits information.
fetch-depth: 10

- name: show disk usage
run: df -h

- name: make sure that kern.coredump=1
run: |
sysctl -n kern.coredump
Expand All @@ -83,11 +89,20 @@ jobs:
- name: Run configure
run: ../src/configure -C --disable-install-doc ${ruby_configure_args}

- name: show disk usage
run: df -h

- run: make prepare-gems
if: ${{ matrix.test_task == 'test-bundled-gems' }}

- name: show disk usage
run: df -h

- run: make

- name: show disk usage
run: df -h

- name: Set test options for skipped tests
run: |
set -x
Expand All @@ -105,6 +120,9 @@ jobs:
srcdir: src
continue-on-error: true

- name: show disk usage
run: df -h

- name: Set extra test options
run: |
echo "TESTS=$TESTS ${{ matrix.test_opts }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 0f6a9fe

Please sign in to comment.