Skip to content

Commit

Permalink
add macos build action
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzziqersoftware committed Jan 4, 2022
1 parent 1516b4c commit 5a8ba57
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,23 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Install apt libraries
- name: Install libraries (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install -y libopenal-dev libsamplerate-dev

- name: Install libraries (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install libsamplerate

- name: Install phosg
run: |
git clone https://github.com/fuzziqersoftware/phosg.git
Expand Down

0 comments on commit 5a8ba57

Please sign in to comment.