File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181 uses : docker/setup-qemu-action@v2
8282 with :
8383 image : tonistiigi/binfmt:latest
84+ - name : Set coredump pattern
85+ run : |
86+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
8487 - name : run tests
8588 id : test
8689 run : |
@@ -140,6 +143,9 @@ jobs:
140143 uses : docker/setup-qemu-action@v2
141144 with :
142145 image : tonistiigi/binfmt:latest
146+ - name : Set coredump pattern
147+ run : |
148+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
143149 - name : run tests
144150 id : root-test
145151 run : |
Original file line number Diff line number Diff line change 5656 run : |
5757 __arch="${{ matrix.arch }}"
5858 echo "ARCH_NAME=${__arch//\//-}" >>"$GITHUB_ENV"
59+ - name : Set coredump pattern
60+ run : |
61+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
5962 - name : compile and run unit tests
6063 id : test
6164 run : |
Original file line number Diff line number Diff line change 5959 run : |
6060 __arch="${{ matrix.arch }}"
6161 echo "ARCH_NAME=${__arch//\//-}" >>"$GITHUB_ENV"
62+ - name : Set coredump pattern
63+ run : |
64+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
6265 - name : compile and run unit tests
6366 id : test
6467 run : |
Original file line number Diff line number Diff line change 5353 run : echo READLINE=libreadline >> $GITHUB_ENV
5454 if : matrix.os == 'debian-jessie'
5555
56+ - name : Set coredump pattern
57+ run : |
58+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
59+
5660 - name : build and test
5761 id : test
5862 run : |
@@ -121,6 +125,10 @@ jobs:
121125 run : echo READLINE=libreadline >> $GITHUB_ENV
122126 if : matrix.os == 'debian-jessie'
123127
128+ - name : Set coredump pattern
129+ run : |
130+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
131+
124132 - name : build and test with clang
125133 id : test
126134 run : |
@@ -183,6 +191,10 @@ jobs:
183191 - name : unpack binary archive
184192 run : tar xfmv test-progs.tar
185193
194+ - name : Set coredump pattern
195+ run : |
196+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
197+
186198 - name : run root tests
187199 id : test
188200 run : |
Original file line number Diff line number Diff line change 6060 steps :
6161 - name : checkout
6262 uses : actions/checkout@v4
63+ - name : Set coredump pattern
64+ run : |
65+ echo 'core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
6366 - name : build and test
6467 id : test
6568 run : make CC=${{ matrix.compiler }} READLINE=libreadline -j$(nproc) -Orecurse test
You can’t perform that action at this time.
0 commit comments