Skip to content

Commit

Permalink
Support macos-latest (#23)
Browse files Browse the repository at this point in the history
This adds /opt/homebrew/ as well as /usr/local/ as /opt/homebrew is required on macos-latest, while /usr/local/ is needed on prior ones.
  • Loading branch information
angerman committed May 6, 2024
1 parent 18a618f commit 67d7fa3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ runs:
shell: bash
run: |
echo "LD_LIBRARY_PATH=/usr/local/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=/usr/local/opt/cardano/lib/pkgconfig:/usr/local/opt/openssl@3.0/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH" \
# Note: we add both /opt/homebrew/opt and /usr/local/opt for homebrews openssl@3.0, this is
# because different GitHub Runner at different revisions have different homebrew opt layouts.
echo "PKG_CONFIG_PATH=/usr/local/opt/cardano/lib/pkgconfig:/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:/usr/local/opt/openssl@3.0/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH" \
>> $GITHUB_ENV
# There are three pkg-config packages available for mingw, and each one has their problems:
Expand Down

0 comments on commit 67d7fa3

Please sign in to comment.