add osx workflow

This commit is contained in:
R4SAS 2020-11-13 19:27:08 +03:00
parent 7b23815a26
commit 8af2c413a8

20
.github/workflows/build-osx.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Build on OSX
on: [push, pull_request]
jobs:
build:
name: With USE_UPNP=${{ matrix.with_upnp }}
runs-on: macOS-latest
strategy:
fail-fast: true
matrix:
with_upnp: ['yes', 'no']
steps:
- uses: actions/checkout@v2
- name: install packages
run: |
sudo brew update
sudo brew install boost miniupnpc openssl@1.1
- name: build application
run: make HOMEBREW=1 USE_UPNP=${{ matrix.with_upnp }} -j3