Skip to content

Commit

Permalink
[CI] Core dump dir creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jan 16, 2025
1 parent ddb30e3 commit 069010c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-low-cadence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ jobs:
ulimit -c unlimited
sudo systemctl stop apport.service || true
sudo systemctl disable apport.service || true
sudo mkdir /var/coredump
sudo mkdir -p /var/coredump
sudo chmod a+rw /var/coredump
sudo sysctl -w kernel.core_pattern="/var/coredump/core_%e.%p"
- name: Enable core dumps (MacOS)
if: runner.os == 'macOS'
run: |
ulimit -c unlimited
sudo mkdir /var/coredump
sudo mkdir -p /var/coredump
sudo chmod a+rw /var/coredump
sudo sysctl -w kern.coredump=1
sudo sysctl -w kern.corefile="/var/coredump/core.%P"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ jobs:
ulimit -c unlimited
sudo systemctl stop apport.service || true
sudo systemctl disable apport.service || true
sudo mkdir /var/coredump
sudo mkdir -p /var/coredump
sudo chmod a+rw /var/coredump
sudo sysctl -w kernel.core_pattern="/var/coredump/core_%e.%p"
- name: Enable core dumps (MacOS)
if: runner.os == 'macOS'
run: |
ulimit -c unlimited
sudo mkdir /var/coredump
sudo mkdir -p /var/coredump
sudo chmod a+rw /var/coredump
sudo sysctl -w kern.coredump=1
sudo sysctl -w kern.corefile="/var/coredump/core.%P"
Expand Down

0 comments on commit 069010c

Please sign in to comment.