Skip to content

Commit c8366f7

Browse files
authored
Merge pull request #5938 from dra27/keeping-macos-real
Fix GitHub Actions for macOS
2 parents bd96d2a + 00ce8a6 commit c8366f7

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)