Skip to content

Commit

Permalink
Update macos-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy authored Dec 22, 2024
1 parent 53d18fd commit edb3e21
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
fail-fast: false
matrix:
os:
#- macos-11
- macos-12
- macos-13
# - macos-14
compiler:
- clang
- gcc
Expand All @@ -47,8 +47,13 @@ jobs:
# - libpng
# - libvorbis
# - python
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.12.8

- name: Install dependencies using homebrew
run: brew install boost-python3 gtk+3 gtkglext sdl
run: brew install boost-python3 gtk+3 gtkglext sdl libvorbis

# The following Apple-provided libraries are deprecated:
# * OpenGL as of macOS 10.14
Expand All @@ -57,18 +62,16 @@ jobs:
if: ${{ matrix.homebrew-gl }}
run: |
brew install mesa mesa-glu freeglut
ln -s /usr/local/include/GL /usr/local/include/OpenGL
ln -s /usr/local/include/GL /usr/local/include/GLUT
# ln -s /usr/local/lib/libGL.dylib /usr/local/lib/libOpenGL.dylib
# find /usr/local/lib/ -iname '*gl*.dylib'
ln -s "$(brew --prefix)/include/GL" "$(brew --prefix)/include/OpenGL"
ln -s "$(brew --prefix)/include/GL" "$(brew --prefix)/include/GLUT"
# The Apple-provided OpenAL is deprecated as of macOS 10.15
- name: Optionally install homebrewed OpenAL
if: ${{ matrix.homebrew-al }}
run: brew install openal-soft

- name: Check out repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f #v4.1.3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 2
submodules: false
Expand All @@ -88,7 +91,7 @@ jobs:
MY_OS_NAME: macos
COMPILER: ${{ matrix.compiler }}
FLAGS: -DCMAKE_FIND_FRAMEWORK=LAST
OPENALDIR: "/usr/local/opt/openal-soft"
OPENALDIR: "$(brew --prefix)/opt/openal-soft"
IS_RELEASE: 1
run: script/cibuild $FLAGS

Expand Down

0 comments on commit edb3e21

Please sign in to comment.