1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 13:14:31 +01:00

Switched to new logic to use native Homebrew manifest for builds

This commit is contained in:
Pavel Odintsov 2022-06-17 18:27:34 +01:00
parent cd04048e37
commit 153af61c31

@ -20,10 +20,6 @@ jobs:
steps:
- checkout
- run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- run: brew install cmake boost log4cpp hiredis json-c mongo-c-driver grpc capnp openssl@3
- run: cd src && mkdir build && cd build && cmake -DENABLE_CUSTOM_BOOST_BUILD=FALSE -DDO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD=FALSE -DCMAKE_SYSTEM_INCLUDE_PATH=/usr/local/opt/openssl@3/include -DCMAKE_SYSTEM_LIBRARY_PATH=/usr/local/opt/openssl@3/lib ..
- run: cd src && cd build && make
- run: cp src/packaging/homebrew/fastnetmon.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/fastnetmon.rb
- run: brew install --build-from-source --verbose --debug fastnetmon
- run: brew audit --strict fastnetmon
build_debian_upstream_package: