Skip to content

Commit 00ce8a6

Browse files
committed
Ensure all GNU coreutils are available
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.
1 parent bd96d2a commit 00ce8a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/scripts/main/preamble.sh

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ fi
1010
echo "Cache -> $CACHE"
1111
OCAML_LOCAL=$CACHE/ocaml-local
1212
OPAM_LOCAL=$CACHE/opam-local
13+
if [ "$RUNNER_OS" = 'macOS' ]; then
14+
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
15+
fi
1316
PATH=$OPAM_LOCAL/bin:$OCAML_LOCAL/bin:$PATH; export PATH
1417

1518
OPAM_COLD=${OPAM_COLD:-0}

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ users)
7070
## Build
7171

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

7475
## Release scripts
7576

0 commit comments

Comments
 (0)