|
|
|
@ -19,11 +19,14 @@ cd "$(dirname "$0")/../../.." |
|
|
|
|
|
|
|
|
|
mkdir -p "${ARTIFACTS_OUT}" |
|
|
|
|
|
|
|
|
|
# build the PHP extension archive (this just zips all the files up) |
|
|
|
|
# Build the PHP extension archive (this just zips all the files up) |
|
|
|
|
pear package |
|
|
|
|
# test installing the PHP extension via pecl install |
|
|
|
|
# Note: the extension compiled by this step is not being used in any |
|
|
|
|
# way, i.e. they are not the pacakge being distributed. |
|
|
|
|
# This is done here to get an early signal for compiling the PHP |
|
|
|
|
# extension in some form. |
|
|
|
|
find . -name "grpc-*.tgz" | cut -b3- | xargs pecl install |
|
|
|
|
# verified that the grpc extension is installed |
|
|
|
|
# Verified that the grpc extension is built properly. |
|
|
|
|
php -d extension=grpc.so --re grpc | head -1 |
|
|
|
|
|
|
|
|
|
cp -r grpc-*.tgz "${ARTIFACTS_OUT}"/ |
|
|
|
|