i2pd/.github/workflows/build-osx.yml
R4SAS 8500aaa26f
[gha] fix MacOS build
More info: https://github.com/orgs/Homebrew/discussions/3895

Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-26 09:43:29 +03:00

22 lines
583 B
YAML

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: |
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
brew update
brew install boost miniupnpc openssl@1.1
- name: build application
run: make HOMEBREW=1 USE_UPNP=${{ matrix.with_upnp }} PREFIX=$GITHUB_WORKSPACE/output -j3