Skip to content

Commit

Permalink
Add macOS build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danra committed Apr 17, 2024
1 parent 45473b3 commit df4524c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ jobs:
fail-fast: false

matrix:
os: [{runner: windows-latest, preset: win}]
os: [{runner: windows-latest, preset: win}, {runner: macos-latest, preset: mac}]
build_type: [Debug, Release]

runs-on: ${{ matrix.os.runner }}

steps:
- uses: actions/checkout@v4

- 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
- name: Configure CMake
run: cmake --preset ${{matrix.os.preset}} -B ${{github.workspace}}/build

Expand Down

0 comments on commit df4524c

Please sign in to comment.