1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 13:07:47 +02:00

Add macOS build.

Lots of features disabled, because I can't get it to work yet. We'll
enable features one by one as we get them to work.
This commit is contained in:
iphydf 2020-05-04 21:18:38 +01:00
parent 47591d5298
commit bdeae33d48
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -36,3 +36,25 @@ jobs:
script:
- make ENABLE_PYTHON=1 -j$(nproc)
- env: JOB=macos
os: macos
language: c
cache:
directories:
- $HOME/cache
install:
- brew install
freealut
libconfig
libqrencode
libsodium
openal-soft
- export LDFLAGS="-L/usr/local/Cellar/openal-soft/1.20.1/lib"
- git clone --depth=1 https://github.com/TokTok/c-toxcore ../c-toxcore
- test -f /usr/local/lib/libtoxcore.dylib || (cd ../c-toxcore && cmake -B_build -H. && make -C_build install -j$(nproc))
script:
- make ENABLE_PYTHON=1 DISABLE_DESKTOP_NOTIFY=1 DISABLE_X11=1 DISABLE_AV=1 DISABLE_SOUND_NOTIFY=1 -j$(nproc)