mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
34 lines
724 B
YAML
34 lines
724 B
YAML
language: c
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
before_script:
|
|
# installing libsodium, needed for Core
|
|
- git clone git://github.com/jedisct1/libsodium.git
|
|
- cd libsodium
|
|
- git checkout tags/0.4.2
|
|
- ./autogen.sh
|
|
- ./configure && make check -j3
|
|
- sudo make install
|
|
- sudo ldconfig
|
|
- cd ..
|
|
# installing libconfig, needed for DHT_bootstrap_daemon
|
|
- sudo sed -i 's/precise/quantal/' /etc/apt/sources.list # needed for libconfig-dev
|
|
- sudo apt-get update -qq
|
|
- yes | sudo apt-get install libconfig-dev
|
|
|
|
script:
|
|
- mkdir build && cd build
|
|
- cmake ..
|
|
- make -j3
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#InsertProjectNameHere"
|
|
on_success: always
|
|
on_failure: always
|