Skip to content

Commit

Permalink
Attempt to capture a core dump from OpenJ9
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Oct 26, 2024
1 parent 30482cc commit 633d874
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,28 @@ jobs:
distribution: 'adopt-openj9'
java-version: '17'
cache: 'maven'

- name: Set cores to get stored in /cores
run: |
sudo mkdir /cores
sudo chmod 777 /cores
# Core filenames will be of the form executable.pid.timestamp:
sudo bash -c 'echo "/cores/%e.%p.%t" > /proc/sys/kernel/core_pattern'
- name: bootstrap
run: mvn -Pbootstrap clean package

- name: bundle install
run: bin/jruby --dev -S bundle install
run: |
ulimit -c unlimited
bin/jruby --dev -S bundle install
- uses: actions/upload-artifact@v3
if: ${{ failure() }} # Run only if something went wrong
with:
name: cores
path: /cores

- name: test profile
run: "tool/maven-ci-script.sh"
env:
Expand Down

0 comments on commit 633d874

Please sign in to comment.