mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Make Luanti buildable for iOS (iPhoneSimulator) with ANGLE and basic CI.
This commit is contained in:
parent
5672b93007
commit
803870e0d2
28 changed files with 568 additions and 36 deletions
|
@ -49,3 +49,22 @@ install_macos_deps() {
|
|||
brew unlink $(brew ls --formula)
|
||||
brew link "${pkgs[@]}"
|
||||
}
|
||||
|
||||
# iOS build only
|
||||
install_ios_deps() {
|
||||
osver=$1
|
||||
|
||||
local pkgs=(
|
||||
cmake gettext wget
|
||||
)
|
||||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||
# contrary to how it may look --auto-update makes brew do *less*
|
||||
brew update --auto-update
|
||||
brew install --display-times "${pkgs[@]}"
|
||||
brew unlink $(brew ls --formula)
|
||||
brew link "${pkgs[@]}"
|
||||
|
||||
wget ios${osver}_deps.tar.gz https://github.com/luanti-org/luanti_ios_deps/releases/download/latest/ios${osver}_deps.tar.gz || echo "Ignore stupid error number 4: $?"
|
||||
tar -xf ios${osver}_deps.tar.gz
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue