File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,11 @@ jobs:
225225 echo "LLVM_CONFIG_PATH=${{ runner.temp }}/llvm-${{ env.clang }}/bin/llvm-config" >> $GITHUB_ENV
226226
227227 - name : Test with embed feature
228- run : cargo test --workspace --release --features closure,embed,anyhow --no-fail-fast
228+ run : |
229+ sudo sysctl -w kernel.core_pattern='core.%e.%p'
230+ ulimit -c unlimited
231+ cargo test --workspace --release --features closure,embed,anyhow --no-fail-fast || \
232+ (for core in core.*; do [ -f "$core" ] && gdb -batch -ex "thread apply all bt" target/release/deps/sapi_tests-* "$core"; done; exit 1)
229233
230234 build-musl :
231235 name : musl / ${{ matrix.php }} / ${{ matrix.phpts[1] }}
@@ -239,7 +243,7 @@ jobs:
239243 steps :
240244 - name : Checkout code
241245 uses : actions/checkout@v5
242- - name : Setup DockerX
246+ - name : Setup DockerX
243247 uses : docker/setup-buildx-action@v3
244248 - name : Build
245249 uses : docker/build-push-action@v6
@@ -267,4 +271,4 @@ jobs:
267271 -v $(pwd):/workspace \
268272 -w /workspace \
269273 extphprs/ext-php-rs:musl-${{ matrix.php }}-${{ matrix.phpts[1] }} \
270- test --workspace --release --features closure,anyhow,runtime --no-fail-fast
274+ test --workspace --release --features closure,anyhow,runtime --no-fail-fast
You can’t perform that action at this time.
0 commit comments