File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 -I/usr/include" >> "${GITHUB_ENV}"
64+ run : echo "CGO_CFLAGS=-I${PWD}/watcher/target/include $(php-config --includes) -I/usr/include" >> "${GITHUB_ENV}"
65+ - name : Debug brotli + cgo
66+ run : |
67+ echo "==dpkg -L libbrotli-dev=="
68+ dpkg -L libbrotli-dev
69+ echo "==find brotli headers=="
70+ find /usr/include /usr/local/include -name "decode.h" -path "*brotli*" 2>/dev/null
71+ echo "==CC=="
72+ echo "CC=${CC:-<unset>}"
73+ which "${CC:-cc}" || true
74+ echo "==CGO_CFLAGS=="
75+ echo "${CGO_CFLAGS}"
76+ echo "==compiler default search paths=="
77+ echo | "${CC:-cc}" -E -Wp,-v -x c - 2>&1 | head -25
78+ echo "==try compiling brotli include with CGO_CFLAGS=="
79+ echo '#include <brotli/decode.h>' | "${CC:-cc}" ${CGO_CFLAGS} -E -x c - 2>&1 | tail -5
80+ echo "==pkg-config check=="
81+ pkg-config --cflags libbrotlidec libbrotlienc libbrotlicommon 2>&1
82+ PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --cflags libbrotlidec libbrotlienc libbrotlicommon 2>&1
6583 - name : Build
6684 run : go build
6785 - name : Build testcli binary
You can’t perform that action at this time.
0 commit comments