shithub: rgbds

ref: 1f579deaffe0d3d1035d46ac3bb2cbbf0002c9a4
dir: /.github/actions/install_deps.sh/

View raw version
case `echo $1 | cut -d '-' -f 1` in
	ubuntu)
		sudo apt-get -qq update
		sudo apt-get install -yq bison libpng-dev pkg-config
		;;
	macos)
		brew install bison libpng pkg-config md5sha1sum
		# For the version check below exclusively, re-do this before building
		export PATH="/usr/local/opt/bison/bin:$PATH"
		;;
	*)
		echo "WARNING: Cannot install deps for OS '$1'"
		;;
esac

bison --version
make --version
cmake --version