File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,12 @@ 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 apt-get update && sudo apt-get install -y gdb
230+ sudo sysctl -w kernel.core_pattern='core.%e.%p'
231+ ulimit -c unlimited
232+ cargo test --workspace --release --features closure,embed,anyhow --no-fail-fast || \
233+ (for core in core.*; do [ -f "$core" ] && gdb -batch -ex "thread apply all bt" target/release/deps/sapi_tests-* "$core"; done; exit 1)
229234
230235 build-musl :
231236 name : musl / ${{ matrix.php }} / ${{ matrix.phpts[1] }}
@@ -239,7 +244,7 @@ jobs:
239244 steps :
240245 - name : Checkout code
241246 uses : actions/checkout@v5
242- - name : Setup DockerX
247+ - name : Setup DockerX
243248 uses : docker/setup-buildx-action@v3
244249 - name : Build
245250 uses : docker/build-push-action@v6
@@ -267,4 +272,4 @@ jobs:
267272 -v $(pwd):/workspace \
268273 -w /workspace \
269274 extphprs/ext-php-rs:musl-${{ matrix.php }}-${{ matrix.phpts[1] }} \
270- test --workspace --release --features closure,anyhow,runtime --no-fail-fast
275+ test --workspace --release --features closure,anyhow,runtime --no-fail-fast
You can’t perform that action at this time.
0 commit comments