Skip to content

Commit 07a8a5d

Browse files
committed
debug
1 parent da994ea commit 07a8a5d

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ jobs:
9292
env:
9393
phpts: ts
9494
debug: true
95-
- run: ls /usr/include/php
9695
- name: Set Set CGO flags
9796
run: echo "CGO_CFLAGS=-I/usr/include/php $(php-config --includes)" >> "${GITHUB_ENV}"
97+
- uses: mxschmitt/action-tmate@v3
9898
- name: Build
9999
run: go build -tags nowatcher
100100
- name: Run library tests

CONTRIBUTING.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,13 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push
149149
3. Enable `tmate` to connect to the container
150150

151151
```patch
152-
-
153-
name: Set CGO flags
152+
- name: Set CGO flags
154153
run: echo "CGO_CFLAGS=$(php-config --includes)" >> "$GITHUB_ENV"
155-
+ -
156-
+ run: |
154+
+ - run: |
157155
+ sudo apt install gdb
158156
+ mkdir -p /home/runner/.config/gdb/
159157
+ printf "set auto-load safe-path /\nhandle SIG34 nostop noprint pass" > /home/runner/.config/gdb/gdbinit
160-
+ -
161-
+ uses: mxschmitt/action-tmate@v3
158+
+ - uses: mxschmitt/action-tmate@v3
162159
```
163160

164161
4. Connect to the container

0 commit comments

Comments
 (0)