Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
418 B
21 lines
418 B
2 years ago
|
#!/bin/bash
|
||
|
#
|
||
|
# Build file to set up and run tests
|
||
|
|
||
|
# Change to repo root
|
||
|
cd $(dirname $0)/../../..
|
||
|
|
||
|
# Prepare worker environment to run tests
|
||
|
source kokoro/macos/prepare_build_macos_rc
|
||
|
|
||
|
# Install Dependencies
|
||
|
brew install coreutils php@7.4
|
||
|
|
||
|
# Configure path
|
||
|
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/7.4.[0-9]*")
|
||
|
test ! -z "$PHP_FOLDER"
|
||
|
export PATH="$PHP_FOLDER/bin:$PATH"
|
||
|
|
||
|
# Test
|
||
|
./tests.sh php_mac
|