Skip to content

Commit e8f2d59

Browse files
committed
fix
1 parent 07a8a5d commit e8f2d59

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,11 @@ jobs:
9393
phpts: ts
9494
debug: true
9595
- 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
96+
run: |
97+
{
98+
echo "CGO_CFLAGS=$(php-config --includes)"
99+
echo "CGO_LDFLAGS=-L/opt/homebrew/lib/ $(php-config --ldflags) $(php-config --libs)"
100+
} >> "${GITHUB_ENV}"
98101
- name: Build
99102
run: go build -tags nowatcher
100103
- name: Run library tests

0 commit comments

Comments
 (0)