File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -149,16 +149,13 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push
1491493. 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
1641614. Connect to the container
You can’t perform that action at this time.
0 commit comments