Skip to content

Commit bf163d9

Browse files
committed
where is it looking for cbrotli headers if not in the system folders?
1 parent 14e5297 commit bf163d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ jobs:
5757
phpts: ts
5858
debug: true
5959
- name: Install system dependencies
60-
run: sudo apt-get update && sudo apt-get install -y libbrotli-dev
60+
run: sudo apt-get update && sudo apt-get install -y libbrotli-dev pkg-config
6161
- name: Install e-dant/watcher
6262
uses: ./.github/actions/watcher
6363
- name: Set CGO flags
64-
run: echo "CGO_CFLAGS=-I${PWD}/watcher/target/include $(php-config --includes)" >> "${GITHUB_ENV}"
64+
run: echo "CGO_CFLAGS=-I${PWD}/watcher/target/include $(php-config --includes) $(pkg-config --cflags libbrotlidec libbrotlienc libbrotlicommon)" >> "${GITHUB_ENV}"
6565
- name: Build
6666
run: go build
6767
- name: Build testcli binary

0 commit comments

Comments
 (0)