-
Notifications
You must be signed in to change notification settings - Fork 349
/
circle.yml
19 lines (19 loc) · 1.25 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dependencies:
pre:
- curl -sSL https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz | sudo tar -xzC /opt
- git clone git@github.com:sourcey/pacm.git src/pacm
- git clone git@github.com:sourcey/pluga.git src/pluga
- sudo add-apt-repository --yes ppa:kirillshkrogalev/ffmpeg-next
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install --yes libavcodec-ffmpeg-dev libavdevice-ffmpeg-dev libavfilter-ffmpeg-dev libavformat-ffmpeg-dev libswresample-ffmpeg-dev libpostproc-ffmpeg-dev
- sudo apt-get install --yes alsa-base alsa-utils libasound2 libasound2-dev
- sudo apt-get install --yes gcc-5 g++-5
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- mkdir -p /tmp/webrtc-22215-ab42706-linux-x64; curl -sSL https://github.com/sourcey/webrtc-precompiled-builds/raw/master/webrtc-22215-ab42706-linux-x64.tar.gz | sudo tar -xzC /tmp/webrtc-22215-ab42706-linux-x64
override:
- mkdir build; cd build; /opt/cmake-3.4.0-Linux-x86_64/bin/cmake .. -DWITH_FFMPEG=ON -DWITH_WEBRTC=ON -DWEBRTC_ROOT_DIR=/tmp/webrtc-22215-ab42706-linux-x64
- cd build; make; sudo make install
test:
override:
- cd build; make check