Skip to content

Commit

Permalink
Print more diagnostic strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Apr 3, 2024
1 parent 3f42594 commit 0d39e0e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,12 @@ jobs:
brew install lhapdf
# install APPLgrid's dependencies
brew install --only-dependencies --without-hoppet --without-lhapdf applgrid
# install zlib, system doesn't seem to have static library
brew install pkg-config
brew reinstall zlib
brew ls --verbose zlib
which -a pkg-config
which pkg-config
echo "PATH = ${PATH}"
## diagnostics
export PKG_CONFIG_PATH=$(find /opt/homebrew/Cellar/ -name '*.pc' -exec dirname {} + | sort -u | tr '\n' ':')
echo "cellar = $(brew --cellar)"
echo "PKG_CONFIG_PATH = ${PKG_CONFIG_PATH}"
pkg-config --libs-only-L pkg-config || true
pkg-config --libs-only-L zlib || true
## end diagnostics
# manually compile APPLgrid, because we need the file `appl_igrid.h` and the file it includes
export HOMEBREW_TEMP="$(pwd)"/tmp
mkdir -p ${HOMEBREW_TEMP}
Expand Down

0 comments on commit 0d39e0e

Please sign in to comment.