mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
Add macOS build action
This commit is contained in:
parent
2bc71d3256
commit
bb744a926a
1 changed files with 26 additions and 0 deletions
26
.github/workflows/macos.yml
vendored
Normal file
26
.github/workflows/macos.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: macOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: dependencies
|
||||
run: brew update && brew install flac opus libvorbis libsoxr
|
||||
- name: cache boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: boost_1_73_0
|
||||
key: ${{ runner.os }}-boost
|
||||
- name: get boost
|
||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.bz2 && tar xjf boost_1_73_0.tar.bz2
|
||||
- name: cmake build
|
||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_73_0
|
||||
- name: cmake make
|
||||
run: cmake --build build
|
Loading…
Add table
Add a link
Reference in a new issue