mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-25 06:13:03 +00:00
Use a modern GNU Make for CMake CI on macOS
We can assume that CMake handles old Make correctly, but we'd like to benefit from improvements like output batching.
This commit is contained in:
7
.github/scripts/install_deps.sh
vendored
7
.github/scripts/install_deps.sh
vendored
@@ -7,8 +7,11 @@ case "${1%-*}" in
|
|||||||
sudo apt-get -qq update
|
sudo apt-get -qq update
|
||||||
sudo apt-get install -yq bison libpng-dev pkg-config
|
sudo apt-get install -yq bison libpng-dev pkg-config
|
||||||
;;
|
;;
|
||||||
macos)
|
macos)
|
||||||
brew install bison sha2 md5sha1sum
|
# macOS bundles GNU Make 3.81, which doesn't support synced output.
|
||||||
|
# We leave it as the default in `PATH`, to test that our Makefile works with it.
|
||||||
|
# However, CMake automatically uses Homebrew's `gmake`, so our CI has synced output.
|
||||||
|
brew install bison sha2 md5sha1sum make
|
||||||
# Export `bison` to allow using the version we install from Homebrew,
|
# Export `bison` to allow using the version we install from Homebrew,
|
||||||
# instead of the outdated one preinstalled on macOS (which doesn't even support `-Wall`...)
|
# instead of the outdated one preinstalled on macOS (which doesn't even support `-Wall`...)
|
||||||
export PATH="/opt/homebrew/opt/bison/bin:$PATH"
|
export PATH="/opt/homebrew/opt/bison/bin:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user