mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-08 23:40:12 +03:00
ca3ac8c11d
Signed-off-by: r4sas <r4sas@i2pmail.org>
46 lines
905 B
YAML
46 lines
905 B
YAML
name: Build on OSX
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
paths:
|
|
- .github/workflows/build-osx.yml
|
|
- daemon/**
|
|
- i18n/**
|
|
- libi2pd/**
|
|
- libi2pd_client/**
|
|
- Makefile
|
|
- Makefile.homebrew
|
|
tags:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
name: With USE_UPNP=${{ matrix.with_upnp }}
|
|
runs-on: macOS-latest
|
|
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
with_upnp: ['yes', 'no']
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install required formulae
|
|
run: |
|
|
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
|
brew update
|
|
brew install boost miniupnpc openssl@1.1
|
|
|
|
- name: List installed formulae
|
|
run: brew list
|
|
|
|
- name: Build application
|
|
run: make HOMEBREW=1 USE_UPNP=${{ matrix.with_upnp }} PREFIX=$GITHUB_WORKSPACE/output -j3
|