|
|
@ -29,10 +29,21 @@ jobs:
|
|
|
|
- name: Homebrew install dependencies
|
|
|
|
- name: Homebrew install dependencies
|
|
|
|
# Compared to the README, adds ccache for faster compilation times
|
|
|
|
# Compared to the README, adds ccache for faster compilation times
|
|
|
|
# Compared to the emulator, adds p7zip.
|
|
|
|
# Compared to the emulator, adds p7zip.
|
|
|
|
run: >
|
|
|
|
run: |
|
|
|
|
brew install -q nasm ragel binutils coreutils libtool autoconf automake cmake makedepend
|
|
|
|
packages=(
|
|
|
|
sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep bison
|
|
|
|
nasm binutils coreutils libtool autoconf automake cmake makedepend
|
|
|
|
ccache p7zip
|
|
|
|
sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep bison
|
|
|
|
|
|
|
|
ccache p7zip
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
# Lua 5.1 is disabled, so we need to work around that:
|
|
|
|
|
|
|
|
# - fetch all packages
|
|
|
|
|
|
|
|
brew fetch "${packages[@]}"
|
|
|
|
|
|
|
|
# - disable auto-updates
|
|
|
|
|
|
|
|
export HOMEBREW_NO_AUTO_UPDATE=1
|
|
|
|
|
|
|
|
# - install lua@5.1 from cache
|
|
|
|
|
|
|
|
brew install "$(brew --cache lua@5.1)"
|
|
|
|
|
|
|
|
# - and install the rest
|
|
|
|
|
|
|
|
brew install "${packages[@]}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Building in progress…
|
|
|
|
- name: Building in progress…
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|