mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ci/macos: trim build dependencies
We actually don't need luarocks anymore for building (just testing).
This commit is contained in:
committed by
Frans de Jonge
parent
1568303b93
commit
41f4b1f2ac
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -101,17 +101,8 @@ jobs:
|
||||
run: |
|
||||
packages=(
|
||||
nasm binutils coreutils libtool autoconf automake cmake make
|
||||
sdl2 lua@5.1 luarocks gettext pkg-config wget
|
||||
gnu-getopt grep p7zip ninja
|
||||
sdl2 gettext pkg-config wget gnu-getopt grep p7zip ninja
|
||||
)
|
||||
# Lua 5.1 is disabled, so we need to work around that:
|
||||
# - fetch all packages
|
||||
brew fetch --formula "${packages[@]}"
|
||||
# - disable auto-updates
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
# - install lua@5.1 from cache
|
||||
brew install --formula --quiet "$(brew --cache lua@5.1)"
|
||||
# - and install the rest
|
||||
brew install --formula --quiet "${packages[@]}"
|
||||
|
||||
- name: Update PATH
|
||||
|
||||
Reference in New Issue
Block a user