Skip to content

Commit

Permalink
Ensure all GNU coreutils are available
Browse files Browse the repository at this point in the history
macOS Ventura (14) has added a realpath utility which causes brew's
coreutils package to install realpath as grealpath. Follow brew's
configuration advice for the PATH variable.
  • Loading branch information
dra27 committed Apr 25, 2024
1 parent bd96d2a commit 00ce8a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/main/preamble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ fi
echo "Cache -> $CACHE"
OCAML_LOCAL=$CACHE/ocaml-local
OPAM_LOCAL=$CACHE/opam-local
if [ "$RUNNER_OS" = 'macOS' ]; then
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
fi
PATH=$OPAM_LOCAL/bin:$OCAML_LOCAL/bin:$PATH; export PATH

OPAM_COLD=${OPAM_COLD:-0}
Expand Down
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ users)
## Build

## Infrastructure
* Ensure GNU coreutils available on the macOS 14 CI runners [#5938 @dra27]

## Release scripts

Expand Down

0 comments on commit 00ce8a6

Please sign in to comment.