Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaokun committed Dec 29, 2024
1 parent 44b583e commit 325af59
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,18 @@ jobs:
run: ./configure && make clean && make -j$(sysctl -n hw.ncpu)
- name: build2-test
run: |
export CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix c-ares)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix c-ares)/lib $LDFLAGS"
echo "CFLAGS: $CFLAGS"
echo "LDFLAGS: $LDFLAGS"
ls $(brew --prefix c-ares)/include/ares.h
- name: build2
run: ./configure --enable-sockets --enable-mysqlnd --enable-http2 --enable-hook-curl
run: |
export CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix c-ares)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix c-ares)/lib $LDFLAGS"
echo "CFLAGS: $CFLAGS"
echo "LDFLAGS: $LDFLAGS"
./configure --enable-sockets --enable-mysqlnd --enable-http2 --enable-hook-curl
--enable-openssl --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-cares --enable-debug-log &&
make clean && make -j$(sysctl -n hw.ncpu)
Expand Down

0 comments on commit 325af59

Please sign in to comment.