Skip to content

Commit

Permalink
Fix APPL_IGRID_DIR determination
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Apr 1, 2024
1 parent 508cf26 commit 294f966
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ jobs:
brew install lhapdf
# install APPLgrid's dependencies
brew install --only-dependencies applgrid
# 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}
echo "HOMEBREW_TEMP = ${HOMEBREW_TEMP}"
brew install --build-from-source --keep-tmp applgrid
find ${HOMEBREW_TEMP}
export APPL_IGRID_DIR=${HOMEBREW_TEMP}/applgrid-1.6.35/src
export APPL_IGRID_DIR=$(find ${HOMEBREW_TEMP} -name appl_igrid.h -exec dirname {} +)
# install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-host=${{ matrix.target }}
# build the CLI
Expand Down

0 comments on commit 294f966

Please sign in to comment.