Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos build #12

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Install libcurl4-openssl-dev
run: sudo apt install -y libcurl4-openssl-dev
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: export PKG_CONFIG_PATH for MacOS
run: export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig/
if: ${{ matrix.os == 'macos-latest' }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions deps/build-transmission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ cmake \
-DENABLE_DAEMON=OFF \
-DENABLE_GTK=OFF \
-DENABLE_QT=OFF \
-DENABLE_MAC=OFF \
-DREBUILD_WEB=OFF \
-DINSTALL_WEB=OFF \
-DENABLE_UTILS=OFF \
-DENABLE_CLI=OFF \
-DENABLE_TESTS=OFF \
Expand All @@ -23,13 +26,10 @@ cmake \
-DUSE_SYSTEM_DHT=OFF \
-DUSE_SYSTEM_MINIUPNPC=OFF \
-DUSE_SYSTEM_NATPMP=OFF \
-DUSE_SYSTEM_PSL=OFF \
-DUSE_SYSTEM_UTP=OFF \
-DUSE_SYSTEM_B64=OFF \
-DUSE_SYSTEM_PSL=OFF \
-DWITH_CRYPTO=openssl \
-DWITH_INOTIFY=ON \
-DWITH_KQUEUE=OFF \
-DWITH_SYSTEMD=OFF \
..

make -j $NPROCESSORS
Expand Down