Skip to content

Commit 7a09634

Browse files
committed
build: display brew opt dir
1 parent 5cc7eb6 commit 7a09634

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,12 @@ jobs:
281281
if [ "${{ matrix.id }}" == "macos-arm64" ]; then
282282
brew_dir="$HOME/brew"
283283
fi
284+
brew_opt_dir="$brew_dir/opt"
285+
ls -l "$brew_opt_dir"
284286
285-
echo "CPPFLAGS=-I${brew_dir}/opt/icu4c/include -I${brew_dir}/opt/openssl/include" | tee -a $GITHUB_ENV
286-
echo "LDFLAGS=-L${brew_dir}/opt/icu4c/lib -L${brew_dir}/opt/openssl/lib" | tee -a $GITHUB_ENV
287-
echo "LLVM_CONFIG=${brew_dir}/opt/llvm/bin/llvm-config" | tee -a $GITHUB_ENV
287+
echo "CPPFLAGS=-I${brew_opt_dir}/icu4c/include -I${brew_opt_dir}/openssl/include" | tee -a $GITHUB_ENV
288+
echo "LDFLAGS=-L${brew_opt_dir}/icu4c/lib -L${brew_opt_dir}/openssl/lib" | tee -a $GITHUB_ENV
289+
echo "LLVM_CONFIG=${brew_opt_dir}/llvm/bin/llvm-config" | tee -a $GITHUB_ENV
288290
289291
- name: Build (MacOS)
290292
if: ${{ startsWith(matrix.id, 'macos-') }}

0 commit comments

Comments
 (0)