Use brew bundle to install dependencies

This commit is contained in:
Jacob Coby 2024-04-17 11:10:36 -04:00
parent 1413cfa74b
commit 55e29c23a6
2 changed files with 6 additions and 7 deletions

View File

@ -23,10 +23,8 @@ jobs:
- name: Install macOS dependencies
if: ${{ matrix.os.preset == 'mac' }}
run: |
# Note this is x86_64 Homebrew
/usr/local/bin/brew install sdl12-compat sdl2_image
curl --output-dir /tmp -fsSLO https://github.com/XQuartz/XQuartz/releases/download/XQuartz-2.8.5/XQuartz-2.8.5.pkg
sudo installer -pkg /tmp/XQuartz-2.8.5.pkg -target LocalSystem
# Install packages from Homebrew
brew bundle install
- name: Configure CMake
run: cmake --preset ${{matrix.os.preset}} -B ${{github.workspace}}/build

View File

@ -1,8 +1,9 @@
# Homebrew dependencies to build Descent3
# XQuartz required for OpenGL and glx.h (not included in Xcode)
brew "xquartz"
tap "homebrew/cask"
cask "xquartz"
# SDL
brew "sdl12_compat"
# SDL
brew "sdl12-compat"
brew "sdl2_image"