mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 23:22:31 +00:00
21 lines
719 B
YAML
21 lines
719 B
YAML
language: cpp
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
before_install:
|
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get build-dep rtorrent libtorrent-dev
|
|
|
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.7; fi
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi
|
|
|
|
# prevent `macro `AM_PATH_CPPUNIT' not found in library` in `autogen.sh`
|
|
- sudo apt-get install libcppunit-dev
|
|
|
|
- git clone https://github.com/rakshasa/libtorrent.git && cd libtorrent && ./autogen.sh && configure && make -j12 && sudo make install && cd ..
|
|
|
|
# Figure out how to fix the issue running 'make check'.
|
|
script: ./autogen.sh && ./configure && make -j12 && sudo make install
|