We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00289bf commit 88ce8efCopy full SHA for 88ce8ef
1 file changed
.github/workflows/tests.yaml
@@ -93,8 +93,11 @@ jobs:
93
phpts: ts
94
debug: true
95
- name: Set Set CGO flags
96
- run: echo "CGO_CFLAGS=-I/usr/include/php $(php-config --includes)" >> "${GITHUB_ENV}"
97
- - uses: mxschmitt/action-tmate@v3
+ run: |
+ {
98
+ echo "CGO_CFLAGS=$(php-config --includes)"
99
+ echo "CGO_LDFLAGS=-L/opt/homebrew/lib/ $(php-config --ldflags) $(php-config --libs)"
100
+ } >> "${GITHUB_ENV}"
101
- name: Build
102
run: go build -tags nowatcher
103
- name: Run library tests
0 commit comments